1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLogChain swig_types[0]
212 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
213 #define SWIGTYPE_p_wxMetafile swig_types[2]
214 #define SWIGTYPE_p_wxFileHistory swig_types[3]
215 #define SWIGTYPE_p_wxLog swig_types[4]
216 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
217 #define SWIGTYPE_p_wxMenu swig_types[6]
218 #define SWIGTYPE_p_wxEvent swig_types[7]
219 #define SWIGTYPE_p_wxConfigBase swig_types[8]
220 #define SWIGTYPE_p_wxDisplay swig_types[9]
221 #define SWIGTYPE_p_wxFileType swig_types[10]
222 #define SWIGTYPE_p_wxLogGui swig_types[11]
223 #define SWIGTYPE_p_wxFont swig_types[12]
224 #define SWIGTYPE_p_wxDataFormat swig_types[13]
225 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
226 #define SWIGTYPE_p_wxCaret swig_types[15]
227 #define SWIGTYPE_p_int swig_types[16]
228 #define SWIGTYPE_p_wxSize swig_types[17]
229 #define SWIGTYPE_p_wxClipboard swig_types[18]
230 #define SWIGTYPE_p_wxStopWatch swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
233 #define SWIGTYPE_p_wxIcon swig_types[22]
234 #define SWIGTYPE_p_wxLogStderr swig_types[23]
235 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
236 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
237 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
238 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
239 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
240 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
241 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
242 #define SWIGTYPE_p_wxDataObject swig_types[31]
243 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
244 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
245 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
246 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
247 #define SWIGTYPE_p_wxSound swig_types[36]
248 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
249 #define SWIGTYPE_p_wxLogWindow swig_types[38]
250 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
251 #define SWIGTYPE_p_wxArrayString swig_types[40]
252 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
253 #define SWIGTYPE_p_wxToolTip swig_types[42]
254 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
255 #define SWIGTYPE_p_wxFileConfig swig_types[44]
256 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
257 #define SWIGTYPE_p_wxVideoMode swig_types[46]
258 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
259 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
260 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
261 #define SWIGTYPE_p_wxRect swig_types[50]
262 #define SWIGTYPE_p_char swig_types[51]
263 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
264 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
265 #define SWIGTYPE_p_wxFrame swig_types[54]
266 #define SWIGTYPE_p_wxTimer swig_types[55]
267 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
268 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
269 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
270 #define SWIGTYPE_p_wxTipProvider swig_types[59]
271 #define SWIGTYPE_p_wxJoystick swig_types[60]
272 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
273 #define SWIGTYPE_p_wxPoint swig_types[62]
274 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
275 #define SWIGTYPE_p_wxCursor swig_types[64]
276 #define SWIGTYPE_p_wxObject swig_types[65]
277 #define SWIGTYPE_p_wxOutputStream swig_types[66]
278 #define SWIGTYPE_p_wxDateTime swig_types[67]
279 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
280 #define SWIGTYPE_p_wxWindow swig_types[69]
281 #define SWIGTYPE_p_wxString swig_types[70]
282 #define SWIGTYPE_p_wxPyProcess swig_types[71]
283 #define SWIGTYPE_p_wxBitmap swig_types[72]
284 #define SWIGTYPE_p_wxConfig swig_types[73]
285 #define SWIGTYPE_p_wxChar swig_types[74]
286 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
287 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
288 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
289 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
290 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
291 #define SWIGTYPE_p_wxPyLog swig_types[80]
292 #define SWIGTYPE_p_wxLogNull swig_types[81]
293 #define SWIGTYPE_p_wxColour swig_types[82]
294 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
295 #define SWIGTYPE_p_wxPyTimer swig_types[84]
296 #define SWIGTYPE_p_wxDateSpan swig_types[85]
297 static swig_type_info
*swig_types
[87];
299 /* -------- TYPES TABLE (END) -------- */
302 /*-----------------------------------------------
303 @(target):= _misc_.so
304 ------------------------------------------------*/
305 #define SWIG_init init_misc_
307 #define SWIG_name "_misc_"
309 /* Auxiliar swig macros that appear in the header */
311 #define SWIG_OLDOBJ 1
312 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
313 #define SWIG_PYSTR SWIG_NEWOBJ + 1
316 #define SWIGSTATICINLINE(a) static inline a
317 #define SWIGSTATIC(a) static a
318 #define swig_new_array(size,Type) (new Type[(size)])
319 #define swig_delete(cptr) delete cptr
320 #define swig_delete_array(cptr) delete[] cptr
321 #define swig_const_cast(a,Type) const_cast<Type >(a)
322 #define swig_static_cast(a,Type) static_cast<Type >(a)
323 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
324 #define swig_new_copy(ptr,Type) (new Type(*ptr))
325 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
329 #define SWIGSTATICINLINE(a) static a
330 #define SWIGSTATIC(a) static a
331 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
332 #define swig_delete(cptr) free((char*)cptr)
333 #define swig_delete_array(cptr) free((char*)cptr)
334 #define swig_const_cast(a,Type) (Type)(a)
335 #define swig_static_cast(a,Type) (Type)(a)
336 #define swig_reinterpret_cast(a,Type) (Type)(a)
337 #define swig_numeric_cast(a,Type) (Type)(a)
338 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
340 #endif /* __cplusplus */
343 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
344 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
347 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
350 #define SWIG_From_short PyInt_FromLong
352 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
353 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
356 #define SWIG_From_int PyInt_FromLong
358 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
359 #define SWIG_From_long PyInt_FromLong
361 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
362 #define SWIG_From_float PyFloat_FromDouble
364 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
365 #define SWIG_From_double PyFloat_FromDouble
369 #include "wx/wxPython/wxPython.h"
370 #include "wx/wxPython/pyclasses.h"
371 #include "wx/wxPython/pyistream.h"
373 static const wxString
wxPyEmptyString(wxEmptyString
);
380 SWIGSTATICINLINE(int)
381 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
384 if (value
< min_value
) {
386 PyErr_Format(PyExc_OverflowError
,
387 "value %ld is less than '%s' minimum %ld",
388 value
, errmsg
, min_value
);
391 } else if (value
> max_value
) {
393 PyErr_Format(PyExc_OverflowError
,
394 "value %ld is greater than '%s' maximum %ld",
395 value
, errmsg
, max_value
);
403 // See my_fragments.i
404 SWIGSTATICINLINE(int)
405 SWIG_AsVal_long(PyObject
* obj
, long* val
)
407 if (PyNumber_Check(obj
)) {
408 if (val
) *val
= PyInt_AsLong(obj
);
412 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
413 obj
->ob_type
->tp_name
);
414 PyErr_SetObject(PyExc_TypeError
, errmsg
);
421 #if INT_MAX != LONG_MAX
422 SWIGSTATICINLINE(int)
423 SWIG_AsVal_int(PyObject
*obj
, int *val
)
425 const char* errmsg
= val
? "int" : 0;
427 if (SWIG_AsVal_long(obj
, &v
)) {
428 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
429 if (val
) *val
= swig_numeric_cast(v
, int);
438 PyErr_SetString(PyExc_TypeError
, "an int is expected");
443 SWIGSTATICINLINE(int)
444 SWIG_AsVal_int(PyObject
*obj
, int *val
)
446 return SWIG_AsVal_long(obj
,(long*)val
);
451 SWIGSTATICINLINE(int)
452 SWIG_As_int(PyObject
* obj
)
455 if (!SWIG_AsVal_int(obj
, &v
)) {
457 this is needed to make valgrind/purify happier. the other
458 solution is throw an exception, but since this code should work
461 memset((void*)&v
, 0, sizeof(int));
467 SWIGSTATICINLINE(int)
468 SWIG_Check_int(PyObject
* obj
)
470 return SWIG_AsVal_int(obj
, (int*)0);
473 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
475 #include <wx/stockitem.h>
477 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
478 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
479 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
481 SWIGSTATICINLINE(long)
482 SWIG_As_long(PyObject
* obj
)
485 if (!SWIG_AsVal_long(obj
, &v
)) {
487 this is needed to make valgrind/purify happier. the other
488 solution is throw an exception, but since this code should work
491 memset((void*)&v
, 0, sizeof(long));
497 SWIGSTATICINLINE(int)
498 SWIG_Check_long(PyObject
* obj
)
500 return SWIG_AsVal_long(obj
, (long*)0);
504 SWIGSTATICINLINE(int)
505 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
507 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
508 if (obj
== Py_True
) {
509 if (val
) *val
= true;
512 if (obj
== Py_False
) {
513 if (val
) *val
= false;
517 if (SWIG_AsVal_int(obj
, &res
)) {
518 if (val
) *val
= (bool)res
;
522 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
528 SWIGSTATICINLINE(bool)
529 SWIG_As_bool(PyObject
* obj
)
532 if (!SWIG_AsVal_bool(obj
, &v
)) {
534 this is needed to make valgrind/purify happier. the other
535 solution is throw an exception, but since this code should work
538 memset((void*)&v
, 0, sizeof(bool));
544 SWIGSTATICINLINE(int)
545 SWIG_Check_bool(PyObject
* obj
)
547 return SWIG_AsVal_bool(obj
, (bool*)0);
551 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
557 } else if (target
== Py_None
) {
561 if (!PyTuple_Check(target
)) {
563 target
= PyTuple_New(1);
564 PyTuple_SetItem(target
, 0, o2
);
567 PyTuple_SetItem(o3
, 0, o
);
570 target
= PySequence_Concat(o2
, o3
);
579 // See my_fragments.i
580 SWIGSTATICINLINE(int)
581 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
584 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
585 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
589 *val
= (unsigned long)v
;
594 SWIGSTATICINLINE(unsigned long)
595 SWIG_As_unsigned_SS_long(PyObject
* obj
)
598 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
600 this is needed to make valgrind/purify happier. the other
601 solution is throw an exception, but since this code should work
604 memset((void*)&v
, 0, sizeof(unsigned long));
610 SWIGSTATICINLINE(int)
611 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
613 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
617 SWIGSTATICINLINE(PyObject
* )
618 SWIG_From_unsigned_SS_long(unsigned long value
)
620 return (value
> LONG_MAX
) ?
621 PyLong_FromUnsignedLong(value
)
622 : PyInt_FromLong(swig_numeric_cast(value
,long));
626 bool wxThread_IsMain() {
627 #ifdef WXP_WITH_THREAD
628 return wxThread::IsMain();
635 int wxCaret_GetBlinkTime() {
636 return wxCaret::GetBlinkTime();
639 void wxCaret_SetBlinkTime(int milliseconds
) {
640 wxCaret::SetBlinkTime(milliseconds
);
644 #include <wx/snglinst.h>
648 #include <wx/msw/private.h>
649 #include <wx/dynload.h>
654 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
661 // This one only partially works. Appears to be an undocumented
662 // "standard" convention that not all widgets adhear to. For
663 // example, for some widgets backgrounds or non-client areas may
665 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
669 // This one works much better, except for on XP. On Win2k nearly
670 // all widgets and their children are captured correctly[**]. On
671 // XP with Themes activated most native widgets draw only
672 // partially, if at all. Without themes it works just like on
675 // ** For example the radio buttons in a wxRadioBox are not its
676 // children by default, but you can capture it via the panel
677 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
678 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
679 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
680 PRF_ERASEBKGND
| PRF_OWNED
);
684 // This one is only defined in the latest SDK and is only
685 // available on XP. MSDN says it is similar to sending WM_PRINT
686 // so I expect that it will work similar to the above. Since it
687 // is avaialble only on XP, it can't be compiled like this and
688 // will have to be loaded dynamically.
689 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
694 // Use PrintWindow if available, or fallback to WM_PRINT
695 // otherwise. Unfortunately using PrintWindow is even worse than
696 // WM_PRINT. For most native widgets nothing is drawn to the dc
697 // at all, with or without Themes.
698 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
699 static bool s_triedToLoad
= false;
700 static PrintWindow_t pfnPrintWindow
= NULL
;
701 if ( !s_triedToLoad
)
704 s_triedToLoad
= true;
705 wxDynamicLibrary
dllUser32(_T("user32.dll"));
706 if ( dllUser32
.IsLoaded() )
708 wxLogNull nolog
; // Don't report errors here
709 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
714 printf("Using PrintWindow\n");
715 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
719 printf("Using WM_PRINT\n");
720 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
721 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
729 #include <wx/tipdlg.h>
732 class wxPyTipProvider
: public wxTipProvider
{
734 wxPyTipProvider(size_t currentTip
)
735 : wxTipProvider(currentTip
) {}
737 DEC_PYCALLBACK_STRING__pure(GetTip
);
738 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
742 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
743 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
746 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
748 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
750 void wxPyTimer::Notify() {
752 bool blocked
= wxPyBeginBlockThreads();
753 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
754 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
755 wxPyEndBlockThreads(blocked
);
759 void wxPyTimer::base_Notify() {
765 SWIGSTATICINLINE(PyObject
*)
766 SWIG_FromCharPtr(const char* cptr
)
769 size_t size
= strlen(cptr
);
770 if (size
> INT_MAX
) {
771 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
772 SWIG_TypeQuery("char *"), 0);
775 return PyString_FromStringAndSize(cptr
, size
);
777 return PyString_FromString(cptr
);
786 SWIGSTATICINLINE(int)
787 SWIG_CheckUnsignedLongInRange(unsigned long value
,
788 unsigned long max_value
,
791 if (value
> max_value
) {
793 PyErr_Format(PyExc_OverflowError
,
794 "value %ld is greater than '%s' minimum %ld",
795 value
, errmsg
, max_value
);
803 #if UINT_MAX != ULONG_MAX
804 SWIGSTATICINLINE(int)
805 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
807 const char* errmsg
= val
? "unsigned int" : 0;
809 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
810 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
811 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
818 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
823 SWIGSTATICINLINE(unsigned int)
824 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
826 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
831 SWIGSTATICINLINE(unsigned int)
832 SWIG_As_unsigned_SS_int(PyObject
* obj
)
835 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
837 this is needed to make valgrind/purify happier. the other
838 solution is throw an exception, but since this code should work
841 memset((void*)&v
, 0, sizeof(unsigned int));
847 SWIGSTATICINLINE(int)
848 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
850 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
853 wxString
Log_TimeStamp(){
855 wxLog::TimeStamp(&msg
);
858 void wxLog_Destroy(wxLog
*self
){ delete self
; }
860 // A wxLog class that can be derived from in wxPython
861 class wxPyLog
: public wxLog
{
863 wxPyLog() : wxLog() {}
865 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
867 bool blocked
= wxPyBeginBlockThreads();
868 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
869 PyObject
* s
= wx2PyString(szString
);
870 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
873 wxPyEndBlockThreads(blocked
);
875 wxLog::DoLog(level
, szString
, t
);
878 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
880 bool blocked
= wxPyBeginBlockThreads();
881 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
882 PyObject
* s
= wx2PyString(szString
);
883 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
886 wxPyEndBlockThreads(blocked
);
888 wxLog::DoLogString(szString
, t
);
897 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
900 #include <wx/joystick.h>
903 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
904 // A C++ stub class for wxJoystick for platforms that don't have it.
905 class wxJoystick
: public wxObject
{
907 wxJoystick(int joystick
= wxJOYSTICK1
) {
908 bool blocked
= wxPyBeginBlockThreads();
909 PyErr_SetString(PyExc_NotImplementedError
,
910 "wxJoystick is not available on this platform.");
911 wxPyEndBlockThreads(blocked
);
913 wxPoint
GetPosition() { return wxPoint(-1,-1); }
914 int GetZPosition() { return -1; }
915 int GetButtonState() { return -1; }
916 int GetPOVPosition() { return -1; }
917 int GetPOVCTSPosition() { return -1; }
918 int GetRudderPosition() { return -1; }
919 int GetUPosition() { return -1; }
920 int GetVPosition() { return -1; }
921 int GetMovementThreshold() { return -1; }
922 void SetMovementThreshold(int threshold
) {}
924 bool IsOk(void) { return false; }
925 int GetNumberJoysticks() { return -1; }
926 int GetManufacturerId() { return -1; }
927 int GetProductId() { return -1; }
928 wxString
GetProductName() { return wxEmptyString
; }
929 int GetXMin() { return -1; }
930 int GetYMin() { return -1; }
931 int GetZMin() { return -1; }
932 int GetXMax() { return -1; }
933 int GetYMax() { return -1; }
934 int GetZMax() { return -1; }
935 int GetNumberButtons() { return -1; }
936 int GetNumberAxes() { return -1; }
937 int GetMaxButtons() { return -1; }
938 int GetMaxAxes() { return -1; }
939 int GetPollingMin() { return -1; }
940 int GetPollingMax() { return -1; }
941 int GetRudderMin() { return -1; }
942 int GetRudderMax() { return -1; }
943 int GetUMin() { return -1; }
944 int GetUMax() { return -1; }
945 int GetVMin() { return -1; }
946 int GetVMax() { return -1; }
948 bool HasRudder() { return false; }
949 bool HasZ() { return false; }
950 bool HasU() { return false; }
951 bool HasV() { return false; }
952 bool HasPOV() { return false; }
953 bool HasPOV4Dir() { return false; }
954 bool HasPOVCTS() { return false; }
956 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
957 bool ReleaseCapture() { return false; }
962 #include <wx/sound.h>
966 // A C++ stub class for wxWave for platforms that don't have it.
967 class wxSound
: public wxObject
971 bool blocked
= wxPyBeginBlockThreads();
972 PyErr_SetString(PyExc_NotImplementedError
,
973 "wxSound is not available on this platform.");
974 wxPyEndBlockThreads(blocked
);
976 wxSound(const wxString
&/*, bool*/) {
977 bool blocked
= wxPyBeginBlockThreads();
978 PyErr_SetString(PyExc_NotImplementedError
,
979 "wxSound is not available on this platform.");
980 wxPyEndBlockThreads(blocked
);
982 wxSound(int, const wxByte
*) {
983 bool blocked
= wxPyBeginBlockThreads();
984 PyErr_SetString(PyExc_NotImplementedError
,
985 "wxSound is not available on this platform.");
986 wxPyEndBlockThreads(blocked
);
991 bool Create(const wxString
&/*, bool*/) { return false; }
992 bool Create(int, const wxByte
*) { return false; };
993 bool IsOk() { return false; };
994 bool Play(unsigned) const { return false; }
995 static bool Play(const wxString
&, unsigned) { return false; }
996 static void Stop() {}
1001 wxSound
*new_wxSound(wxString
const &fileName
){
1002 if (fileName
.Length() == 0)
1005 return new wxSound(fileName
);
1007 wxSound
*new_wxSound(PyObject
*data
){
1008 unsigned char* buffer
; int size
;
1009 wxSound
*sound
= NULL
;
1011 bool blocked
= wxPyBeginBlockThreads();
1012 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1014 sound
= new wxSound(size
, buffer
);
1016 wxPyEndBlockThreads(blocked
);
1019 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1021 unsigned char* buffer
;
1025 bool blocked
= wxPyBeginBlockThreads();
1026 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1028 rv
= self
->Create(size
, buffer
);
1030 wxPyEndBlockThreads(blocked
);
1033 bool blocked
= wxPyBeginBlockThreads();
1034 PyErr_SetString(PyExc_NotImplementedError
,
1035 "Create from data is not available on this platform.");
1036 wxPyEndBlockThreads(blocked
);
1040 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
1042 #include <wx/mimetype.h>
1044 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1046 if (self
->GetMimeType(&str
))
1047 return wx2PyString(str
);
1051 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1053 if (self
->GetMimeTypes(arr
))
1054 return wxArrayString2PyList_helper(arr
);
1058 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1060 if (self
->GetExtensions(arr
))
1061 return wxArrayString2PyList_helper(arr
);
1065 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1067 if (self
->GetIcon(&loc
))
1068 return new wxIcon(loc
);
1072 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1074 if (self
->GetIcon(&loc
)) {
1075 wxString iconFile
= loc
.GetFileName();
1080 // Make a tuple and put the values in it
1081 bool blocked
= wxPyBeginBlockThreads();
1082 PyObject
* tuple
= PyTuple_New(3);
1083 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1084 wxT("wxIcon"), true));
1085 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1086 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1087 wxPyEndBlockThreads(blocked
);
1093 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1095 if (self
->GetDescription(&str
))
1096 return wx2PyString(str
);
1100 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1102 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1103 return wx2PyString(str
);
1107 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1109 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1110 return wx2PyString(str
);
1114 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1115 wxArrayString verbs
;
1116 wxArrayString commands
;
1117 if (self
->GetAllCommands(&verbs
, &commands
,
1118 wxFileType::MessageParameters(filename
, mimetype
))) {
1119 bool blocked
= wxPyBeginBlockThreads();
1120 PyObject
* tuple
= PyTuple_New(2);
1121 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1122 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1123 wxPyEndBlockThreads(blocked
);
1129 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1130 return wxFileType::ExpandCommand(command
,
1131 wxFileType::MessageParameters(filename
, mimetype
));
1133 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1135 self
->EnumAllFileTypes(arr
);
1136 return wxArrayString2PyList_helper(arr
);
1139 #include <wx/artprov.h>
1141 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1142 static const wxString
wxPyART_MENU(wxART_MENU
);
1143 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1144 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1145 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1146 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1147 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1148 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1149 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1150 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1151 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1152 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1153 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1154 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1155 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1156 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1157 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1158 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1159 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1160 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1161 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1162 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1163 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1164 static const wxString
wxPyART_HELP(wxART_HELP
);
1165 static const wxString
wxPyART_TIP(wxART_TIP
);
1166 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1167 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1168 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1169 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1170 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1171 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1172 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1173 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1174 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1175 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1176 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1177 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1178 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1179 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1180 // Python aware wxArtProvider
1181 class wxPyArtProvider
: public wxArtProvider
{
1184 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1185 const wxArtClient
& client
,
1186 const wxSize
& size
) {
1187 wxBitmap rval
= wxNullBitmap
;
1188 bool blocked
= wxPyBeginBlockThreads();
1189 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1190 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1194 s1
= wx2PyString(id
);
1195 s2
= wx2PyString(client
);
1196 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1201 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1206 wxPyEndBlockThreads(blocked
);
1213 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1217 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1218 PyObject
* ret
= PyTuple_New(3);
1220 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1221 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1222 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1227 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1232 cont
= self
->GetFirstGroup(value
, index
);
1233 return __EnumerationHelper(cont
, value
, index
);
1235 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1239 cont
= self
->GetNextGroup(value
, index
);
1240 return __EnumerationHelper(cont
, value
, index
);
1242 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1247 cont
= self
->GetFirstEntry(value
, index
);
1248 return __EnumerationHelper(cont
, value
, index
);
1250 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1254 cont
= self
->GetNextEntry(value
, index
);
1255 return __EnumerationHelper(cont
, value
, index
);
1257 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1259 self
->Read(key
, &rv
, defaultVal
);
1263 // See my_fragments.i
1264 SWIGSTATICINLINE(int)
1265 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1267 if (PyNumber_Check(obj
)) {
1268 if (val
) *val
= PyFloat_AsDouble(obj
);
1272 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1273 obj
->ob_type
->tp_name
);
1274 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1281 SWIGSTATICINLINE(double)
1282 SWIG_As_double(PyObject
* obj
)
1285 if (!SWIG_AsVal_double(obj
, &v
)) {
1287 this is needed to make valgrind/purify happier. the other
1288 solution is throw an exception, but since this code should work
1291 memset((void*)&v
, 0, sizeof(double));
1297 SWIGSTATICINLINE(int)
1298 SWIG_Check_double(PyObject
* obj
)
1300 return SWIG_AsVal_double(obj
, (double*)0);
1303 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1305 self
->Read(key
, &rv
, defaultVal
);
1308 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1310 self
->Read(key
, &rv
, defaultVal
);
1314 #include <wx/datetime.h>
1317 static const wxString
wxPyDateFormatStr(wxT("%c"));
1318 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1320 #define LOCAL_TZ wxDateTime::Local
1323 #if UINT_MAX < LONG_MAX
1324 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1325 #define SWIG_From_unsigned_SS_int SWIG_From_long
1328 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1329 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1333 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1334 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1335 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1336 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1337 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1338 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1339 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1340 return (*self
< *other
);
1342 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1343 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1344 return (*self
<= *other
);
1346 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1347 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1348 return (*self
> *other
);
1350 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1351 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1352 return (*self
>= *other
);
1354 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1355 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1356 return (*self
== *other
);
1358 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1359 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1360 return (*self
!= *other
);
1362 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1364 const wxChar
* _date
= date
;
1365 rv
= self
->ParseRfc822Date(_date
);
1366 if (rv
== NULL
) return -1;
1369 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1371 const wxChar
* _date
= date
;
1372 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1373 if (rv
== NULL
) return -1;
1376 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1378 const wxChar
* _datetime
= datetime
;
1379 rv
= self
->ParseDateTime(_datetime
);
1380 if (rv
== NULL
) return -1;
1381 return rv
- _datetime
;
1383 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1385 const wxChar
* _date
= date
;
1386 rv
= self
->ParseDate(_date
);
1387 if (rv
== NULL
) return -1;
1390 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1392 const wxChar
* _time
= time
;
1393 rv
= self
->ParseTime(_time
);
1394 if (rv
== NULL
) return -1;
1397 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1398 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1399 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1400 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1401 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1402 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1403 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1404 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1405 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1406 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1407 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1408 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1409 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1410 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1411 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1412 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1414 #include <wx/dataobj.h>
1416 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1417 size_t count
= self
->GetFormatCount(dir
);
1418 wxDataFormat
* formats
= new wxDataFormat
[count
];
1419 self
->GetAllFormats(formats
, dir
);
1421 bool blocked
= wxPyBeginBlockThreads();
1422 PyObject
* list
= PyList_New(count
);
1423 for (size_t i
=0; i
<count
; i
++) {
1424 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1425 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1426 PyList_Append(list
, obj
);
1429 wxPyEndBlockThreads(blocked
);
1433 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1434 PyObject
* rval
= NULL
;
1435 size_t size
= self
->GetDataSize(format
);
1436 bool blocked
= wxPyBeginBlockThreads();
1438 char* buf
= new char[size
];
1439 if (self
->GetDataHere(format
, buf
))
1440 rval
= PyString_FromStringAndSize(buf
, size
);
1447 wxPyEndBlockThreads(blocked
);
1450 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1452 bool blocked
= wxPyBeginBlockThreads();
1453 if (PyString_Check(data
)) {
1454 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1457 // raise a TypeError if not a string
1458 PyErr_SetString(PyExc_TypeError
, "String expected.");
1461 wxPyEndBlockThreads(blocked
);
1464 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1465 PyObject
* rval
= NULL
;
1466 size_t size
= self
->GetDataSize();
1467 bool blocked
= wxPyBeginBlockThreads();
1469 char* buf
= new char[size
];
1470 if (self
->GetDataHere(buf
))
1471 rval
= PyString_FromStringAndSize(buf
, size
);
1478 wxPyEndBlockThreads(blocked
);
1481 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1483 bool blocked
= wxPyBeginBlockThreads();
1484 if (PyString_Check(data
)) {
1485 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1488 // raise a TypeError if not a string
1489 PyErr_SetString(PyExc_TypeError
, "String expected.");
1492 wxPyEndBlockThreads(blocked
);
1495 // Create a new class for wxPython to use
1496 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1498 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1499 : wxDataObjectSimple(format
) {}
1501 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1502 bool GetDataHere(void *buf
) const;
1503 bool SetData(size_t len
, const void *buf
) const;
1507 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1509 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1510 // We need to get the data for this object and write it to buf. I think
1511 // the best way to do this for wxPython is to have the Python method
1512 // return either a string or None and then act appropriately with the
1516 bool blocked
= wxPyBeginBlockThreads();
1517 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1519 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1521 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1523 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1527 wxPyEndBlockThreads(blocked
);
1531 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1532 // For this one we simply need to make a string from buf and len
1533 // and send it to the Python method.
1535 bool blocked
= wxPyBeginBlockThreads();
1536 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1537 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1538 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1541 wxPyEndBlockThreads(blocked
);
1545 // Create a new class for wxPython to use
1546 class wxPyTextDataObject
: public wxTextDataObject
{
1548 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1549 : wxTextDataObject(text
) {}
1551 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1552 DEC_PYCALLBACK_STRING__const(GetText
);
1553 DEC_PYCALLBACK__STRING(SetText
);
1557 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1558 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1559 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1562 // Create a new class for wxPython to use
1563 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1565 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1566 : wxBitmapDataObject(bitmap
) {}
1568 wxBitmap
GetBitmap() const;
1569 void SetBitmap(const wxBitmap
& bitmap
);
1573 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1574 wxBitmap
* rval
= &wxNullBitmap
;
1575 bool blocked
= wxPyBeginBlockThreads();
1576 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1579 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1581 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1586 wxPyEndBlockThreads(blocked
);
1590 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1591 bool blocked
= wxPyBeginBlockThreads();
1592 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1593 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1594 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1597 wxPyEndBlockThreads(blocked
);
1600 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1602 bool blocked
= wxPyBeginBlockThreads();
1603 if (PyString_Check(data
)) {
1604 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1607 // raise a TypeError if not a string
1608 PyErr_SetString(PyExc_TypeError
, "String expected.");
1611 wxPyEndBlockThreads(blocked
);
1614 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1616 bool blocked
= wxPyBeginBlockThreads();
1617 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1618 wxPyEndBlockThreads(blocked
);
1622 #include <wx/metafile.h>
1625 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1628 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1629 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1630 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1631 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1632 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1635 class wxPyTextDropTarget
: public wxTextDropTarget
{
1637 wxPyTextDropTarget() {}
1639 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1641 DEC_PYCALLBACK__(OnLeave
);
1642 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1643 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1644 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1645 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1650 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1651 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1652 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1653 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1654 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1655 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1659 class wxPyFileDropTarget
: public wxFileDropTarget
{
1661 wxPyFileDropTarget() {}
1663 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1665 DEC_PYCALLBACK__(OnLeave
);
1666 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1667 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1668 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1669 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1674 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1675 const wxArrayString
& filenames
) {
1677 bool blocked
= wxPyBeginBlockThreads();
1678 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1679 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1680 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1683 wxPyEndBlockThreads(blocked
);
1689 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1690 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1691 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1692 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1693 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1698 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1700 #include <wx/display.h>
1702 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1703 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1705 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1707 #include <wx/dynarray.h>
1708 #include <wx/vidmode.h>
1710 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1711 #include "wx/arrimpl.cpp"
1712 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1713 const wxVideoMode wxDefaultVideoMode
;
1718 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1721 static size_t GetCount()
1722 { wxPyRaiseNotImplemented(); return 0; }
1724 static int GetFromPoint(const wxPoint
& pt
)
1725 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1726 static int GetFromWindow(wxWindow
*window
)
1727 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1729 virtual bool IsOk() const { return false; }
1730 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1731 virtual wxString
GetName() const { return wxEmptyString
; }
1732 bool IsPrimary() const { return false; }
1734 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1735 { wxArrayVideoModes a
; return a
; }
1737 virtual wxVideoMode
GetCurrentMode() const
1738 { return wxDefaultVideoMode
; }
1740 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1747 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1748 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1749 PyObject
* pyList
= NULL
;
1750 wxArrayVideoModes arr
= self
->GetModes(mode
);
1751 bool blocked
= wxPyBeginBlockThreads();
1752 pyList
= PyList_New(0);
1753 for (int i
=0; i
< arr
.GetCount(); i
++) {
1754 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1755 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1756 PyList_Append(pyList
, pyObj
);
1759 wxPyEndBlockThreads(blocked
);
1765 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1769 PyObject
* obj0
= 0 ;
1771 (char *) "index", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1775 arg1
= (int)SWIG_As_int(obj0
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1778 if (!wxPyCheckForApp()) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1786 wxColour
* resultptr
;
1787 resultptr
= new wxColour((wxColour
&) result
);
1788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1796 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
*resultobj
;
1800 PyObject
* obj0
= 0 ;
1802 (char *) "index", NULL
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1806 arg1
= (int)SWIG_As_int(obj0
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 if (!wxPyCheckForApp()) SWIG_fail
;
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1818 resultptr
= new wxFont((wxFont
&) result
);
1819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1827 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
*resultobj
;
1831 PyObject
* obj0
= 0 ;
1833 (char *) "index", NULL
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1837 arg1
= (int)SWIG_As_int(obj0
);
1838 if (PyErr_Occurred()) SWIG_fail
;
1840 if (!wxPyCheckForApp()) SWIG_fail
;
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1842 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1847 resultobj
= SWIG_From_int((int)result
);
1854 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
*resultobj
;
1858 PyObject
* obj0
= 0 ;
1860 (char *) "index", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1864 arg1
= (int)SWIG_As_int(obj0
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1867 if (!wxPyCheckForApp()) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1883 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
*resultobj
;
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1892 if (!wxPyCheckForApp()) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 result
= (int)wxSystemSettings::GetScreenType();
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1899 resultobj
= SWIG_From_int((int)result
);
1906 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1909 PyObject
* obj0
= 0 ;
1911 (char *) "screen", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1915 arg1
= (int)SWIG_As_int(obj0
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1918 if (!wxPyCheckForApp()) SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 Py_INCREF(Py_None
); resultobj
= Py_None
;
1932 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1935 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1937 return Py_BuildValue((char *)"");
1939 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
1940 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
1945 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
1950 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1952 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1959 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxSystemOptions
*result
;
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 result
= (wxSystemOptions
*)new wxSystemOptions();
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1981 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1983 wxString
*arg1
= 0 ;
1984 wxString
*arg2
= 0 ;
1985 bool temp1
= false ;
1986 bool temp2
= false ;
1987 PyObject
* obj0
= 0 ;
1988 PyObject
* obj1
= 0 ;
1990 (char *) "name",(char *) "value", NULL
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1995 arg1
= wxString_in_helper(obj0
);
1996 if (arg1
== NULL
) SWIG_fail
;
2000 arg2
= wxString_in_helper(obj1
);
2001 if (arg2
== NULL
) SWIG_fail
;
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) SWIG_fail
;
2011 Py_INCREF(Py_None
); resultobj
= Py_None
;
2034 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxString
*arg1
= 0 ;
2038 bool temp1
= false ;
2039 PyObject
* obj0
= 0 ;
2040 PyObject
* obj1
= 0 ;
2042 (char *) "name",(char *) "value", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2047 arg1
= wxString_in_helper(obj0
);
2048 if (arg1
== NULL
) SWIG_fail
;
2051 arg2
= (int)SWIG_As_int(obj1
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2060 Py_INCREF(Py_None
); resultobj
= Py_None
;
2075 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2077 wxString
*arg1
= 0 ;
2079 bool temp1
= false ;
2080 PyObject
* obj0
= 0 ;
2082 (char *) "name", NULL
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2087 arg1
= wxString_in_helper(obj0
);
2088 if (arg1
== NULL
) SWIG_fail
;
2092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2095 wxPyEndAllowThreads(__tstate
);
2096 if (PyErr_Occurred()) SWIG_fail
;
2100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2119 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxString
*arg1
= 0 ;
2123 bool temp1
= false ;
2124 PyObject
* obj0
= 0 ;
2126 (char *) "name", NULL
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2131 arg1
= wxString_in_helper(obj0
);
2132 if (arg1
== NULL
) SWIG_fail
;
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 resultobj
= SWIG_From_int((int)result
);
2157 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
*resultobj
;
2159 wxString
*arg1
= 0 ;
2161 bool temp1
= false ;
2162 PyObject
* obj0
= 0 ;
2164 (char *) "name", NULL
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2169 arg1
= wxString_in_helper(obj0
);
2170 if (arg1
== NULL
) SWIG_fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2197 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2200 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2202 return Py_BuildValue((char *)"");
2204 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2205 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2210 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2215 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2217 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2224 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2225 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2230 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2235 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2237 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2244 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2245 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2250 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2255 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2257 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2264 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= (long)wxNewId();
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= SWIG_From_long((long)result
);
2286 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2289 PyObject
* obj0
= 0 ;
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2295 arg1
= (long)SWIG_As_long(obj0
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 Py_INCREF(Py_None
); resultobj
= Py_None
;
2311 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 result
= (long)wxGetCurrentId();
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2326 resultobj
= SWIG_From_long((long)result
);
2333 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
;
2337 PyObject
* obj0
= 0 ;
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2343 arg1
= (int)SWIG_As_int(obj0
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 result
= (bool)wxIsStockID(arg1
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2361 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
*resultobj
;
2364 wxString
*arg2
= 0 ;
2366 bool temp2
= false ;
2367 PyObject
* obj0
= 0 ;
2368 PyObject
* obj1
= 0 ;
2370 (char *) "id",(char *) "label", NULL
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2374 arg1
= (int)SWIG_As_int(obj0
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2377 arg2
= wxString_in_helper(obj1
);
2378 if (arg2
== NULL
) SWIG_fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2405 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
*resultobj
;
2409 PyObject
* obj0
= 0 ;
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2415 arg1
= (int)SWIG_As_int(obj0
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2419 result
= wxGetStockLabel(arg1
);
2421 wxPyEndAllowThreads(__tstate
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2437 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
*resultobj
;
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2445 if (!wxPyCheckForApp()) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 Py_INCREF(Py_None
); resultobj
= Py_None
;
2459 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
*resultobj
;
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2467 if (!wxPyCheckForApp()) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 Py_INCREF(Py_None
); resultobj
= Py_None
;
2481 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2483 bool arg1
= (bool) true ;
2485 PyObject
* obj0
= 0 ;
2487 (char *) "resetTimer", NULL
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2492 arg1
= (bool)SWIG_As_bool(obj0
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 result
= (long)wxGetElapsedTime(arg1
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2502 resultobj
= SWIG_From_long((long)result
);
2509 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2511 int *arg1
= (int *) 0 ;
2512 int *arg2
= (int *) 0 ;
2521 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2522 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2525 if (!wxPyCheckForApp()) SWIG_fail
;
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 wxGetMousePosition(arg1
,arg2
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2532 Py_INCREF(Py_None
); resultobj
= Py_None
;
2533 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2534 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2535 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2536 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2543 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
*resultobj
;
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 result
= (bool)wxIsBusy();
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2567 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2595 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
*resultobj
;
2597 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2598 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2600 bool temp1
= false ;
2601 PyObject
* obj0
= 0 ;
2603 (char *) "command", NULL
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2609 arg1
= wxString_in_helper(obj0
);
2610 if (arg1
== NULL
) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 result
= (bool)wxShell((wxString
const &)*arg1
);
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2638 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2652 Py_INCREF(Py_None
); resultobj
= Py_None
;
2659 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2661 int *arg1
= (int *) 0 ;
2662 int *arg2
= (int *) 0 ;
2672 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2673 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 result
= (int)wxGetOsVersion(arg1
,arg2
);
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= SWIG_From_int((int)result
);
2683 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2684 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2685 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2686 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2693 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2703 result
= wxGetOsDescription();
2705 wxPyEndAllowThreads(__tstate
);
2706 if (PyErr_Occurred()) SWIG_fail
;
2710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2721 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (long)wxGetFreeMemory();
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 resultobj
= SWIG_From_long((long)result
);
2743 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2747 PyObject
* obj0
= 0 ;
2749 (char *) "wFlags", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2753 arg1
= (int)SWIG_As_int(obj0
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2756 if (!wxPyCheckForApp()) SWIG_fail
;
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) SWIG_fail
;
2764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2772 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2773 PyObject
*resultobj
;
2775 PyObject
* obj0
= 0 ;
2777 (char *) "secs", NULL
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2781 arg1
= (int)SWIG_As_int(obj0
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2790 Py_INCREF(Py_None
); resultobj
= Py_None
;
2797 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
*resultobj
;
2799 unsigned long arg1
;
2800 PyObject
* obj0
= 0 ;
2802 (char *) "milliseconds", NULL
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2806 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2815 Py_INCREF(Py_None
); resultobj
= Py_None
;
2822 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
*resultobj
;
2824 unsigned long arg1
;
2825 PyObject
* obj0
= 0 ;
2827 (char *) "microseconds", NULL
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2831 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2840 Py_INCREF(Py_None
); resultobj
= Py_None
;
2847 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2850 PyObject
* obj0
= 0 ;
2852 (char *) "enable", NULL
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2856 arg1
= (bool)SWIG_As_bool(obj0
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 wxEnableTopLevelWindows(arg1
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 Py_INCREF(Py_None
); resultobj
= Py_None
;
2872 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 wxString
*arg1
= 0 ;
2876 bool temp1
= false ;
2877 PyObject
* obj0
= 0 ;
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2884 arg1
= wxString_in_helper(obj0
);
2885 if (arg1
== NULL
) SWIG_fail
;
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2916 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= wxGetEmailAddress();
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2944 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 result
= wxGetHostName();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2972 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 result
= wxGetFullHostName();
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3000 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 result
= wxGetUserId();
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3028 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 result
= wxGetUserName();
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3056 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 result
= wxGetHomeDir();
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3084 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3086 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3087 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3089 bool temp1
= false ;
3090 PyObject
* obj0
= 0 ;
3092 (char *) "user", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3098 arg1
= wxString_in_helper(obj0
);
3099 if (arg1
== NULL
) SWIG_fail
;
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 result
= wxGetUserHome((wxString
const &)*arg1
);
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3131 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 unsigned long result
;
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 result
= (unsigned long)wxGetProcessId();
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3146 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3153 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 Py_INCREF(Py_None
); resultobj
= Py_None
;
3174 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3177 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3178 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3179 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3180 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3181 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3182 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3183 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3184 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3185 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3186 int arg6
= (int) 0 ;
3187 wxWindow
*arg7
= (wxWindow
*) NULL
;
3188 int arg8
= (int) -1 ;
3189 int arg9
= (int) -1 ;
3191 bool temp1
= false ;
3192 bool temp2
= false ;
3193 bool temp3
= false ;
3194 bool temp4
= false ;
3195 bool temp5
= false ;
3196 PyObject
* obj0
= 0 ;
3197 PyObject
* obj1
= 0 ;
3198 PyObject
* obj2
= 0 ;
3199 PyObject
* obj3
= 0 ;
3200 PyObject
* obj4
= 0 ;
3201 PyObject
* obj5
= 0 ;
3202 PyObject
* obj6
= 0 ;
3203 PyObject
* obj7
= 0 ;
3204 PyObject
* obj8
= 0 ;
3206 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3212 arg1
= wxString_in_helper(obj0
);
3213 if (arg1
== NULL
) SWIG_fail
;
3219 arg2
= wxString_in_helper(obj1
);
3220 if (arg2
== NULL
) SWIG_fail
;
3226 arg3
= wxString_in_helper(obj2
);
3227 if (arg3
== NULL
) SWIG_fail
;
3233 arg4
= wxString_in_helper(obj3
);
3234 if (arg4
== NULL
) SWIG_fail
;
3240 arg5
= wxString_in_helper(obj4
);
3241 if (arg5
== NULL
) SWIG_fail
;
3246 arg6
= (int)SWIG_As_int(obj5
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3250 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3254 arg8
= (int)SWIG_As_int(obj7
);
3255 if (PyErr_Occurred()) SWIG_fail
;
3258 arg9
= (int)SWIG_As_int(obj8
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3262 if (!wxPyCheckForApp()) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3322 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
*resultobj
;
3324 wxString
*arg1
= 0 ;
3325 wxString
*arg2
= 0 ;
3326 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3327 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3328 wxWindow
*arg4
= (wxWindow
*) NULL
;
3330 bool temp1
= false ;
3331 bool temp2
= false ;
3332 bool temp3
= false ;
3333 PyObject
* obj0
= 0 ;
3334 PyObject
* obj1
= 0 ;
3335 PyObject
* obj2
= 0 ;
3336 PyObject
* obj3
= 0 ;
3338 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3343 arg1
= wxString_in_helper(obj0
);
3344 if (arg1
== NULL
) SWIG_fail
;
3348 arg2
= wxString_in_helper(obj1
);
3349 if (arg2
== NULL
) SWIG_fail
;
3354 arg3
= wxString_in_helper(obj2
);
3355 if (arg3
== NULL
) SWIG_fail
;
3360 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3364 if (!wxPyCheckForApp()) SWIG_fail
;
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3408 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxString
*arg1
= 0 ;
3411 wxString
*arg2
= 0 ;
3412 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3413 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3414 wxWindow
*arg4
= (wxWindow
*) NULL
;
3416 bool temp1
= false ;
3417 bool temp2
= false ;
3418 bool temp3
= false ;
3419 PyObject
* obj0
= 0 ;
3420 PyObject
* obj1
= 0 ;
3421 PyObject
* obj2
= 0 ;
3422 PyObject
* obj3
= 0 ;
3424 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3429 arg1
= wxString_in_helper(obj0
);
3430 if (arg1
== NULL
) SWIG_fail
;
3434 arg2
= wxString_in_helper(obj1
);
3435 if (arg2
== NULL
) SWIG_fail
;
3440 arg3
= wxString_in_helper(obj2
);
3441 if (arg3
== NULL
) SWIG_fail
;
3446 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3450 if (!wxPyCheckForApp()) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3494 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
*resultobj
;
3496 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3497 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3498 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3499 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3500 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3501 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3502 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3503 wxWindow
*arg5
= (wxWindow
*) NULL
;
3505 bool temp1
= false ;
3506 bool temp2
= false ;
3508 PyObject
* obj0
= 0 ;
3509 PyObject
* obj1
= 0 ;
3510 PyObject
* obj2
= 0 ;
3511 PyObject
* obj3
= 0 ;
3512 PyObject
* obj4
= 0 ;
3514 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3520 arg1
= wxString_in_helper(obj0
);
3521 if (arg1
== NULL
) SWIG_fail
;
3527 arg2
= wxString_in_helper(obj1
);
3528 if (arg2
== NULL
) SWIG_fail
;
3533 arg3
= (long)SWIG_As_long(obj2
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3543 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3547 if (!wxPyCheckForApp()) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3583 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxString
*arg1
= 0 ;
3586 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3587 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3588 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3589 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3590 wxWindow
*arg4
= (wxWindow
*) NULL
;
3591 int arg5
= (int) -1 ;
3592 int arg6
= (int) -1 ;
3593 bool arg7
= (bool) true ;
3595 bool temp1
= false ;
3596 bool temp2
= false ;
3597 bool temp3
= false ;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3600 PyObject
* obj2
= 0 ;
3601 PyObject
* obj3
= 0 ;
3602 PyObject
* obj4
= 0 ;
3603 PyObject
* obj5
= 0 ;
3604 PyObject
* obj6
= 0 ;
3606 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3611 arg1
= wxString_in_helper(obj0
);
3612 if (arg1
== NULL
) SWIG_fail
;
3617 arg2
= wxString_in_helper(obj1
);
3618 if (arg2
== NULL
) SWIG_fail
;
3624 arg3
= wxString_in_helper(obj2
);
3625 if (arg3
== NULL
) SWIG_fail
;
3630 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3634 arg5
= (int)SWIG_As_int(obj4
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3638 arg6
= (int)SWIG_As_int(obj5
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 arg7
= (bool)SWIG_As_bool(obj6
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3646 if (!wxPyCheckForApp()) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3690 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxString
*arg1
= 0 ;
3693 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3694 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3695 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3696 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3697 wxWindow
*arg4
= (wxWindow
*) NULL
;
3699 bool temp1
= false ;
3700 bool temp2
= false ;
3701 bool temp3
= false ;
3702 PyObject
* obj0
= 0 ;
3703 PyObject
* obj1
= 0 ;
3704 PyObject
* obj2
= 0 ;
3705 PyObject
* obj3
= 0 ;
3707 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3712 arg1
= wxString_in_helper(obj0
);
3713 if (arg1
== NULL
) SWIG_fail
;
3718 arg2
= wxString_in_helper(obj1
);
3719 if (arg2
== NULL
) SWIG_fail
;
3725 arg3
= wxString_in_helper(obj2
);
3726 if (arg3
== NULL
) SWIG_fail
;
3731 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3735 if (!wxPyCheckForApp()) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3779 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxString
*arg1
= 0 ;
3782 wxString
*arg2
= 0 ;
3784 wxString
*arg4
= (wxString
*) 0 ;
3785 wxWindow
*arg5
= (wxWindow
*) NULL
;
3786 int arg6
= (int) -1 ;
3787 int arg7
= (int) -1 ;
3788 bool arg8
= (bool) true ;
3789 int arg9
= (int) 150 ;
3790 int arg10
= (int) 200 ;
3792 bool temp1
= false ;
3793 bool temp2
= false ;
3794 PyObject
* obj0
= 0 ;
3795 PyObject
* obj1
= 0 ;
3796 PyObject
* obj2
= 0 ;
3797 PyObject
* obj3
= 0 ;
3798 PyObject
* obj4
= 0 ;
3799 PyObject
* obj5
= 0 ;
3800 PyObject
* obj6
= 0 ;
3801 PyObject
* obj7
= 0 ;
3802 PyObject
* obj8
= 0 ;
3804 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3809 arg1
= wxString_in_helper(obj0
);
3810 if (arg1
== NULL
) SWIG_fail
;
3814 arg2
= wxString_in_helper(obj1
);
3815 if (arg2
== NULL
) SWIG_fail
;
3819 arg3
= PyList_Size(obj2
);
3820 arg4
= wxString_LIST_helper(obj2
);
3821 if (arg4
== NULL
) SWIG_fail
;
3824 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3828 arg6
= (int)SWIG_As_int(obj4
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3832 arg7
= (int)SWIG_As_int(obj5
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3836 arg8
= (bool)SWIG_As_bool(obj6
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3840 arg9
= (int)SWIG_As_int(obj7
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3844 arg10
= (int)SWIG_As_int(obj8
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3848 if (!wxPyCheckForApp()) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3871 if (arg4
) delete [] arg4
;
3884 if (arg4
) delete [] arg4
;
3890 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3892 wxString
*arg1
= 0 ;
3893 wxString
*arg2
= 0 ;
3895 wxString
*arg4
= (wxString
*) 0 ;
3896 wxWindow
*arg5
= (wxWindow
*) NULL
;
3897 int arg6
= (int) -1 ;
3898 int arg7
= (int) -1 ;
3899 bool arg8
= (bool) true ;
3900 int arg9
= (int) 150 ;
3901 int arg10
= (int) 200 ;
3903 bool temp1
= false ;
3904 bool temp2
= false ;
3905 PyObject
* obj0
= 0 ;
3906 PyObject
* obj1
= 0 ;
3907 PyObject
* obj2
= 0 ;
3908 PyObject
* obj3
= 0 ;
3909 PyObject
* obj4
= 0 ;
3910 PyObject
* obj5
= 0 ;
3911 PyObject
* obj6
= 0 ;
3912 PyObject
* obj7
= 0 ;
3913 PyObject
* obj8
= 0 ;
3915 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3920 arg1
= wxString_in_helper(obj0
);
3921 if (arg1
== NULL
) SWIG_fail
;
3925 arg2
= wxString_in_helper(obj1
);
3926 if (arg2
== NULL
) SWIG_fail
;
3930 arg3
= PyList_Size(obj2
);
3931 arg4
= wxString_LIST_helper(obj2
);
3932 if (arg4
== NULL
) SWIG_fail
;
3935 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3939 arg6
= (int)SWIG_As_int(obj4
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3943 arg7
= (int)SWIG_As_int(obj5
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 arg8
= (bool)SWIG_As_bool(obj6
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3951 arg9
= (int)SWIG_As_int(obj7
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 arg10
= (int)SWIG_As_int(obj8
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3959 if (!wxPyCheckForApp()) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= SWIG_From_int((int)result
);
3976 if (arg4
) delete [] arg4
;
3989 if (arg4
) delete [] arg4
;
3995 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxString
*arg1
= 0 ;
3998 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3999 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4000 int arg3
= (int) wxOK
|wxCENTRE
;
4001 wxWindow
*arg4
= (wxWindow
*) NULL
;
4002 int arg5
= (int) -1 ;
4003 int arg6
= (int) -1 ;
4005 bool temp1
= false ;
4006 bool temp2
= false ;
4007 PyObject
* obj0
= 0 ;
4008 PyObject
* obj1
= 0 ;
4009 PyObject
* obj2
= 0 ;
4010 PyObject
* obj3
= 0 ;
4011 PyObject
* obj4
= 0 ;
4012 PyObject
* obj5
= 0 ;
4014 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4019 arg1
= wxString_in_helper(obj0
);
4020 if (arg1
== NULL
) SWIG_fail
;
4025 arg2
= wxString_in_helper(obj1
);
4026 if (arg2
== NULL
) SWIG_fail
;
4031 arg3
= (int)SWIG_As_int(obj2
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4035 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4039 arg5
= (int)SWIG_As_int(obj4
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4043 arg6
= (int)SWIG_As_int(obj5
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4047 if (!wxPyCheckForApp()) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= SWIG_From_int((int)result
);
4077 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxString
*arg1
= 0 ;
4080 wxString
*arg2
= 0 ;
4081 wxString
*arg3
= 0 ;
4083 long arg5
= (long) 0 ;
4084 long arg6
= (long) 100 ;
4085 wxWindow
*arg7
= (wxWindow
*) NULL
;
4086 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4087 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4089 bool temp1
= false ;
4090 bool temp2
= false ;
4091 bool temp3
= false ;
4093 PyObject
* obj0
= 0 ;
4094 PyObject
* obj1
= 0 ;
4095 PyObject
* obj2
= 0 ;
4096 PyObject
* obj3
= 0 ;
4097 PyObject
* obj4
= 0 ;
4098 PyObject
* obj5
= 0 ;
4099 PyObject
* obj6
= 0 ;
4100 PyObject
* obj7
= 0 ;
4102 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4107 arg1
= wxString_in_helper(obj0
);
4108 if (arg1
== NULL
) SWIG_fail
;
4112 arg2
= wxString_in_helper(obj1
);
4113 if (arg2
== NULL
) SWIG_fail
;
4117 arg3
= wxString_in_helper(obj2
);
4118 if (arg3
== NULL
) SWIG_fail
;
4121 arg4
= (long)SWIG_As_long(obj3
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 arg5
= (long)SWIG_As_long(obj4
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4128 arg6
= (long)SWIG_As_long(obj5
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4132 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4138 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4142 if (!wxPyCheckForApp()) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_From_long((long)result
);
4180 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4189 if (!wxPyCheckForApp()) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (bool)wxColourDisplay();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4205 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4214 if (!wxPyCheckForApp()) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (int)wxDisplayDepth();
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= SWIG_From_int((int)result
);
4228 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
*resultobj
;
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4237 if (!wxPyCheckForApp()) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 result
= (int)wxGetDisplayDepth();
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= SWIG_From_int((int)result
);
4251 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4253 int *arg1
= (int *) 0 ;
4254 int *arg2
= (int *) 0 ;
4263 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4264 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4267 if (!wxPyCheckForApp()) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 wxDisplaySize(arg1
,arg2
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4276 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4277 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4278 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4285 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4294 if (!wxPyCheckForApp()) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= wxGetDisplaySize();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4303 resultptr
= new wxSize((wxSize
&) result
);
4304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4312 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 int *arg1
= (int *) 0 ;
4315 int *arg2
= (int *) 0 ;
4324 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4325 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4328 if (!wxPyCheckForApp()) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 wxDisplaySizeMM(arg1
,arg2
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4336 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4337 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4338 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4339 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4346 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
;
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4355 if (!wxPyCheckForApp()) SWIG_fail
;
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 result
= wxGetDisplaySizeMM();
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4364 resultptr
= new wxSize((wxSize
&) result
);
4365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4373 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 int *arg1
= (int *) 0 ;
4376 int *arg2
= (int *) 0 ;
4377 int *arg3
= (int *) 0 ;
4378 int *arg4
= (int *) 0 ;
4391 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4392 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4393 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4394 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4397 if (!wxPyCheckForApp()) SWIG_fail
;
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4404 Py_INCREF(Py_None
); resultobj
= Py_None
;
4405 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4406 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4407 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4408 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4409 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4410 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4411 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4412 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4419 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4428 if (!wxPyCheckForApp()) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= wxGetClientDisplayRect();
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4437 resultptr
= new wxRect((wxRect
&) result
);
4438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4446 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxCursor
*arg1
= 0 ;
4449 PyObject
* obj0
= 0 ;
4451 (char *) "cursor", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4459 PyErr_SetString(PyExc_TypeError
,"null reference");
4463 if (!wxPyCheckForApp()) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 Py_INCREF(Py_None
); resultobj
= Py_None
;
4477 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "cursor", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 if (!wxPyCheckForApp()) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 wxBeginBusyCursor(arg1
);
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 Py_INCREF(Py_None
); resultobj
= Py_None
;
4505 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4514 if (!wxPyCheckForApp()) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 result
= (wxWindow
*)wxGetActiveWindow();
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4522 resultobj
= wxPyMake_wxObject(result
, 0);
4530 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4535 PyObject
* obj0
= 0 ;
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4543 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4546 if (!wxPyCheckForApp()) SWIG_fail
;
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= wxPyMake_wxObject(result
, 0);
4562 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4567 PyObject
* obj0
= 0 ;
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4575 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4578 if (!wxPyCheckForApp()) SWIG_fail
;
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= wxPyMake_wxObject(result
, 0);
4594 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxWindow
*arg1
= (wxWindow
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4600 (char *) "win", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4607 if (!wxPyCheckForApp()) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= wxPyMake_wxObject(result
, 0);
4623 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4627 PyObject
* obj0
= 0 ;
4629 (char *) "key", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4633 arg1
= (int)SWIG_As_int(obj0
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4636 if (!wxPyCheckForApp()) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4652 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4660 if (!wxPyCheckForApp()) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 wxWakeUpMainThread();
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 Py_INCREF(Py_None
); resultobj
= Py_None
;
4674 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4682 if (!wxPyCheckForApp()) SWIG_fail
;
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 Py_INCREF(Py_None
); resultobj
= Py_None
;
4696 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
;
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4704 if (!wxPyCheckForApp()) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxMutexGuiLocker
*result
;
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4727 if (!wxPyCheckForApp()) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4741 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4744 PyObject
* obj0
= 0 ;
4746 (char *) "self", NULL
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 wxPyEndAllowThreads(__tstate
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4759 Py_INCREF(Py_None
); resultobj
= Py_None
;
4766 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4769 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4771 return Py_BuildValue((char *)"");
4773 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (bool)wxThread_IsMain();
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxString
*arg1
= 0 ;
4801 bool temp1
= false ;
4802 PyObject
* obj0
= 0 ;
4804 (char *) "tip", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4809 arg1
= wxString_in_helper(obj0
);
4810 if (arg1
== NULL
) SWIG_fail
;
4814 if (!wxPyCheckForApp()) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= wxPyMake_wxObject(result
, 1);
4838 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
;
4840 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4841 wxString
*arg2
= 0 ;
4842 bool temp2
= false ;
4843 PyObject
* obj0
= 0 ;
4844 PyObject
* obj1
= 0 ;
4846 (char *) "self",(char *) "tip", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4853 arg2
= wxString_in_helper(obj1
);
4854 if (arg2
== NULL
) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 (arg1
)->SetTip((wxString
const &)*arg2
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 Py_INCREF(Py_None
); resultobj
= Py_None
;
4879 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (arg1
)->GetTip();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4911 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4915 PyObject
* obj0
= 0 ;
4917 (char *) "self", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= (wxWindow
*)(arg1
)->GetWindow();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= wxPyMake_wxObject(result
, 0);
4939 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "flag", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4948 arg1
= (bool)SWIG_As_bool(obj0
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 wxToolTip::Enable(arg1
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4967 PyObject
* obj0
= 0 ;
4969 (char *) "milliseconds", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4973 arg1
= (long)SWIG_As_long(obj0
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 wxToolTip::SetDelay(arg1
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 Py_INCREF(Py_None
); resultobj
= Py_None
;
4989 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
4991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4992 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4994 return Py_BuildValue((char *)"");
4996 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxWindow
*arg1
= (wxWindow
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5003 PyObject
* obj1
= 0 ;
5005 (char *) "window",(char *) "size", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5013 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5016 if (!wxPyCheckForApp()) SWIG_fail
;
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5030 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxCaret
*arg1
= (wxCaret
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5035 (char *) "self", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 Py_INCREF(Py_None
); resultobj
= Py_None
;
5055 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxCaret
*arg1
= (wxCaret
*) 0 ;
5059 PyObject
* obj0
= 0 ;
5061 (char *) "self", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (bool)(arg1
)->IsOk();
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5083 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxCaret
*arg1
= (wxCaret
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5089 (char *) "self", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (bool)(arg1
)->IsVisible();
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5111 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxCaret
*arg1
= (wxCaret
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5117 (char *) "self", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (arg1
)->GetPosition();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5131 wxPoint
* resultptr
;
5132 resultptr
= new wxPoint((wxPoint
&) result
);
5133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5141 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxCaret
*arg1
= (wxCaret
*) 0 ;
5144 int *arg2
= (int *) 0 ;
5145 int *arg3
= (int *) 0 ;
5150 PyObject
* obj0
= 0 ;
5152 (char *) "self", NULL
5155 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5156 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 (arg1
)->GetPosition(arg2
,arg3
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 Py_INCREF(Py_None
); resultobj
= Py_None
;
5168 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5169 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5170 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5171 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5178 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxCaret
*arg1
= (wxCaret
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5184 (char *) "self", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (arg1
)->GetSize();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5199 resultptr
= new wxSize((wxSize
&) result
);
5200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5208 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
*resultobj
;
5210 wxCaret
*arg1
= (wxCaret
*) 0 ;
5211 int *arg2
= (int *) 0 ;
5212 int *arg3
= (int *) 0 ;
5217 PyObject
* obj0
= 0 ;
5219 (char *) "self", NULL
5222 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5223 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 (arg1
)->GetSize(arg2
,arg3
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 Py_INCREF(Py_None
); resultobj
= Py_None
;
5235 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5236 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5237 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5238 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5245 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
;
5247 wxCaret
*arg1
= (wxCaret
*) 0 ;
5249 PyObject
* obj0
= 0 ;
5251 (char *) "self", NULL
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (wxWindow
*)(arg1
)->GetWindow();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5265 resultobj
= wxPyMake_wxObject(result
, 0);
5273 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxCaret
*arg1
= (wxCaret
*) 0 ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5280 PyObject
* obj2
= 0 ;
5282 (char *) "self",(char *) "x",(char *) "y", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5288 arg2
= (int)SWIG_As_int(obj1
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5290 arg3
= (int)SWIG_As_int(obj2
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 (arg1
)->Move(arg2
,arg3
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 Py_INCREF(Py_None
); resultobj
= Py_None
;
5306 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxCaret
*arg1
= (wxCaret
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5314 (char *) "self",(char *) "pt", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 (arg1
)->Move((wxPoint
const &)*arg2
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 Py_INCREF(Py_None
); resultobj
= Py_None
;
5338 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxCaret
*arg1
= (wxCaret
*) 0 ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5345 PyObject
* obj2
= 0 ;
5347 (char *) "self",(char *) "width",(char *) "height", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 arg2
= (int)SWIG_As_int(obj1
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5355 arg3
= (int)SWIG_As_int(obj2
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 (arg1
)->SetSize(arg2
,arg3
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 Py_INCREF(Py_None
); resultobj
= Py_None
;
5371 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxCaret
*arg1
= (wxCaret
*) 0 ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5379 (char *) "self",(char *) "size", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5387 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->SetSize((wxSize
const &)*arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 Py_INCREF(Py_None
); resultobj
= Py_None
;
5403 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxCaret
*arg1
= (wxCaret
*) 0 ;
5406 int arg2
= (int) true ;
5407 PyObject
* obj0
= 0 ;
5408 PyObject
* obj1
= 0 ;
5410 (char *) "self",(char *) "show", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5417 arg2
= (int)SWIG_As_int(obj1
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 Py_INCREF(Py_None
); resultobj
= Py_None
;
5434 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxCaret
*arg1
= (wxCaret
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5439 (char *) "self", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5452 Py_INCREF(Py_None
); resultobj
= Py_None
;
5459 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5462 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5464 return Py_BuildValue((char *)"");
5466 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (int)wxCaret_GetBlinkTime();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_From_int((int)result
);
5488 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5491 PyObject
* obj0
= 0 ;
5493 (char *) "milliseconds", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5497 arg1
= (int)SWIG_As_int(obj0
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 wxCaret_SetBlinkTime(arg1
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 Py_INCREF(Py_None
); resultobj
= Py_None
;
5513 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
;
5515 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5516 wxBusyCursor
*result
;
5517 PyObject
* obj0
= 0 ;
5519 (char *) "cursor", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5528 if (!wxPyCheckForApp()) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5542 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
;
5544 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5547 (char *) "self", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 Py_INCREF(Py_None
); resultobj
= Py_None
;
5567 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5570 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5572 return Py_BuildValue((char *)"");
5574 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5576 wxWindow
*arg1
= (wxWindow
*) NULL
;
5577 wxWindowDisabler
*result
;
5578 PyObject
* obj0
= 0 ;
5580 (char *) "winToSkip", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5589 if (!wxPyCheckForApp()) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5603 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5608 (char *) "self", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 Py_INCREF(Py_None
); resultobj
= Py_None
;
5628 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5631 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5633 return Py_BuildValue((char *)"");
5635 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxString
*arg1
= 0 ;
5639 bool temp1
= false ;
5640 PyObject
* obj0
= 0 ;
5642 (char *) "message", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5647 arg1
= wxString_in_helper(obj0
);
5648 if (arg1
== NULL
) SWIG_fail
;
5652 if (!wxPyCheckForApp()) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5674 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5676 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5677 PyObject
* obj0
= 0 ;
5679 (char *) "self", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 Py_INCREF(Py_None
); resultobj
= Py_None
;
5699 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5702 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5704 return Py_BuildValue((char *)"");
5706 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxStopWatch
*result
;
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 result
= (wxStopWatch
*)new wxStopWatch();
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5728 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5730 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5731 long arg2
= (long) 0 ;
5732 PyObject
* obj0
= 0 ;
5733 PyObject
* obj1
= 0 ;
5735 (char *) "self",(char *) "t0", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5742 arg2
= (long)SWIG_As_long(obj1
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 (arg1
)->Start(arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 Py_INCREF(Py_None
); resultobj
= Py_None
;
5759 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5762 PyObject
* obj0
= 0 ;
5764 (char *) "self", NULL
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 Py_INCREF(Py_None
); resultobj
= Py_None
;
5784 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5789 (char *) "self", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 Py_INCREF(Py_None
); resultobj
= Py_None
;
5809 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5813 PyObject
* obj0
= 0 ;
5815 (char *) "self", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_From_long((long)result
);
5835 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5838 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5840 return Py_BuildValue((char *)"");
5842 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 int arg1
= (int) 9 ;
5845 int arg2
= (int) wxID_FILE1
;
5846 wxFileHistory
*result
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 (char *) "maxFiles",(char *) "idBase", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5855 arg1
= (int)SWIG_As_int(obj0
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 arg2
= (int)SWIG_As_int(obj1
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5876 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
;
5878 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "self", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 Py_INCREF(Py_None
); resultobj
= Py_None
;
5901 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5904 wxString
*arg2
= 0 ;
5905 bool temp2
= false ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5909 (char *) "self",(char *) "file", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5916 arg2
= wxString_in_helper(obj1
);
5917 if (arg2
== NULL
) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 Py_INCREF(Py_None
); resultobj
= Py_None
;
5942 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
;
5944 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5946 PyObject
* obj0
= 0 ;
5947 PyObject
* obj1
= 0 ;
5949 (char *) "self",(char *) "i", NULL
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5955 arg2
= (int)SWIG_As_int(obj1
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 (arg1
)->RemoveFileFromHistory(arg2
);
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 Py_INCREF(Py_None
); resultobj
= Py_None
;
5971 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
*resultobj
;
5973 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5977 (char *) "self", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_From_int((int)result
);
5997 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6000 wxMenu
*arg2
= (wxMenu
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6002 PyObject
* obj1
= 0 ;
6004 (char *) "self",(char *) "menu", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 (arg1
)->UseMenu(arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 Py_INCREF(Py_None
); resultobj
= Py_None
;
6026 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
;
6028 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6029 wxMenu
*arg2
= (wxMenu
*) 0 ;
6030 PyObject
* obj0
= 0 ;
6031 PyObject
* obj1
= 0 ;
6033 (char *) "self",(char *) "menu", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 (arg1
)->RemoveMenu(arg2
);
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 Py_INCREF(Py_None
); resultobj
= Py_None
;
6055 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
;
6057 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6058 wxConfigBase
*arg2
= 0 ;
6059 PyObject
* obj0
= 0 ;
6060 PyObject
* obj1
= 0 ;
6062 (char *) "self",(char *) "config", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6072 PyErr_SetString(PyExc_TypeError
,"null reference");
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 (arg1
)->Load(*arg2
);
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 Py_INCREF(Py_None
); resultobj
= Py_None
;
6089 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
;
6091 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6092 wxConfigBase
*arg2
= 0 ;
6093 PyObject
* obj0
= 0 ;
6094 PyObject
* obj1
= 0 ;
6096 (char *) "self",(char *) "config", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6106 PyErr_SetString(PyExc_TypeError
,"null reference");
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 (arg1
)->Save(*arg2
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 Py_INCREF(Py_None
); resultobj
= Py_None
;
6123 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6125 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6126 PyObject
* obj0
= 0 ;
6128 (char *) "self", NULL
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 (arg1
)->AddFilesToMenu();
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6151 wxMenu
*arg2
= (wxMenu
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6155 (char *) "self",(char *) "menu", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 (arg1
)->AddFilesToMenu(arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 Py_INCREF(Py_None
); resultobj
= Py_None
;
6177 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6182 PyObject
* obj0
= 0 ;
6183 PyObject
* obj1
= 0 ;
6185 (char *) "self",(char *) "i", NULL
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6191 arg2
= (int)SWIG_As_int(obj1
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6213 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6219 (char *) "self", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= SWIG_From_int((int)result
);
6239 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6242 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6244 return Py_BuildValue((char *)"");
6246 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxString
*arg1
= 0 ;
6249 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6250 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6251 wxSingleInstanceChecker
*result
;
6252 bool temp1
= false ;
6253 bool temp2
= false ;
6254 PyObject
* obj0
= 0 ;
6255 PyObject
* obj1
= 0 ;
6257 (char *) "name",(char *) "path", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6262 arg1
= wxString_in_helper(obj0
);
6263 if (arg1
== NULL
) SWIG_fail
;
6268 arg2
= wxString_in_helper(obj1
);
6269 if (arg2
== NULL
) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6303 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxSingleInstanceChecker
*result
;
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6325 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
;
6327 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6328 PyObject
* obj0
= 0 ;
6330 (char *) "self", NULL
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 Py_INCREF(Py_None
); resultobj
= Py_None
;
6350 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6353 wxString
*arg2
= 0 ;
6354 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6355 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6357 bool temp2
= false ;
6358 bool temp3
= false ;
6359 PyObject
* obj0
= 0 ;
6360 PyObject
* obj1
= 0 ;
6361 PyObject
* obj2
= 0 ;
6363 (char *) "self",(char *) "name",(char *) "path", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6370 arg2
= wxString_in_helper(obj1
);
6371 if (arg2
== NULL
) SWIG_fail
;
6376 arg3
= wxString_in_helper(obj2
);
6377 if (arg3
== NULL
) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6413 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6441 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6444 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6446 return Py_BuildValue((char *)"");
6448 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
;
6450 wxWindow
*arg1
= (wxWindow
*) 0 ;
6453 PyObject
* obj0
= 0 ;
6454 PyObject
* obj1
= 0 ;
6455 PyObject
* obj2
= 0 ;
6457 (char *) "window",(char *) "dc",(char *) "method", NULL
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6467 PyErr_SetString(PyExc_TypeError
,"null reference");
6470 arg3
= (int)SWIG_As_int(obj2
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 Py_INCREF(Py_None
); resultobj
= Py_None
;
6486 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6491 (char *) "self", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 Py_INCREF(Py_None
); resultobj
= Py_None
;
6511 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "self", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (arg1
)->GetTip();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6543 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6549 (char *) "self", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (size_t)(arg1
)->GetCurrentTip();
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6569 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6572 wxString
*arg2
= 0 ;
6574 bool temp2
= false ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6578 (char *) "self",(char *) "tip", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6585 arg2
= wxString_in_helper(obj1
);
6586 if (arg2
== NULL
) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6617 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6620 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6622 return Py_BuildValue((char *)"");
6624 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
;
6627 wxPyTipProvider
*result
;
6628 PyObject
* obj0
= 0 ;
6630 (char *) "currentTip", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6634 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6650 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6653 PyObject
*arg2
= (PyObject
*) 0 ;
6654 PyObject
*arg3
= (PyObject
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6656 PyObject
* obj1
= 0 ;
6657 PyObject
* obj2
= 0 ;
6659 (char *) "self",(char *) "self",(char *) "_class", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6671 wxPyEndAllowThreads(__tstate
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6674 Py_INCREF(Py_None
); resultobj
= Py_None
;
6681 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6684 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6686 return Py_BuildValue((char *)"");
6688 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxWindow
*arg1
= (wxWindow
*) 0 ;
6691 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6692 bool arg3
= (bool) true ;
6694 PyObject
* obj0
= 0 ;
6695 PyObject
* obj1
= 0 ;
6696 PyObject
* obj2
= 0 ;
6698 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6707 arg3
= (bool)SWIG_As_bool(obj2
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6711 if (!wxPyCheckForApp()) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6727 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxString
*arg1
= 0 ;
6731 wxTipProvider
*result
;
6732 bool temp1
= false ;
6733 PyObject
* obj0
= 0 ;
6734 PyObject
* obj1
= 0 ;
6736 (char *) "filename",(char *) "currentTip", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6741 arg1
= wxString_in_helper(obj0
);
6742 if (arg1
== NULL
) SWIG_fail
;
6745 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 if (!wxPyCheckForApp()) SWIG_fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6770 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6772 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6773 int arg2
= (int) -1 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6778 (char *) "owner",(char *) "id", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6787 arg2
= (int)SWIG_As_int(obj1
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6791 if (!wxPyCheckForApp()) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6805 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6808 PyObject
* obj0
= 0 ;
6810 (char *) "self", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 Py_INCREF(Py_None
); resultobj
= Py_None
;
6830 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6833 PyObject
*arg2
= (PyObject
*) 0 ;
6834 PyObject
*arg3
= (PyObject
*) 0 ;
6835 int arg4
= (int) 1 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6838 PyObject
* obj2
= 0 ;
6839 PyObject
* obj3
= 0 ;
6841 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6850 arg4
= (int)SWIG_As_int(obj3
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 Py_INCREF(Py_None
); resultobj
= Py_None
;
6867 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6870 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6871 int arg3
= (int) -1 ;
6872 PyObject
* obj0
= 0 ;
6873 PyObject
* obj1
= 0 ;
6874 PyObject
* obj2
= 0 ;
6876 (char *) "self",(char *) "owner",(char *) "id", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6885 arg3
= (int)SWIG_As_int(obj2
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 (arg1
)->SetOwner(arg2
,arg3
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 Py_INCREF(Py_None
); resultobj
= Py_None
;
6902 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6905 wxEvtHandler
*result
;
6906 PyObject
* obj0
= 0 ;
6908 (char *) "self", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= wxPyMake_wxObject(result
, 0);
6930 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
;
6932 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6933 int arg2
= (int) -1 ;
6934 bool arg3
= (bool) false ;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6938 PyObject
* obj2
= 0 ;
6940 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6947 arg2
= (int)SWIG_As_int(obj1
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 arg3
= (bool)SWIG_As_bool(obj2
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6970 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "self", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6999 PyObject
* obj0
= 0 ;
7001 (char *) "self", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7023 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7029 (char *) "self", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_From_int((int)result
);
7049 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7055 (char *) "self", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7077 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7083 (char *) "self", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_From_int((int)result
);
7103 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7106 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7108 return Py_BuildValue((char *)"");
7110 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7112 int arg1
= (int) 0 ;
7113 int arg2
= (int) 0 ;
7114 wxTimerEvent
*result
;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7118 (char *) "timerid",(char *) "interval", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7123 arg1
= (int)SWIG_As_int(obj0
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7127 arg2
= (int)SWIG_As_int(obj1
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7144 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7148 PyObject
* obj0
= 0 ;
7150 (char *) "self", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= SWIG_From_int((int)result
);
7170 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7173 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7175 return Py_BuildValue((char *)"");
7177 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7178 PyObject
*resultobj
;
7180 wxTimerRunner
*result
;
7181 PyObject
* obj0
= 0 ;
7183 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7188 PyErr_SetString(PyExc_TypeError
,"null reference");
7192 if (!wxPyCheckForApp()) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7206 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7207 PyObject
*resultobj
;
7210 bool arg3
= (bool) false ;
7211 wxTimerRunner
*result
;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7214 PyObject
* obj2
= 0 ;
7216 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7221 PyErr_SetString(PyExc_TypeError
,"null reference");
7224 arg2
= (int)SWIG_As_int(obj1
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 arg3
= (bool)SWIG_As_bool(obj2
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7231 if (!wxPyCheckForApp()) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7245 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7250 argc
= PyObject_Length(args
);
7251 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7252 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7258 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7266 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7269 if ((argc
>= 2) && (argc
<= 3)) {
7273 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7281 _v
= SWIG_Check_int(argv
[1]);
7284 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7286 _v
= SWIG_Check_bool(argv
[2]);
7288 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7294 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7299 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7304 (char *) "self", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7328 bool arg3
= (bool) false ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7331 PyObject
* obj2
= 0 ;
7333 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7339 arg2
= (int)SWIG_As_int(obj1
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 arg3
= (bool)SWIG_As_bool(obj2
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 (arg1
)->Start(arg2
,arg3
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 Py_INCREF(Py_None
); resultobj
= Py_None
;
7359 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7362 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7364 return Py_BuildValue((char *)"");
7366 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (wxLog
*)new wxLog();
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7388 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 result
= (bool)wxLog::IsEnabled();
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7412 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 bool arg1
= (bool) true ;
7416 PyObject
* obj0
= 0 ;
7418 (char *) "doIt", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7423 arg1
= (bool)SWIG_As_bool(obj0
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (bool)wxLog::EnableLogging(arg1
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7442 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7445 wxChar
*arg2
= (wxChar
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7449 PyObject
* obj2
= 0 ;
7451 (char *) "level",(char *) "szString",(char *) "t", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7455 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7459 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxLog
*arg1
= (wxLog
*) 0 ;
7478 PyObject
* obj0
= 0 ;
7480 (char *) "self", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 Py_INCREF(Py_None
); resultobj
= Py_None
;
7500 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 wxLog::FlushActive();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 Py_INCREF(Py_None
); resultobj
= Py_None
;
7521 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (wxLog
*)wxLog::GetActiveTarget();
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7543 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
;
7545 wxLog
*arg1
= (wxLog
*) 0 ;
7547 PyObject
* obj0
= 0 ;
7549 (char *) "pLogger", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7569 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 Py_INCREF(Py_None
); resultobj
= Py_None
;
7590 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 Py_INCREF(Py_None
); resultobj
= Py_None
;
7611 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 bool arg1
= (bool) true ;
7614 PyObject
* obj0
= 0 ;
7616 (char *) "bVerbose", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7621 arg1
= (bool)SWIG_As_bool(obj0
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 wxLog::SetVerbose(arg1
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 Py_INCREF(Py_None
); resultobj
= Py_None
;
7638 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7641 PyObject
* obj0
= 0 ;
7643 (char *) "logLevel", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7647 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 wxLog::SetLogLevel(arg1
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 Py_INCREF(Py_None
); resultobj
= Py_None
;
7663 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 wxLog::DontCreateOnDemand();
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 Py_INCREF(Py_None
); resultobj
= Py_None
;
7684 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7687 PyObject
* obj0
= 0 ;
7689 (char *) "ulMask", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7693 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 wxLog::SetTraceMask(arg1
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 Py_INCREF(Py_None
); resultobj
= Py_None
;
7709 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxString
*arg1
= 0 ;
7712 bool temp1
= false ;
7713 PyObject
* obj0
= 0 ;
7715 (char *) "str", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7720 arg1
= wxString_in_helper(obj0
);
7721 if (arg1
== NULL
) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 wxLog::AddTraceMask((wxString
const &)*arg1
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 Py_INCREF(Py_None
); resultobj
= Py_None
;
7746 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxString
*arg1
= 0 ;
7749 bool temp1
= false ;
7750 PyObject
* obj0
= 0 ;
7752 (char *) "str", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7757 arg1
= wxString_in_helper(obj0
);
7758 if (arg1
== NULL
) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 Py_INCREF(Py_None
); resultobj
= Py_None
;
7783 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 wxLog::ClearTraceMasks();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 Py_INCREF(Py_None
); resultobj
= Py_None
;
7804 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxArrayString
*result
;
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7816 result
= (wxArrayString
*) &_result_ref
;
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= wxArrayString2PyList_helper(*result
);
7831 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxChar
*arg1
= (wxChar
*) 0 ;
7834 PyObject
* obj0
= 0 ;
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 wxLog::SetTimestamp((wxChar
const *)arg1
);
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 Py_INCREF(Py_None
); resultobj
= Py_None
;
7856 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (bool)wxLog::GetVerbose();
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7880 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (wxTraceMask
)wxLog::GetTraceMask();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7902 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxChar
*arg1
= (wxChar
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "mask", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7930 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (wxLogLevel
)wxLog::GetLogLevel();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7952 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (wxChar
*)wxLog::GetTimestamp();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7974 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= Log_TimeStamp();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8002 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxLog
*arg1
= (wxLog
*) 0 ;
8005 PyObject
* obj0
= 0 ;
8007 (char *) "self", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 wxLog_Destroy(arg1
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 Py_INCREF(Py_None
); resultobj
= Py_None
;
8027 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8030 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8032 return Py_BuildValue((char *)"");
8034 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxLogStderr
*result
;
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (wxLogStderr
*)new wxLogStderr();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8056 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8059 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8061 return Py_BuildValue((char *)"");
8063 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8066 wxLogTextCtrl
*result
;
8067 PyObject
* obj0
= 0 ;
8069 (char *) "pTextCtrl", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8089 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8092 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8094 return Py_BuildValue((char *)"");
8096 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (wxLogGui
*)new wxLogGui();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8118 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8121 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8123 return Py_BuildValue((char *)"");
8125 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
;
8127 wxFrame
*arg1
= (wxFrame
*) 0 ;
8128 wxString
*arg2
= 0 ;
8129 bool arg3
= (bool) true ;
8130 bool arg4
= (bool) true ;
8131 wxLogWindow
*result
;
8132 bool temp2
= false ;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8135 PyObject
* obj2
= 0 ;
8136 PyObject
* obj3
= 0 ;
8138 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8145 arg2
= wxString_in_helper(obj1
);
8146 if (arg2
== NULL
) SWIG_fail
;
8150 arg3
= (bool)SWIG_As_bool(obj2
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8154 arg4
= (bool)SWIG_As_bool(obj3
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8179 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8182 bool arg2
= (bool) true ;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8186 (char *) "self",(char *) "bShow", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8193 arg2
= (bool)SWIG_As_bool(obj1
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 Py_INCREF(Py_None
); resultobj
= Py_None
;
8210 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8214 PyObject
* obj0
= 0 ;
8216 (char *) "self", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= wxPyMake_wxObject(result
, 0);
8238 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8242 PyObject
* obj0
= 0 ;
8244 (char *) "self", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8264 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8268 PyObject
* obj0
= 0 ;
8270 (char *) "self", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8292 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8299 (char *) "self",(char *) "bDoPass", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8305 arg2
= (bool)SWIG_As_bool(obj1
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 (arg1
)->PassMessages(arg2
);
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 Py_INCREF(Py_None
); resultobj
= Py_None
;
8321 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8324 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8326 return Py_BuildValue((char *)"");
8328 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
;
8330 wxLog
*arg1
= (wxLog
*) 0 ;
8332 PyObject
* obj0
= 0 ;
8334 (char *) "logger", NULL
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 result
= (wxLogChain
*)new wxLogChain(arg1
);
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8354 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
;
8356 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8357 wxLog
*arg2
= (wxLog
*) 0 ;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8361 (char *) "self",(char *) "logger", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 (arg1
)->SetLog(arg2
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 Py_INCREF(Py_None
); resultobj
= Py_None
;
8383 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8387 PyObject
* obj0
= 0 ;
8388 PyObject
* obj1
= 0 ;
8390 (char *) "self",(char *) "bDoPass", NULL
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8396 arg2
= (bool)SWIG_As_bool(obj1
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 (arg1
)->PassMessages(arg2
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 Py_INCREF(Py_None
); resultobj
= Py_None
;
8412 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8416 PyObject
* obj0
= 0 ;
8418 (char *) "self", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 result
= (bool)(arg1
)->IsPassingMessages();
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8440 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
;
8442 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8444 PyObject
* obj0
= 0 ;
8446 (char *) "self", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 result
= (wxLog
*)(arg1
)->GetOldLog();
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8466 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8469 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8471 return Py_BuildValue((char *)"");
8473 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 unsigned long result
;
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (unsigned long)wxSysErrorCode();
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8495 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 unsigned long arg1
= (unsigned long) 0 ;
8499 PyObject
* obj0
= 0 ;
8501 (char *) "nErrCode", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8506 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= wxSysErrorMsg(arg1
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8529 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxString
*arg1
= 0 ;
8532 bool temp1
= false ;
8533 PyObject
* obj0
= 0 ;
8535 (char *) "msg", NULL
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8540 arg1
= wxString_in_helper(obj0
);
8541 if (arg1
== NULL
) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 wxLogFatalError((wxString
const &)*arg1
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 Py_INCREF(Py_None
); resultobj
= Py_None
;
8566 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
;
8568 wxString
*arg1
= 0 ;
8569 bool temp1
= false ;
8570 PyObject
* obj0
= 0 ;
8572 (char *) "msg", NULL
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8577 arg1
= wxString_in_helper(obj0
);
8578 if (arg1
== NULL
) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 wxLogError((wxString
const &)*arg1
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 Py_INCREF(Py_None
); resultobj
= Py_None
;
8603 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 wxString
*arg1
= 0 ;
8606 bool temp1
= false ;
8607 PyObject
* obj0
= 0 ;
8609 (char *) "msg", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8614 arg1
= wxString_in_helper(obj0
);
8615 if (arg1
== NULL
) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxLogWarning((wxString
const &)*arg1
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 Py_INCREF(Py_None
); resultobj
= Py_None
;
8640 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxString
*arg1
= 0 ;
8643 bool temp1
= false ;
8644 PyObject
* obj0
= 0 ;
8646 (char *) "msg", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8651 arg1
= wxString_in_helper(obj0
);
8652 if (arg1
== NULL
) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 wxLogMessage((wxString
const &)*arg1
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 Py_INCREF(Py_None
); resultobj
= Py_None
;
8677 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxString
*arg1
= 0 ;
8680 bool temp1
= false ;
8681 PyObject
* obj0
= 0 ;
8683 (char *) "msg", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8688 arg1
= wxString_in_helper(obj0
);
8689 if (arg1
== NULL
) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 wxLogInfo((wxString
const &)*arg1
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 Py_INCREF(Py_None
); resultobj
= Py_None
;
8714 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxString
*arg1
= 0 ;
8717 bool temp1
= false ;
8718 PyObject
* obj0
= 0 ;
8720 (char *) "msg", NULL
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8725 arg1
= wxString_in_helper(obj0
);
8726 if (arg1
== NULL
) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 wxLogDebug((wxString
const &)*arg1
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxString
*arg1
= 0 ;
8754 bool temp1
= false ;
8755 PyObject
* obj0
= 0 ;
8757 (char *) "msg", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8762 arg1
= wxString_in_helper(obj0
);
8763 if (arg1
== NULL
) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 wxLogVerbose((wxString
const &)*arg1
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 Py_INCREF(Py_None
); resultobj
= Py_None
;
8788 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8790 wxString
*arg1
= 0 ;
8791 bool temp1
= false ;
8792 PyObject
* obj0
= 0 ;
8794 (char *) "msg", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8799 arg1
= wxString_in_helper(obj0
);
8800 if (arg1
== NULL
) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 wxLogStatus((wxString
const &)*arg1
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 Py_INCREF(Py_None
); resultobj
= Py_None
;
8825 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
;
8827 wxFrame
*arg1
= (wxFrame
*) 0 ;
8828 wxString
*arg2
= 0 ;
8829 bool temp2
= false ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8833 (char *) "pFrame",(char *) "msg", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8840 arg2
= wxString_in_helper(obj1
);
8841 if (arg2
== NULL
) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 Py_INCREF(Py_None
); resultobj
= Py_None
;
8866 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxString
*arg1
= 0 ;
8869 bool temp1
= false ;
8870 PyObject
* obj0
= 0 ;
8872 (char *) "msg", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8877 arg1
= wxString_in_helper(obj0
);
8878 if (arg1
== NULL
) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 wxLogSysError((wxString
const &)*arg1
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8904 PyObject
*resultobj
;
8905 unsigned long arg1
;
8906 wxString
*arg2
= 0 ;
8907 bool temp2
= false ;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8911 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8912 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 arg2
= wxString_in_helper(obj1
);
8916 if (arg2
== NULL
) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8941 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8942 PyObject
*resultobj
;
8943 wxString
*arg1
= 0 ;
8944 wxString
*arg2
= 0 ;
8945 bool temp1
= false ;
8946 bool temp2
= false ;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8950 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8952 arg1
= wxString_in_helper(obj0
);
8953 if (arg1
== NULL
) SWIG_fail
;
8957 arg2
= wxString_in_helper(obj1
);
8958 if (arg2
== NULL
) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8991 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8996 argc
= PyObject_Length(args
);
8997 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8998 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9003 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9007 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9010 return _wrap_LogTrace__SWIG_1(self
,args
);
9016 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9019 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9022 return _wrap_LogTrace__SWIG_0(self
,args
);
9027 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9032 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 unsigned long arg1
;
9035 wxString
*arg2
= 0 ;
9036 bool temp2
= false ;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9040 (char *) "level",(char *) "msg", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9044 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 arg2
= wxString_in_helper(obj1
);
9048 if (arg2
== NULL
) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 Py_INCREF(Py_None
); resultobj
= Py_None
;
9073 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxString
*arg1
= 0 ;
9076 wxString
*arg2
= 0 ;
9077 bool temp1
= false ;
9078 bool temp2
= false ;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9082 (char *) "title",(char *) "text", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9087 arg1
= wxString_in_helper(obj0
);
9088 if (arg1
== NULL
) SWIG_fail
;
9092 arg2
= wxString_in_helper(obj1
);
9093 if (arg2
== NULL
) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 Py_INCREF(Py_None
); resultobj
= Py_None
;
9126 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 result
= (wxLogNull
*)new wxLogNull();
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9148 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9151 PyObject
* obj0
= 0 ;
9153 (char *) "self", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 Py_INCREF(Py_None
); resultobj
= Py_None
;
9173 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9176 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9178 return Py_BuildValue((char *)"");
9180 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (wxPyLog
*)new wxPyLog();
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9202 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
;
9204 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9205 PyObject
*arg2
= (PyObject
*) 0 ;
9206 PyObject
*arg3
= (PyObject
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9208 PyObject
* obj1
= 0 ;
9209 PyObject
* obj2
= 0 ;
9211 (char *) "self",(char *) "self",(char *) "_class", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9236 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9238 return Py_BuildValue((char *)"");
9240 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9243 int arg2
= (int) wxSIGTERM
;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9248 (char *) "pid",(char *) "sig", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9252 arg1
= (int)SWIG_As_int(obj0
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 arg2
= (int)SWIG_As_int(obj1
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_From_int((int)result
);
9272 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9276 PyObject
* obj0
= 0 ;
9278 (char *) "pid", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9282 arg1
= (int)SWIG_As_int(obj0
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (bool)wxPyProcess::Exists(arg1
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9300 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9302 wxString
*arg1
= 0 ;
9303 int arg2
= (int) wxEXEC_ASYNC
;
9304 wxPyProcess
*result
;
9305 bool temp1
= false ;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9309 (char *) "cmd",(char *) "flags", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9314 arg1
= wxString_in_helper(obj0
);
9315 if (arg1
== NULL
) SWIG_fail
;
9319 arg2
= (int)SWIG_As_int(obj1
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9344 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
;
9346 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9347 int arg2
= (int) -1 ;
9348 wxPyProcess
*result
;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9352 (char *) "parent",(char *) "id", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9361 arg2
= (int)SWIG_As_int(obj1
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9378 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9381 PyObject
*arg2
= (PyObject
*) 0 ;
9382 PyObject
*arg3
= (PyObject
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9385 PyObject
* obj2
= 0 ;
9387 (char *) "self",(char *) "self",(char *) "_class", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 Py_INCREF(Py_None
); resultobj
= Py_None
;
9409 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9416 PyObject
* obj2
= 0 ;
9418 (char *) "self",(char *) "pid",(char *) "status", NULL
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9424 arg2
= (int)SWIG_As_int(obj1
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9426 arg3
= (int)SWIG_As_int(obj2
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 (arg1
)->base_OnTerminate(arg2
,arg3
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 Py_INCREF(Py_None
); resultobj
= Py_None
;
9442 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9445 PyObject
* obj0
= 0 ;
9447 (char *) "self", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 Py_INCREF(Py_None
); resultobj
= Py_None
;
9467 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9473 (char *) "self", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (bool)(arg1
)->IsRedirected();
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9495 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9500 (char *) "self", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 Py_INCREF(Py_None
); resultobj
= Py_None
;
9520 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9523 wxInputStream
*result
;
9524 PyObject
* obj0
= 0 ;
9526 (char *) "self", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 wxPyInputStream
* _ptr
= NULL
;
9543 _ptr
= new wxPyInputStream(result
);
9545 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
9553 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9556 wxInputStream
*result
;
9557 PyObject
* obj0
= 0 ;
9559 (char *) "self", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9573 wxPyInputStream
* _ptr
= NULL
;
9576 _ptr
= new wxPyInputStream(result
);
9578 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
9586 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
;
9588 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9589 wxOutputStream
*result
;
9590 PyObject
* obj0
= 0 ;
9592 (char *) "self", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9612 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "self", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 (arg1
)->CloseOutput();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 Py_INCREF(Py_None
); resultobj
= Py_None
;
9637 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9641 PyObject
* obj0
= 0 ;
9643 (char *) "self", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9665 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9669 PyObject
* obj0
= 0 ;
9671 (char *) "self", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9693 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9697 PyObject
* obj0
= 0 ;
9699 (char *) "self", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9721 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9724 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9726 return Py_BuildValue((char *)"");
9728 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 int arg1
= (int) 0 ;
9731 int arg2
= (int) 0 ;
9732 int arg3
= (int) 0 ;
9733 wxProcessEvent
*result
;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9736 PyObject
* obj2
= 0 ;
9738 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9743 arg1
= (int)SWIG_As_int(obj0
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9747 arg2
= (int)SWIG_As_int(obj1
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 arg3
= (int)SWIG_As_int(obj2
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9768 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9774 (char *) "self", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (int)(arg1
)->GetPid();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_From_int((int)result
);
9794 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9798 PyObject
* obj0
= 0 ;
9800 (char *) "self", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (int)(arg1
)->GetExitCode();
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_From_int((int)result
);
9820 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9825 PyObject
* obj1
= 0 ;
9827 (char *) "self",(char *) "m_pid", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9833 arg2
= (int)SWIG_As_int(obj1
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9835 if (arg1
) (arg1
)->m_pid
= arg2
;
9837 Py_INCREF(Py_None
); resultobj
= Py_None
;
9844 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9846 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9848 PyObject
* obj0
= 0 ;
9850 (char *) "self", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9856 result
= (int) ((arg1
)->m_pid
);
9858 resultobj
= SWIG_From_int((int)result
);
9865 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
;
9867 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9869 PyObject
* obj0
= 0 ;
9870 PyObject
* obj1
= 0 ;
9872 (char *) "self",(char *) "m_exitcode", NULL
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9878 arg2
= (int)SWIG_As_int(obj1
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9880 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9882 Py_INCREF(Py_None
); resultobj
= Py_None
;
9889 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9901 result
= (int) ((arg1
)->m_exitcode
);
9903 resultobj
= SWIG_From_int((int)result
);
9910 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9913 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9915 return Py_BuildValue((char *)"");
9917 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxString
*arg1
= 0 ;
9920 int arg2
= (int) wxEXEC_ASYNC
;
9921 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9923 bool temp1
= false ;
9924 PyObject
* obj0
= 0 ;
9925 PyObject
* obj1
= 0 ;
9926 PyObject
* obj2
= 0 ;
9928 (char *) "command",(char *) "flags",(char *) "process", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9933 arg1
= wxString_in_helper(obj0
);
9934 if (arg1
== NULL
) SWIG_fail
;
9938 arg2
= (int)SWIG_As_int(obj1
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9942 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9946 if (!wxPyCheckForApp()) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= SWIG_From_long((long)result
);
9968 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 int arg1
= (int) wxJOYSTICK1
;
9972 PyObject
* obj0
= 0 ;
9974 (char *) "joystick", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9979 arg1
= (int)SWIG_As_int(obj0
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9983 if (!wxPyCheckForApp()) SWIG_fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (wxJoystick
*)new wxJoystick(arg1
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9997 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10000 PyObject
* obj0
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 Py_INCREF(Py_None
); resultobj
= Py_None
;
10022 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
;
10024 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (arg1
)->GetPosition();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10042 wxPoint
* resultptr
;
10043 resultptr
= new wxPoint((wxPoint
&) result
);
10044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10052 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10056 PyObject
* obj0
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "self", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (int)(arg1
)->GetZPosition();
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= SWIG_From_int((int)result
);
10078 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (int)(arg1
)->GetButtonState();
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 resultobj
= SWIG_From_int((int)result
);
10104 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10108 PyObject
* obj0
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "self", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (int)(arg1
)->GetPOVPosition();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_From_int((int)result
);
10130 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10134 PyObject
* obj0
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (int)(arg1
)->GetPOVCTSPosition();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_From_int((int)result
);
10156 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10160 PyObject
* obj0
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (int)(arg1
)->GetRudderPosition();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_From_int((int)result
);
10182 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (int)(arg1
)->GetUPosition();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= SWIG_From_int((int)result
);
10208 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "self", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 result
= (int)(arg1
)->GetVPosition();
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= SWIG_From_int((int)result
);
10234 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (int)(arg1
)->GetMovementThreshold();
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_From_int((int)result
);
10260 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
;
10262 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10264 PyObject
* obj0
= 0 ;
10265 PyObject
* obj1
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self",(char *) "threshold", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10273 arg2
= (int)SWIG_As_int(obj1
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 (arg1
)->SetMovementThreshold(arg2
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 Py_INCREF(Py_None
); resultobj
= Py_None
;
10289 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (bool)(arg1
)->IsOk();
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10317 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10321 PyObject
* obj0
= 0 ;
10322 char *kwnames
[] = {
10323 (char *) "self", NULL
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (int)(arg1
)->GetNumberJoysticks();
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_From_int((int)result
);
10343 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10347 PyObject
* obj0
= 0 ;
10348 char *kwnames
[] = {
10349 (char *) "self", NULL
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (int)(arg1
)->GetManufacturerId();
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_From_int((int)result
);
10369 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
;
10371 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10373 PyObject
* obj0
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (int)(arg1
)->GetProductId();
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_From_int((int)result
);
10395 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (arg1
)->GetProductName();
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10427 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (int)(arg1
)->GetXMin();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_From_int((int)result
);
10453 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (int)(arg1
)->GetYMin();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_From_int((int)result
);
10479 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (int)(arg1
)->GetZMin();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= SWIG_From_int((int)result
);
10505 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (int)(arg1
)->GetXMax();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_From_int((int)result
);
10531 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (int)(arg1
)->GetYMax();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= SWIG_From_int((int)result
);
10557 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10558 PyObject
*resultobj
;
10559 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10561 PyObject
* obj0
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "self", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (int)(arg1
)->GetZMax();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= SWIG_From_int((int)result
);
10583 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10587 PyObject
* obj0
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (int)(arg1
)->GetNumberButtons();
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= SWIG_From_int((int)result
);
10609 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10613 PyObject
* obj0
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (int)(arg1
)->GetNumberAxes();
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= SWIG_From_int((int)result
);
10635 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10639 PyObject
* obj0
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (int)(arg1
)->GetMaxButtons();
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= SWIG_From_int((int)result
);
10661 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (int)(arg1
)->GetMaxAxes();
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= SWIG_From_int((int)result
);
10687 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (int)(arg1
)->GetPollingMin();
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= SWIG_From_int((int)result
);
10713 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (int)(arg1
)->GetPollingMax();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_From_int((int)result
);
10739 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (int)(arg1
)->GetRudderMin();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_From_int((int)result
);
10765 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (int)(arg1
)->GetRudderMax();
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_From_int((int)result
);
10791 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (int)(arg1
)->GetUMin();
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_From_int((int)result
);
10817 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (int)(arg1
)->GetUMax();
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_From_int((int)result
);
10843 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 result
= (int)(arg1
)->GetVMin();
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 resultobj
= SWIG_From_int((int)result
);
10869 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10871 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10873 PyObject
* obj0
= 0 ;
10874 char *kwnames
[] = {
10875 (char *) "self", NULL
10878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 result
= (int)(arg1
)->GetVMax();
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_From_int((int)result
);
10895 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
;
10897 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10899 PyObject
* obj0
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (bool)(arg1
)->HasRudder();
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10923 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 result
= (bool)(arg1
)->HasZ();
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10951 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (bool)(arg1
)->HasU();
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10979 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10983 PyObject
* obj0
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (bool)(arg1
)->HasV();
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11007 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (bool)(arg1
)->HasPOV();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11035 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 char *kwnames
[] = {
11041 (char *) "self", NULL
11044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (bool)(arg1
)->HasPOV4Dir();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (bool)(arg1
)->HasPOVCTS();
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11094 wxWindow
*arg2
= (wxWindow
*) 0 ;
11095 int arg3
= (int) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 PyObject
* obj2
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11110 arg3
= (int)SWIG_As_int(obj2
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11129 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11133 PyObject
* obj0
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 result
= (bool)(arg1
)->ReleaseCapture();
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11157 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11160 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11162 return Py_BuildValue((char *)"");
11164 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11167 wxPoint
*arg2
= (wxPoint
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 PyObject
* obj1
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self",(char *) "m_pos", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11179 if (arg1
) (arg1
)->m_pos
= *arg2
;
11181 Py_INCREF(Py_None
); resultobj
= Py_None
;
11188 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "self", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11200 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11209 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
;
11211 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11213 PyObject
* obj0
= 0 ;
11214 PyObject
* obj1
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self",(char *) "m_zPosition", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11222 arg2
= (int)SWIG_As_int(obj1
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11224 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11226 Py_INCREF(Py_None
); resultobj
= Py_None
;
11233 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11237 PyObject
* obj0
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 result
= (int) ((arg1
)->m_zPosition
);
11247 resultobj
= SWIG_From_int((int)result
);
11254 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
;
11256 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "m_buttonChange", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 arg2
= (int)SWIG_As_int(obj1
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11269 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11271 Py_INCREF(Py_None
); resultobj
= Py_None
;
11278 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11290 result
= (int) ((arg1
)->m_buttonChange
);
11292 resultobj
= SWIG_From_int((int)result
);
11299 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self",(char *) "m_buttonState", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 arg2
= (int)SWIG_As_int(obj1
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11314 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11316 Py_INCREF(Py_None
); resultobj
= Py_None
;
11323 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11327 PyObject
* obj0
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11335 result
= (int) ((arg1
)->m_buttonState
);
11337 resultobj
= SWIG_From_int((int)result
);
11344 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11345 PyObject
*resultobj
;
11346 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11349 PyObject
* obj1
= 0 ;
11350 char *kwnames
[] = {
11351 (char *) "self",(char *) "m_joyStick", NULL
11354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11357 arg2
= (int)SWIG_As_int(obj1
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11359 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11361 Py_INCREF(Py_None
); resultobj
= Py_None
;
11368 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
;
11370 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11380 result
= (int) ((arg1
)->m_joyStick
);
11382 resultobj
= SWIG_From_int((int)result
);
11389 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11392 int arg2
= (int) 0 ;
11393 int arg3
= (int) wxJOYSTICK1
;
11394 int arg4
= (int) 0 ;
11395 wxJoystickEvent
*result
;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 PyObject
* obj2
= 0 ;
11399 PyObject
* obj3
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11406 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 arg2
= (int)SWIG_As_int(obj1
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11414 arg3
= (int)SWIG_As_int(obj2
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 arg4
= (int)SWIG_As_int(obj3
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11435 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 char *kwnames
[] = {
11441 (char *) "self", NULL
11444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11455 wxPoint
* resultptr
;
11456 resultptr
= new wxPoint((wxPoint
&) result
);
11457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11465 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_From_int((int)result
);
11491 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= SWIG_From_int((int)result
);
11517 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_From_int((int)result
);
11543 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11547 PyObject
* obj0
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= SWIG_From_int((int)result
);
11569 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11573 PyObject
* obj0
= 0 ;
11574 PyObject
* obj1
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self",(char *) "stick", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11582 arg2
= (int)SWIG_As_int(obj1
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 (arg1
)->SetJoystick(arg2
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 Py_INCREF(Py_None
); resultobj
= Py_None
;
11598 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self",(char *) "state", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11611 arg2
= (int)SWIG_As_int(obj1
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 (arg1
)->SetButtonState(arg2
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 Py_INCREF(Py_None
); resultobj
= Py_None
;
11627 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11631 PyObject
* obj0
= 0 ;
11632 PyObject
* obj1
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "self",(char *) "change", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11640 arg2
= (int)SWIG_As_int(obj1
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 (arg1
)->SetButtonChange(arg2
);
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11649 Py_INCREF(Py_None
); resultobj
= Py_None
;
11656 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11659 wxPoint
*arg2
= 0 ;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self",(char *) "pos", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 Py_INCREF(Py_None
); resultobj
= Py_None
;
11688 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11692 PyObject
* obj0
= 0 ;
11693 PyObject
* obj1
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self",(char *) "zPos", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11701 arg2
= (int)SWIG_As_int(obj1
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 (arg1
)->SetZPosition(arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 Py_INCREF(Py_None
); resultobj
= Py_None
;
11717 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11721 PyObject
* obj0
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11745 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11773 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11777 PyObject
* obj0
= 0 ;
11778 char *kwnames
[] = {
11779 (char *) "self", NULL
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11801 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11804 int arg2
= (int) wxJOY_BUTTON_ANY
;
11806 PyObject
* obj0
= 0 ;
11807 PyObject
* obj1
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self",(char *) "but", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11816 arg2
= (int)SWIG_As_int(obj1
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11835 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11838 int arg2
= (int) wxJOY_BUTTON_ANY
;
11840 PyObject
* obj0
= 0 ;
11841 PyObject
* obj1
= 0 ;
11842 char *kwnames
[] = {
11843 (char *) "self",(char *) "but", NULL
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11850 arg2
= (int)SWIG_As_int(obj1
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11869 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11870 PyObject
*resultobj
;
11871 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11872 int arg2
= (int) wxJOY_BUTTON_ANY
;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 char *kwnames
[] = {
11877 (char *) "self",(char *) "but", NULL
11880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11884 arg2
= (int)SWIG_As_int(obj1
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11903 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11906 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11908 return Py_BuildValue((char *)"");
11910 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11913 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11915 bool temp1
= false ;
11916 PyObject
* obj0
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "fileName", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11924 arg1
= wxString_in_helper(obj0
);
11925 if (arg1
== NULL
) SWIG_fail
;
11930 if (!wxPyCheckForApp()) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11952 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 PyObject
*arg1
= (PyObject
*) 0 ;
11956 PyObject
* obj0
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "data", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11964 if (!wxPyCheckForApp()) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= (wxSound
*)new_wxSound(arg1
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11978 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxSound
*arg1
= (wxSound
*) 0 ;
11981 PyObject
* obj0
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "self", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 Py_INCREF(Py_None
); resultobj
= Py_None
;
12003 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxSound
*arg1
= (wxSound
*) 0 ;
12006 wxString
*arg2
= 0 ;
12008 bool temp2
= false ;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self",(char *) "fileName", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12019 arg2
= wxString_in_helper(obj1
);
12020 if (arg2
== NULL
) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12047 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxSound
*arg1
= (wxSound
*) 0 ;
12050 PyObject
*arg2
= (PyObject
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self",(char *) "data", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12078 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxSound
*arg1
= (wxSound
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (bool)(arg1
)->IsOk();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12106 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxSound
*arg1
= (wxSound
*) 0 ;
12109 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12111 PyObject
* obj0
= 0 ;
12112 PyObject
* obj1
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self",(char *) "flags", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12121 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 if (!wxPyCheckForApp()) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12141 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxString
*arg1
= 0 ;
12144 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12146 bool temp1
= false ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "filename",(char *) "flags", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12155 arg1
= wxString_in_helper(obj0
);
12156 if (arg1
== NULL
) SWIG_fail
;
12160 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12164 if (!wxPyCheckForApp()) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12188 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12189 PyObject
*resultobj
;
12190 char *kwnames
[] = {
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12196 if (!wxPyCheckForApp()) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 Py_INCREF(Py_None
); resultobj
= Py_None
;
12210 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12213 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12215 return Py_BuildValue((char *)"");
12217 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxString
*arg1
= 0 ;
12220 wxString
*arg2
= 0 ;
12221 wxString
*arg3
= 0 ;
12222 wxString
*arg4
= 0 ;
12223 wxFileTypeInfo
*result
;
12224 bool temp1
= false ;
12225 bool temp2
= false ;
12226 bool temp3
= false ;
12227 bool temp4
= false ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 PyObject
* obj2
= 0 ;
12231 PyObject
* obj3
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12238 arg1
= wxString_in_helper(obj0
);
12239 if (arg1
== NULL
) SWIG_fail
;
12243 arg2
= wxString_in_helper(obj1
);
12244 if (arg2
== NULL
) SWIG_fail
;
12248 arg3
= wxString_in_helper(obj2
);
12249 if (arg3
== NULL
) SWIG_fail
;
12253 arg4
= wxString_in_helper(obj3
);
12254 if (arg4
== NULL
) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12303 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxArrayString
*arg1
= 0 ;
12306 wxFileTypeInfo
*result
;
12307 bool temp1
= false ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "sArray", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12315 if (! PySequence_Check(obj0
)) {
12316 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12319 arg1
= new wxArrayString
;
12321 int i
, len
=PySequence_Length(obj0
);
12322 for (i
=0; i
<len
; i
++) {
12323 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12325 PyObject
* str
= PyObject_Unicode(item
);
12327 PyObject
* str
= PyObject_Str(item
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12330 arg1
->Add(Py2wxString(str
));
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12344 if (temp1
) delete arg1
;
12349 if (temp1
) delete arg1
;
12355 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxFileTypeInfo
*result
;
12358 char *kwnames
[] = {
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12377 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12381 PyObject
* obj0
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "self", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12405 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12408 wxString
*arg2
= 0 ;
12409 int arg3
= (int) 0 ;
12410 bool temp2
= false ;
12411 PyObject
* obj0
= 0 ;
12412 PyObject
* obj1
= 0 ;
12413 PyObject
* obj2
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12422 arg2
= wxString_in_helper(obj1
);
12423 if (arg2
== NULL
) SWIG_fail
;
12427 arg3
= (int)SWIG_As_int(obj2
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 Py_INCREF(Py_None
); resultobj
= Py_None
;
12452 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12455 wxString
*arg2
= 0 ;
12456 bool temp2
= false ;
12457 PyObject
* obj0
= 0 ;
12458 PyObject
* obj1
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "self",(char *) "shortDesc", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12467 arg2
= wxString_in_helper(obj1
);
12468 if (arg2
== NULL
) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 Py_INCREF(Py_None
); resultobj
= Py_None
;
12493 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12509 result
= (wxString
*) &_result_ref
;
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12519 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12528 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12544 result
= (wxString
*) &_result_ref
;
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12554 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12563 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12579 result
= (wxString
*) &_result_ref
;
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12589 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12598 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12614 result
= (wxString
*) &_result_ref
;
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12624 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12633 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
;
12635 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12637 PyObject
* obj0
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12649 result
= (wxString
*) &_result_ref
;
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12659 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12668 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12671 wxArrayString
*result
;
12672 PyObject
* obj0
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12684 result
= (wxArrayString
*) &_result_ref
;
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= wxArrayString2PyList_helper(*result
);
12699 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 char *kwnames
[] = {
12705 (char *) "self", NULL
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= SWIG_From_int((int)result
);
12725 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12741 result
= (wxString
*) &_result_ref
;
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12760 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "self", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= SWIG_From_int((int)result
);
12786 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12789 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12791 return Py_BuildValue((char *)"");
12793 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxFileTypeInfo
*arg1
= 0 ;
12796 wxFileType
*result
;
12797 PyObject
* obj0
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "ftInfo", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12806 if (arg1
== NULL
) {
12807 PyErr_SetString(PyExc_TypeError
,"null reference");
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12824 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxFileType
*arg1
= (wxFileType
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 Py_INCREF(Py_None
); resultobj
= Py_None
;
12849 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxFileType
*arg1
= (wxFileType
*) 0 ;
12853 PyObject
* obj0
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "self", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 resultobj
= result
;
12875 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
;
12877 wxFileType
*arg1
= (wxFileType
*) 0 ;
12879 PyObject
* obj0
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= result
;
12901 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
;
12903 wxFileType
*arg1
= (wxFileType
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 resultobj
= result
;
12927 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxFileType
*arg1
= (wxFileType
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12953 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxFileType
*arg1
= (wxFileType
*) 0 ;
12957 PyObject
* obj0
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= result
;
12979 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxFileType
*arg1
= (wxFileType
*) 0 ;
12983 PyObject
* obj0
= 0 ;
12984 char *kwnames
[] = {
12985 (char *) "self", NULL
12988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= result
;
13005 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
;
13007 wxFileType
*arg1
= (wxFileType
*) 0 ;
13008 wxString
*arg2
= 0 ;
13009 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13010 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13012 bool temp2
= false ;
13013 bool temp3
= false ;
13014 PyObject
* obj0
= 0 ;
13015 PyObject
* obj1
= 0 ;
13016 PyObject
* obj2
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13025 arg2
= wxString_in_helper(obj1
);
13026 if (arg2
== NULL
) SWIG_fail
;
13031 arg3
= wxString_in_helper(obj2
);
13032 if (arg3
== NULL
) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= result
;
13066 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxFileType
*arg1
= (wxFileType
*) 0 ;
13069 wxString
*arg2
= 0 ;
13070 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13071 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13073 bool temp2
= false ;
13074 bool temp3
= false ;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 PyObject
* obj2
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13086 arg2
= wxString_in_helper(obj1
);
13087 if (arg2
== NULL
) SWIG_fail
;
13092 arg3
= wxString_in_helper(obj2
);
13093 if (arg3
== NULL
) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= result
;
13127 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxFileType
*arg1
= (wxFileType
*) 0 ;
13130 wxString
*arg2
= 0 ;
13131 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13132 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13134 bool temp2
= false ;
13135 bool temp3
= false ;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 PyObject
* obj2
= 0 ;
13139 char *kwnames
[] = {
13140 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13147 arg2
= wxString_in_helper(obj1
);
13148 if (arg2
== NULL
) SWIG_fail
;
13153 arg3
= wxString_in_helper(obj2
);
13154 if (arg3
== NULL
) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= result
;
13188 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxFileType
*arg1
= (wxFileType
*) 0 ;
13191 wxString
*arg2
= 0 ;
13192 wxString
*arg3
= 0 ;
13193 bool arg4
= (bool) true ;
13195 bool temp2
= false ;
13196 bool temp3
= false ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 PyObject
* obj2
= 0 ;
13200 PyObject
* obj3
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 arg2
= wxString_in_helper(obj1
);
13210 if (arg2
== NULL
) SWIG_fail
;
13214 arg3
= wxString_in_helper(obj2
);
13215 if (arg3
== NULL
) SWIG_fail
;
13219 arg4
= (bool)SWIG_As_bool(obj3
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13254 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxFileType
*arg1
= (wxFileType
*) 0 ;
13257 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13258 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13259 int arg3
= (int) 0 ;
13261 bool temp2
= false ;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 PyObject
* obj2
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self",(char *) "cmd",(char *) "index", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13274 arg2
= wxString_in_helper(obj1
);
13275 if (arg2
== NULL
) SWIG_fail
;
13280 arg3
= (int)SWIG_As_int(obj2
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13307 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxFileType
*arg1
= (wxFileType
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (bool)(arg1
)->Unassociate();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13335 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxString
*arg1
= 0 ;
13338 wxString
*arg2
= 0 ;
13339 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13340 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13342 bool temp1
= false ;
13343 bool temp2
= false ;
13344 bool temp3
= false ;
13345 PyObject
* obj0
= 0 ;
13346 PyObject
* obj1
= 0 ;
13347 PyObject
* obj2
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13354 arg1
= wxString_in_helper(obj0
);
13355 if (arg1
== NULL
) SWIG_fail
;
13359 arg2
= wxString_in_helper(obj1
);
13360 if (arg2
== NULL
) SWIG_fail
;
13365 arg3
= wxString_in_helper(obj2
);
13366 if (arg3
== NULL
) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13414 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13417 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13419 return Py_BuildValue((char *)"");
13421 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13422 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13427 static PyObject
*_wrap_TheMimeTypesManager_get() {
13430 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13435 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxString
*arg1
= 0 ;
13438 wxString
*arg2
= 0 ;
13440 bool temp1
= false ;
13441 bool temp2
= false ;
13442 PyObject
* obj0
= 0 ;
13443 PyObject
* obj1
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "mimeType",(char *) "wildcard", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13450 arg1
= wxString_in_helper(obj0
);
13451 if (arg1
== NULL
) SWIG_fail
;
13455 arg2
= wxString_in_helper(obj1
);
13456 if (arg2
== NULL
) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13491 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
;
13493 wxMimeTypesManager
*result
;
13494 char *kwnames
[] = {
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13513 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13516 int arg2
= (int) wxMAILCAP_ALL
;
13517 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13518 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13519 bool temp3
= false ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 PyObject
* obj2
= 0 ;
13523 char *kwnames
[] = {
13524 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13531 arg2
= (int)SWIG_As_int(obj1
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13536 arg3
= wxString_in_helper(obj2
);
13537 if (arg3
== NULL
) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 Py_INCREF(Py_None
); resultobj
= Py_None
;
13563 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13566 PyObject
* obj0
= 0 ;
13567 char *kwnames
[] = {
13568 (char *) "self", NULL
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 (arg1
)->ClearData();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 Py_INCREF(Py_None
); resultobj
= Py_None
;
13588 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13591 wxString
*arg2
= 0 ;
13592 wxFileType
*result
;
13593 bool temp2
= false ;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self",(char *) "ext", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 arg2
= wxString_in_helper(obj1
);
13605 if (arg2
== NULL
) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13630 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13633 wxString
*arg2
= 0 ;
13634 wxFileType
*result
;
13635 bool temp2
= false ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self",(char *) "mimeType", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13646 arg2
= wxString_in_helper(obj1
);
13647 if (arg2
== NULL
) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13672 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
;
13674 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13675 wxString
*arg2
= 0 ;
13676 bool arg3
= (bool) false ;
13678 bool temp2
= false ;
13679 PyObject
* obj0
= 0 ;
13680 PyObject
* obj1
= 0 ;
13681 PyObject
* obj2
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13690 arg2
= wxString_in_helper(obj1
);
13691 if (arg2
== NULL
) SWIG_fail
;
13695 arg3
= (bool)SWIG_As_bool(obj2
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13722 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13725 wxString
*arg2
= 0 ;
13727 bool temp2
= false ;
13728 PyObject
* obj0
= 0 ;
13729 PyObject
* obj1
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self",(char *) "filename", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13738 arg2
= wxString_in_helper(obj1
);
13739 if (arg2
== NULL
) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13766 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13767 PyObject
*resultobj
;
13768 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13770 PyObject
* obj0
= 0 ;
13771 char *kwnames
[] = {
13772 (char *) "self", NULL
13775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= result
;
13792 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13795 wxFileTypeInfo
*arg2
= 0 ;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self",(char *) "ft", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13808 if (arg2
== NULL
) {
13809 PyErr_SetString(PyExc_TypeError
,"null reference");
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 Py_INCREF(Py_None
); resultobj
= Py_None
;
13826 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13829 wxFileTypeInfo
*arg2
= 0 ;
13830 wxFileType
*result
;
13831 PyObject
* obj0
= 0 ;
13832 PyObject
* obj1
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self",(char *) "ftInfo", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13843 if (arg2
== NULL
) {
13844 PyErr_SetString(PyExc_TypeError
,"null reference");
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13861 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13864 wxFileType
*arg2
= (wxFileType
*) 0 ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self",(char *) "ft", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (bool)(arg1
)->Unassociate(arg2
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13893 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 char *kwnames
[] = {
13898 (char *) "self", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 Py_INCREF(Py_None
); resultobj
= Py_None
;
13918 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13921 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13923 return Py_BuildValue((char *)"");
13925 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13926 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13931 static PyObject
*_wrap_ART_TOOLBAR_get() {
13936 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13938 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13945 static int _wrap_ART_MENU_set(PyObject
*) {
13946 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13951 static PyObject
*_wrap_ART_MENU_get() {
13956 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13958 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13965 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13966 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13971 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13976 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13978 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13985 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13986 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13991 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13996 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13998 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14005 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14006 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14011 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14016 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14018 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14025 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14026 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14031 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14036 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14038 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14045 static int _wrap_ART_BUTTON_set(PyObject
*) {
14046 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14051 static PyObject
*_wrap_ART_BUTTON_get() {
14056 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14058 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14065 static int _wrap_ART_OTHER_set(PyObject
*) {
14066 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14071 static PyObject
*_wrap_ART_OTHER_get() {
14076 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14078 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14085 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14086 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14091 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14096 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14098 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14105 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14106 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14111 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14116 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14118 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14125 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14126 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14131 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14136 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14138 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14145 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14146 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14151 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14156 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14158 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14165 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14166 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14171 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14176 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14178 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14185 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14186 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14191 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14196 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14198 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14205 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14206 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14211 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14216 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14218 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14225 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14226 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14231 static PyObject
*_wrap_ART_GO_BACK_get() {
14236 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14238 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14245 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14246 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14251 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14256 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14258 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14265 static int _wrap_ART_GO_UP_set(PyObject
*) {
14266 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14271 static PyObject
*_wrap_ART_GO_UP_get() {
14276 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14278 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14285 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14286 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14291 static PyObject
*_wrap_ART_GO_DOWN_get() {
14296 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14298 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14305 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14306 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14311 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14316 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14318 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14325 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14326 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14331 static PyObject
*_wrap_ART_GO_HOME_get() {
14336 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14338 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14345 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14346 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14351 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14356 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14358 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14365 static int _wrap_ART_PRINT_set(PyObject
*) {
14366 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14371 static PyObject
*_wrap_ART_PRINT_get() {
14376 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14378 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14385 static int _wrap_ART_HELP_set(PyObject
*) {
14386 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14391 static PyObject
*_wrap_ART_HELP_get() {
14396 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14398 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14405 static int _wrap_ART_TIP_set(PyObject
*) {
14406 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14411 static PyObject
*_wrap_ART_TIP_get() {
14416 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14418 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14425 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14426 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14431 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14436 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14438 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14445 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14446 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14451 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14456 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14458 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14465 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14466 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14471 static PyObject
*_wrap_ART_NEW_DIR_get() {
14476 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14478 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14485 static int _wrap_ART_FOLDER_set(PyObject
*) {
14486 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14491 static PyObject
*_wrap_ART_FOLDER_get() {
14496 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14498 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14505 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14506 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14511 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14516 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14518 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14525 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14526 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14531 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14536 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14538 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14545 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14546 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14551 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14556 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14558 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14565 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14566 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14571 static PyObject
*_wrap_ART_TICK_MARK_get() {
14576 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14578 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14585 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14586 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14591 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14596 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14598 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14605 static int _wrap_ART_ERROR_set(PyObject
*) {
14606 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14611 static PyObject
*_wrap_ART_ERROR_get() {
14616 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14618 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14625 static int _wrap_ART_QUESTION_set(PyObject
*) {
14626 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14631 static PyObject
*_wrap_ART_QUESTION_get() {
14636 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14638 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14645 static int _wrap_ART_WARNING_set(PyObject
*) {
14646 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14651 static PyObject
*_wrap_ART_WARNING_get() {
14656 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14658 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14665 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14666 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14671 static PyObject
*_wrap_ART_INFORMATION_get() {
14676 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14678 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14685 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14686 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14691 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14696 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14698 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14705 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxPyArtProvider
*result
;
14708 char *kwnames
[] = {
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14714 if (!wxPyCheckForApp()) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14728 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14731 PyObject
*arg2
= (PyObject
*) 0 ;
14732 PyObject
*arg3
= (PyObject
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 PyObject
* obj1
= 0 ;
14735 PyObject
* obj2
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self",(char *) "self",(char *) "_class", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 Py_INCREF(Py_None
); resultobj
= Py_None
;
14759 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "provider", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 wxPyArtProvider::PushProvider(arg1
);
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 Py_INCREF(Py_None
); resultobj
= Py_None
;
14784 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14787 char *kwnames
[] = {
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (bool)wxPyArtProvider::PopProvider();
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14808 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "provider", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14836 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
;
14838 wxString
*arg1
= 0 ;
14839 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14840 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14841 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14842 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14844 bool temp1
= false ;
14845 bool temp2
= false ;
14847 PyObject
* obj0
= 0 ;
14848 PyObject
* obj1
= 0 ;
14849 PyObject
* obj2
= 0 ;
14850 char *kwnames
[] = {
14851 (char *) "id",(char *) "client",(char *) "size", NULL
14854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14856 arg1
= wxString_in_helper(obj0
);
14857 if (arg1
== NULL
) SWIG_fail
;
14862 arg2
= wxString_in_helper(obj1
);
14863 if (arg2
== NULL
) SWIG_fail
;
14870 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14874 if (!wxPyCheckForApp()) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14882 wxBitmap
* resultptr
;
14883 resultptr
= new wxBitmap((wxBitmap
&) result
);
14884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14908 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxString
*arg1
= 0 ;
14911 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14912 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14913 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14914 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14916 bool temp1
= false ;
14917 bool temp2
= false ;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 PyObject
* obj2
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "id",(char *) "client",(char *) "size", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14928 arg1
= wxString_in_helper(obj0
);
14929 if (arg1
== NULL
) SWIG_fail
;
14934 arg2
= wxString_in_helper(obj1
);
14935 if (arg2
== NULL
) SWIG_fail
;
14942 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14946 if (!wxPyCheckForApp()) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14954 wxIcon
* resultptr
;
14955 resultptr
= new wxIcon((wxIcon
&) result
);
14956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14980 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14983 PyObject
* obj0
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 wxPyArtProvider_Destroy(arg1
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 Py_INCREF(Py_None
); resultobj
= Py_None
;
15005 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15008 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15010 return Py_BuildValue((char *)"");
15012 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 Py_INCREF(Py_None
); resultobj
= Py_None
;
15037 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15040 wxConfigBase
*result
;
15041 PyObject
* obj0
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "config", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15063 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 bool arg1
= (bool) true ;
15066 wxConfigBase
*result
;
15067 PyObject
* obj0
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "createOnDemand", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15074 arg1
= (bool)SWIG_As_bool(obj0
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15091 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxConfigBase
*result
;
15094 char *kwnames
[] = {
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (wxConfigBase
*)wxConfigBase::Create();
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15113 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 char *kwnames
[] = {
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 wxConfigBase::DontCreateOnDemand();
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 Py_INCREF(Py_None
); resultobj
= Py_None
;
15134 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15137 wxString
*arg2
= 0 ;
15138 bool temp2
= false ;
15139 PyObject
* obj0
= 0 ;
15140 PyObject
* obj1
= 0 ;
15141 char *kwnames
[] = {
15142 (char *) "self",(char *) "path", NULL
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15149 arg2
= wxString_in_helper(obj1
);
15150 if (arg2
== NULL
) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 (arg1
)->SetPath((wxString
const &)*arg2
);
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 Py_INCREF(Py_None
); resultobj
= Py_None
;
15175 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15191 result
= (wxString
*) &_result_ref
;
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15201 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15210 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= result
;
15236 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15241 PyObject
* obj0
= 0 ;
15242 PyObject
* obj1
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "self",(char *) "index", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15250 arg2
= (long)SWIG_As_long(obj1
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= result
;
15266 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= result
;
15292 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 PyObject
* obj1
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self",(char *) "index", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15306 arg2
= (long)SWIG_As_long(obj1
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= result
;
15322 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15325 bool arg2
= (bool) false ;
15327 PyObject
* obj0
= 0 ;
15328 PyObject
* obj1
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self",(char *) "recursive", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15337 arg2
= (bool)SWIG_As_bool(obj1
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15354 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15357 bool arg2
= (bool) false ;
15359 PyObject
* obj0
= 0 ;
15360 PyObject
* obj1
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self",(char *) "recursive", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15369 arg2
= (bool)SWIG_As_bool(obj1
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15386 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15389 wxString
*arg2
= 0 ;
15391 bool temp2
= false ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self",(char *) "name", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15402 arg2
= wxString_in_helper(obj1
);
15403 if (arg2
== NULL
) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15430 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15433 wxString
*arg2
= 0 ;
15435 bool temp2
= false ;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self",(char *) "name", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15446 arg2
= wxString_in_helper(obj1
);
15447 if (arg2
== NULL
) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15474 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15477 wxString
*arg2
= 0 ;
15479 bool temp2
= false ;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self",(char *) "name", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15490 arg2
= wxString_in_helper(obj1
);
15491 if (arg2
== NULL
) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15518 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15521 wxString
*arg2
= 0 ;
15523 bool temp2
= false ;
15524 PyObject
* obj0
= 0 ;
15525 PyObject
* obj1
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self",(char *) "name", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15534 arg2
= wxString_in_helper(obj1
);
15535 if (arg2
== NULL
) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_From_int((int)result
);
15560 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15563 wxString
*arg2
= 0 ;
15564 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15565 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15567 bool temp2
= false ;
15568 bool temp3
= false ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 PyObject
* obj2
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15580 arg2
= wxString_in_helper(obj1
);
15581 if (arg2
== NULL
) SWIG_fail
;
15586 arg3
= wxString_in_helper(obj2
);
15587 if (arg3
== NULL
) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15627 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15630 wxString
*arg2
= 0 ;
15631 long arg3
= (long) 0 ;
15633 bool temp2
= false ;
15634 PyObject
* obj0
= 0 ;
15635 PyObject
* obj1
= 0 ;
15636 PyObject
* obj2
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 arg2
= wxString_in_helper(obj1
);
15646 if (arg2
== NULL
) SWIG_fail
;
15650 arg3
= (long)SWIG_As_long(obj2
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_From_long((long)result
);
15675 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15678 wxString
*arg2
= 0 ;
15679 double arg3
= (double) 0.0 ;
15681 bool temp2
= false ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 PyObject
* obj2
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 arg2
= wxString_in_helper(obj1
);
15694 if (arg2
== NULL
) SWIG_fail
;
15698 arg3
= (double)SWIG_As_double(obj2
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= SWIG_From_double((double)result
);
15723 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15726 wxString
*arg2
= 0 ;
15727 bool arg3
= (bool) false ;
15729 bool temp2
= false ;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 PyObject
* obj2
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 arg2
= wxString_in_helper(obj1
);
15742 if (arg2
== NULL
) SWIG_fail
;
15746 arg3
= (bool)SWIG_As_bool(obj2
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15773 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15776 wxString
*arg2
= 0 ;
15777 wxString
*arg3
= 0 ;
15779 bool temp2
= false ;
15780 bool temp3
= false ;
15781 PyObject
* obj0
= 0 ;
15782 PyObject
* obj1
= 0 ;
15783 PyObject
* obj2
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "self",(char *) "key",(char *) "value", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15792 arg2
= wxString_in_helper(obj1
);
15793 if (arg2
== NULL
) SWIG_fail
;
15797 arg3
= wxString_in_helper(obj2
);
15798 if (arg3
== NULL
) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15833 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15836 wxString
*arg2
= 0 ;
15839 bool temp2
= false ;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 PyObject
* obj2
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self",(char *) "key",(char *) "value", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 arg2
= wxString_in_helper(obj1
);
15852 if (arg2
== NULL
) SWIG_fail
;
15855 arg3
= (long)SWIG_As_long(obj2
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15881 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
;
15883 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15884 wxString
*arg2
= 0 ;
15887 bool temp2
= false ;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 PyObject
* obj2
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "self",(char *) "key",(char *) "value", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15899 arg2
= wxString_in_helper(obj1
);
15900 if (arg2
== NULL
) SWIG_fail
;
15903 arg3
= (double)SWIG_As_double(obj2
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15929 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15932 wxString
*arg2
= 0 ;
15935 bool temp2
= false ;
15936 PyObject
* obj0
= 0 ;
15937 PyObject
* obj1
= 0 ;
15938 PyObject
* obj2
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "key",(char *) "value", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15947 arg2
= wxString_in_helper(obj1
);
15948 if (arg2
== NULL
) SWIG_fail
;
15951 arg3
= (bool)SWIG_As_bool(obj2
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15977 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15980 bool arg2
= (bool) false ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self",(char *) "currentOnly", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 arg2
= (bool)SWIG_As_bool(obj1
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 result
= (bool)(arg1
)->Flush(arg2
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16011 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16014 wxString
*arg2
= 0 ;
16015 wxString
*arg3
= 0 ;
16017 bool temp2
= false ;
16018 bool temp3
= false ;
16019 PyObject
* obj0
= 0 ;
16020 PyObject
* obj1
= 0 ;
16021 PyObject
* obj2
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16030 arg2
= wxString_in_helper(obj1
);
16031 if (arg2
== NULL
) SWIG_fail
;
16035 arg3
= wxString_in_helper(obj2
);
16036 if (arg3
== NULL
) SWIG_fail
;
16040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16041 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16071 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16073 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16074 wxString
*arg2
= 0 ;
16075 wxString
*arg3
= 0 ;
16077 bool temp2
= false ;
16078 bool temp3
= false ;
16079 PyObject
* obj0
= 0 ;
16080 PyObject
* obj1
= 0 ;
16081 PyObject
* obj2
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 arg2
= wxString_in_helper(obj1
);
16091 if (arg2
== NULL
) SWIG_fail
;
16095 arg3
= wxString_in_helper(obj2
);
16096 if (arg3
== NULL
) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16131 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
;
16133 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16134 wxString
*arg2
= 0 ;
16135 bool arg3
= (bool) true ;
16137 bool temp2
= false ;
16138 PyObject
* obj0
= 0 ;
16139 PyObject
* obj1
= 0 ;
16140 PyObject
* obj2
= 0 ;
16141 char *kwnames
[] = {
16142 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16149 arg2
= wxString_in_helper(obj1
);
16150 if (arg2
== NULL
) SWIG_fail
;
16154 arg3
= (bool)SWIG_As_bool(obj2
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16181 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16184 wxString
*arg2
= 0 ;
16186 bool temp2
= false ;
16187 PyObject
* obj0
= 0 ;
16188 PyObject
* obj1
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self",(char *) "key", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16197 arg2
= wxString_in_helper(obj1
);
16198 if (arg2
== NULL
) SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16225 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (bool)(arg1
)->DeleteAll();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16253 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16256 bool arg2
= (bool) true ;
16257 PyObject
* obj0
= 0 ;
16258 PyObject
* obj1
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self",(char *) "doIt", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16267 arg2
= (bool)SWIG_As_bool(obj1
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 (arg1
)->SetExpandEnvVars(arg2
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 Py_INCREF(Py_None
); resultobj
= Py_None
;
16284 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
;
16286 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 char *kwnames
[] = {
16290 (char *) "self", NULL
16293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16312 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16315 bool arg2
= (bool) true ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self",(char *) "doIt", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 arg2
= (bool)SWIG_As_bool(obj1
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 (arg1
)->SetRecordDefaults(arg2
);
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 Py_INCREF(Py_None
); resultobj
= Py_None
;
16343 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16371 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16374 wxString
*arg2
= 0 ;
16376 bool temp2
= false ;
16377 PyObject
* obj0
= 0 ;
16378 PyObject
* obj1
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self",(char *) "str", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16387 arg2
= wxString_in_helper(obj1
);
16388 if (arg2
== NULL
) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16419 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16451 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16483 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16486 wxString
*arg2
= 0 ;
16487 bool temp2
= false ;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self",(char *) "appName", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16498 arg2
= wxString_in_helper(obj1
);
16499 if (arg2
== NULL
) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 (arg1
)->SetAppName((wxString
const &)*arg2
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 Py_INCREF(Py_None
); resultobj
= Py_None
;
16524 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16527 wxString
*arg2
= 0 ;
16528 bool temp2
= false ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "vendorName", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16539 arg2
= wxString_in_helper(obj1
);
16540 if (arg2
== NULL
) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 Py_INCREF(Py_None
); resultobj
= Py_None
;
16565 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self",(char *) "style", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16578 arg2
= (long)SWIG_As_long(obj1
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 (arg1
)->SetStyle(arg2
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 Py_INCREF(Py_None
); resultobj
= Py_None
;
16594 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= SWIG_From_long((long)result
);
16620 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16623 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16625 return Py_BuildValue((char *)"");
16627 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
;
16629 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16630 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16631 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16632 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16633 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16634 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16635 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16636 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16637 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16639 bool temp1
= false ;
16640 bool temp2
= false ;
16641 bool temp3
= false ;
16642 bool temp4
= false ;
16643 PyObject
* obj0
= 0 ;
16644 PyObject
* obj1
= 0 ;
16645 PyObject
* obj2
= 0 ;
16646 PyObject
* obj3
= 0 ;
16647 PyObject
* obj4
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16655 arg1
= wxString_in_helper(obj0
);
16656 if (arg1
== NULL
) SWIG_fail
;
16662 arg2
= wxString_in_helper(obj1
);
16663 if (arg2
== NULL
) SWIG_fail
;
16669 arg3
= wxString_in_helper(obj2
);
16670 if (arg3
== NULL
) SWIG_fail
;
16676 arg4
= wxString_in_helper(obj3
);
16677 if (arg4
== NULL
) SWIG_fail
;
16682 arg5
= (long)SWIG_As_long(obj4
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16731 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxConfig
*arg1
= (wxConfig
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 Py_INCREF(Py_None
); resultobj
= Py_None
;
16756 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16759 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16761 return Py_BuildValue((char *)"");
16763 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16764 PyObject
*resultobj
;
16765 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16766 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16767 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16768 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16769 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16770 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16771 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16772 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16773 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16774 wxFileConfig
*result
;
16775 bool temp1
= false ;
16776 bool temp2
= false ;
16777 bool temp3
= false ;
16778 bool temp4
= false ;
16779 PyObject
* obj0
= 0 ;
16780 PyObject
* obj1
= 0 ;
16781 PyObject
* obj2
= 0 ;
16782 PyObject
* obj3
= 0 ;
16783 PyObject
* obj4
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16791 arg1
= wxString_in_helper(obj0
);
16792 if (arg1
== NULL
) SWIG_fail
;
16798 arg2
= wxString_in_helper(obj1
);
16799 if (arg2
== NULL
) SWIG_fail
;
16805 arg3
= wxString_in_helper(obj2
);
16806 if (arg3
== NULL
) SWIG_fail
;
16812 arg4
= wxString_in_helper(obj3
);
16813 if (arg4
== NULL
) SWIG_fail
;
16818 arg5
= (long)SWIG_As_long(obj4
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16867 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 Py_INCREF(Py_None
); resultobj
= Py_None
;
16892 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16895 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16897 return Py_BuildValue((char *)"");
16899 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16902 wxString
*arg2
= 0 ;
16903 wxConfigPathChanger
*result
;
16904 bool temp2
= false ;
16905 PyObject
* obj0
= 0 ;
16906 PyObject
* obj1
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "config",(char *) "entry", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16915 arg2
= wxString_in_helper(obj1
);
16916 if (arg2
== NULL
) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16941 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16942 PyObject
*resultobj
;
16943 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16944 PyObject
* obj0
= 0 ;
16945 char *kwnames
[] = {
16946 (char *) "self", NULL
16949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16959 Py_INCREF(Py_None
); resultobj
= Py_None
;
16966 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16967 PyObject
*resultobj
;
16968 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16970 PyObject
* obj0
= 0 ;
16971 char *kwnames
[] = {
16972 (char *) "self", NULL
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16982 result
= (wxString
*) &_result_ref
;
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16992 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17001 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17004 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17006 return Py_BuildValue((char *)"");
17008 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxString
*arg1
= 0 ;
17012 bool temp1
= false ;
17013 PyObject
* obj0
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "sz", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17020 arg1
= wxString_in_helper(obj0
);
17021 if (arg1
== NULL
) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17052 static int _wrap_DateFormatStr_set(PyObject
*) {
17053 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17058 static PyObject
*_wrap_DateFormatStr_get() {
17063 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17065 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17072 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17073 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17078 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17083 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17085 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17092 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17095 PyObject
* obj0
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "country", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17101 arg1
= (int)SWIG_As_int(obj0
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 Py_INCREF(Py_None
); resultobj
= Py_None
;
17117 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17120 char *kwnames
[] = {
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (int)wxDateTime::GetCountry();
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= SWIG_From_int((int)result
);
17139 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 int arg1
= (int) wxDateTime::Country_Default
;
17143 PyObject
* obj0
= 0 ;
17144 char *kwnames
[] = {
17145 (char *) "country", NULL
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17150 arg1
= (int)SWIG_As_int(obj0
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17169 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 int arg1
= (int) wxDateTime::Gregorian
;
17173 PyObject
* obj0
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "cal", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17180 arg1
= (int)SWIG_As_int(obj0
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_From_int((int)result
);
17197 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17201 PyObject
* obj0
= 0 ;
17202 char *kwnames
[] = {
17203 (char *) "year", NULL
17206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17207 arg1
= (int)SWIG_As_int(obj0
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 resultobj
= SWIG_From_int((int)result
);
17223 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 int arg1
= (int) wxDateTime::Gregorian
;
17227 PyObject
* obj0
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "cal", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17234 arg1
= (int)SWIG_As_int(obj0
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= SWIG_From_int((int)result
);
17251 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 int arg1
= (int) wxDateTime::Inv_Year
;
17254 int arg2
= (int) wxDateTime::Gregorian
;
17256 PyObject
* obj0
= 0 ;
17257 PyObject
* obj1
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "year",(char *) "cal", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17264 arg1
= (int)SWIG_As_int(obj0
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17268 arg2
= (int)SWIG_As_int(obj1
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17287 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 int arg1
= (int) wxDateTime::Inv_Year
;
17291 PyObject
* obj0
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "year", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17298 arg1
= (int)SWIG_As_int(obj0
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= (int)wxDateTime::GetCentury(arg1
);
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= SWIG_From_int((int)result
);
17315 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17318 int arg2
= (int) wxDateTime::Gregorian
;
17320 PyObject
* obj0
= 0 ;
17321 PyObject
* obj1
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "year",(char *) "cal", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17327 arg1
= (int)SWIG_As_int(obj0
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 arg2
= (int)SWIG_As_int(obj1
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= SWIG_From_int((int)result
);
17347 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17350 int arg2
= (int) wxDateTime::Inv_Year
;
17351 int arg3
= (int) wxDateTime::Gregorian
;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 PyObject
* obj2
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "month",(char *) "year",(char *) "cal", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17361 arg1
= (int)SWIG_As_int(obj0
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 arg2
= (int)SWIG_As_int(obj1
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 arg3
= (int)SWIG_As_int(obj2
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_From_int((int)result
);
17385 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17388 int arg2
= (int) wxDateTime::Name_Full
;
17390 PyObject
* obj0
= 0 ;
17391 PyObject
* obj1
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "month",(char *) "flags", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17397 arg1
= (int)SWIG_As_int(obj0
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 arg2
= (int)SWIG_As_int(obj1
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17423 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17426 int arg2
= (int) wxDateTime::Name_Full
;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "weekday",(char *) "flags", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17435 arg1
= (int)SWIG_As_int(obj0
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 arg2
= (int)SWIG_As_int(obj1
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17461 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
;
17463 wxString
*arg1
= (wxString
*) 0 ;
17464 wxString
*arg2
= (wxString
*) 0 ;
17465 bool temp1
= false ;
17466 bool temp2
= false ;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17475 arg1
= wxString_in_helper(obj0
);
17476 if (arg1
== NULL
) SWIG_fail
;
17480 arg2
= wxString_in_helper(obj1
);
17481 if (arg2
== NULL
) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 Py_INCREF(Py_None
); resultobj
= Py_None
;
17514 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 int arg1
= (int) wxDateTime::Inv_Year
;
17517 int arg2
= (int) wxDateTime::Country_Default
;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "year",(char *) "country", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17527 arg1
= (int)SWIG_As_int(obj0
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 arg2
= (int)SWIG_As_int(obj1
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17550 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 int arg1
= (int) wxDateTime::Inv_Year
;
17553 int arg2
= (int) wxDateTime::Country_Default
;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "year",(char *) "country", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17563 arg1
= (int)SWIG_As_int(obj0
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17567 arg2
= (int)SWIG_As_int(obj1
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17578 wxDateTime
* resultptr
;
17579 resultptr
= new wxDateTime((wxDateTime
&) result
);
17580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17588 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 int arg1
= (int) wxDateTime::Inv_Year
;
17591 int arg2
= (int) wxDateTime::Country_Default
;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "year",(char *) "country", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17601 arg1
= (int)SWIG_As_int(obj0
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17605 arg2
= (int)SWIG_As_int(obj1
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 wxDateTime
* resultptr
;
17617 resultptr
= new wxDateTime((wxDateTime
&) result
);
17618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17626 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17629 char *kwnames
[] = {
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 result
= wxDateTime::Now();
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17642 wxDateTime
* resultptr
;
17643 resultptr
= new wxDateTime((wxDateTime
&) result
);
17644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17652 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17655 char *kwnames
[] = {
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= wxDateTime::UNow();
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 wxDateTime
* resultptr
;
17669 resultptr
= new wxDateTime((wxDateTime
&) result
);
17670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17678 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17681 char *kwnames
[] = {
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= wxDateTime::Today();
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17694 wxDateTime
* resultptr
;
17695 resultptr
= new wxDateTime((wxDateTime
&) result
);
17696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17704 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17706 wxDateTime
*result
;
17707 char *kwnames
[] = {
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (wxDateTime
*)new wxDateTime();
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17726 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17729 wxDateTime
*result
;
17730 PyObject
* obj0
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "timet", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17736 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 result
= (wxDateTime
*)new wxDateTime(arg1
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17752 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17755 wxDateTime
*result
;
17756 PyObject
* obj0
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "jdn", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17762 arg1
= (double)SWIG_As_double(obj0
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (wxDateTime
*)new wxDateTime(arg1
);
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17778 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17781 int arg2
= (int) 0 ;
17782 int arg3
= (int) 0 ;
17783 int arg4
= (int) 0 ;
17784 wxDateTime
*result
;
17785 PyObject
* obj0
= 0 ;
17786 PyObject
* obj1
= 0 ;
17787 PyObject
* obj2
= 0 ;
17788 PyObject
* obj3
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17794 arg1
= (int)SWIG_As_int(obj0
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17797 arg2
= (int)SWIG_As_int(obj1
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17801 arg3
= (int)SWIG_As_int(obj2
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17805 arg4
= (int)SWIG_As_int(obj3
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17822 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17825 int arg2
= (int) wxDateTime::Inv_Month
;
17826 int arg3
= (int) wxDateTime::Inv_Year
;
17827 int arg4
= (int) 0 ;
17828 int arg5
= (int) 0 ;
17829 int arg6
= (int) 0 ;
17830 int arg7
= (int) 0 ;
17831 wxDateTime
*result
;
17832 PyObject
* obj0
= 0 ;
17833 PyObject
* obj1
= 0 ;
17834 PyObject
* obj2
= 0 ;
17835 PyObject
* obj3
= 0 ;
17836 PyObject
* obj4
= 0 ;
17837 PyObject
* obj5
= 0 ;
17838 PyObject
* obj6
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17844 arg1
= (int)SWIG_As_int(obj0
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 arg2
= (int)SWIG_As_int(obj1
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17851 arg3
= (int)SWIG_As_int(obj2
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17855 arg4
= (int)SWIG_As_int(obj3
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17859 arg5
= (int)SWIG_As_int(obj4
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17863 arg6
= (int)SWIG_As_int(obj5
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 arg7
= (int)SWIG_As_int(obj6
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17884 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17887 PyObject
* obj0
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 Py_INCREF(Py_None
); resultobj
= Py_None
;
17909 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17912 wxDateTime
*result
;
17913 PyObject
* obj0
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17925 result
= (wxDateTime
*) &_result_ref
;
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17938 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17942 wxDateTime
*result
;
17943 PyObject
* obj0
= 0 ;
17944 PyObject
* obj1
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self",(char *) "timet", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17958 result
= (wxDateTime
*) &_result_ref
;
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17971 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17975 wxDateTime
*result
;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self",(char *) "jdn", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17985 arg2
= (double)SWIG_As_double(obj1
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17991 result
= (wxDateTime
*) &_result_ref
;
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18004 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18008 int arg3
= (int) 0 ;
18009 int arg4
= (int) 0 ;
18010 int arg5
= (int) 0 ;
18011 wxDateTime
*result
;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 PyObject
* obj2
= 0 ;
18015 PyObject
* obj3
= 0 ;
18016 PyObject
* obj4
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18024 arg2
= (int)SWIG_As_int(obj1
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 arg3
= (int)SWIG_As_int(obj2
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18031 arg4
= (int)SWIG_As_int(obj3
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18035 arg5
= (int)SWIG_As_int(obj4
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18042 result
= (wxDateTime
*) &_result_ref
;
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18055 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18059 int arg3
= (int) wxDateTime::Inv_Month
;
18060 int arg4
= (int) wxDateTime::Inv_Year
;
18061 int arg5
= (int) 0 ;
18062 int arg6
= (int) 0 ;
18063 int arg7
= (int) 0 ;
18064 int arg8
= (int) 0 ;
18065 wxDateTime
*result
;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 PyObject
* obj2
= 0 ;
18069 PyObject
* obj3
= 0 ;
18070 PyObject
* obj4
= 0 ;
18071 PyObject
* obj5
= 0 ;
18072 PyObject
* obj6
= 0 ;
18073 PyObject
* obj7
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18081 arg2
= (int)SWIG_As_int(obj1
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 arg3
= (int)SWIG_As_int(obj2
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18088 arg4
= (int)SWIG_As_int(obj3
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18092 arg5
= (int)SWIG_As_int(obj4
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 arg6
= (int)SWIG_As_int(obj5
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 arg7
= (int)SWIG_As_int(obj6
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 arg8
= (int)SWIG_As_int(obj7
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18111 result
= (wxDateTime
*) &_result_ref
;
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18124 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18127 wxDateTime
*result
;
18128 PyObject
* obj0
= 0 ;
18129 char *kwnames
[] = {
18130 (char *) "self", NULL
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18140 result
= (wxDateTime
*) &_result_ref
;
18143 wxPyEndAllowThreads(__tstate
);
18144 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18153 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18157 wxDateTime
*result
;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "self",(char *) "year", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18167 arg2
= (int)SWIG_As_int(obj1
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18173 result
= (wxDateTime
*) &_result_ref
;
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18186 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
;
18188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18190 wxDateTime
*result
;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self",(char *) "month", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18200 arg2
= (int)SWIG_As_int(obj1
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18206 result
= (wxDateTime
*) &_result_ref
;
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18219 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
;
18221 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18223 wxDateTime
*result
;
18224 PyObject
* obj0
= 0 ;
18225 PyObject
* obj1
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self",(char *) "day", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18233 arg2
= (int)SWIG_As_int(obj1
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18239 result
= (wxDateTime
*) &_result_ref
;
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18252 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18256 wxDateTime
*result
;
18257 PyObject
* obj0
= 0 ;
18258 PyObject
* obj1
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self",(char *) "hour", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18266 arg2
= (int)SWIG_As_int(obj1
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18272 result
= (wxDateTime
*) &_result_ref
;
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18285 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18289 wxDateTime
*result
;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self",(char *) "minute", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18299 arg2
= (int)SWIG_As_int(obj1
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18305 result
= (wxDateTime
*) &_result_ref
;
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18318 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18322 wxDateTime
*result
;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "second", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18332 arg2
= (int)SWIG_As_int(obj1
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18338 result
= (wxDateTime
*) &_result_ref
;
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18351 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18355 wxDateTime
*result
;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self",(char *) "millisecond", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18365 arg2
= (int)SWIG_As_int(obj1
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18371 result
= (wxDateTime
*) &_result_ref
;
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18384 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18388 int arg3
= (int) wxDateTime::Monday_First
;
18389 wxDateTime
*result
;
18390 PyObject
* obj0
= 0 ;
18391 PyObject
* obj1
= 0 ;
18392 PyObject
* obj2
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18400 arg2
= (int)SWIG_As_int(obj1
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 arg3
= (int)SWIG_As_int(obj2
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18410 result
= (wxDateTime
*) &_result_ref
;
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18423 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18427 int arg3
= (int) wxDateTime::Monday_First
;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 PyObject
* obj2
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 arg2
= (int)SWIG_As_int(obj1
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 arg3
= (int)SWIG_As_int(obj2
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 wxDateTime
* resultptr
;
18454 resultptr
= new wxDateTime((wxDateTime
&) result
);
18455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18463 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18467 wxDateTime
*result
;
18468 PyObject
* obj0
= 0 ;
18469 PyObject
* obj1
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self",(char *) "weekday", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18477 arg2
= (int)SWIG_As_int(obj1
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18483 result
= (wxDateTime
*) &_result_ref
;
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18496 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self",(char *) "weekday", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18510 arg2
= (int)SWIG_As_int(obj1
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18520 wxDateTime
* resultptr
;
18521 resultptr
= new wxDateTime((wxDateTime
&) result
);
18522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18530 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18534 wxDateTime
*result
;
18535 PyObject
* obj0
= 0 ;
18536 PyObject
* obj1
= 0 ;
18537 char *kwnames
[] = {
18538 (char *) "self",(char *) "weekday", NULL
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18544 arg2
= (int)SWIG_As_int(obj1
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18550 result
= (wxDateTime
*) &_result_ref
;
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18563 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 PyObject
* obj1
= 0 ;
18570 char *kwnames
[] = {
18571 (char *) "self",(char *) "weekday", NULL
18574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18577 arg2
= (int)SWIG_As_int(obj1
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18587 wxDateTime
* resultptr
;
18588 resultptr
= new wxDateTime((wxDateTime
&) result
);
18589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18597 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18601 int arg3
= (int) 1 ;
18602 int arg4
= (int) wxDateTime::Inv_Month
;
18603 int arg5
= (int) wxDateTime::Inv_Year
;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 PyObject
* obj2
= 0 ;
18608 PyObject
* obj3
= 0 ;
18609 PyObject
* obj4
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18617 arg2
= (int)SWIG_As_int(obj1
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 arg3
= (int)SWIG_As_int(obj2
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18624 arg4
= (int)SWIG_As_int(obj3
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 arg5
= (int)SWIG_As_int(obj4
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18647 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18651 int arg3
= (int) wxDateTime::Inv_Month
;
18652 int arg4
= (int) wxDateTime::Inv_Year
;
18654 PyObject
* obj0
= 0 ;
18655 PyObject
* obj1
= 0 ;
18656 PyObject
* obj2
= 0 ;
18657 PyObject
* obj3
= 0 ;
18658 char *kwnames
[] = {
18659 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18665 arg2
= (int)SWIG_As_int(obj1
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 arg3
= (int)SWIG_As_int(obj2
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18672 arg4
= (int)SWIG_As_int(obj3
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18691 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18693 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18695 int arg3
= (int) wxDateTime::Inv_Month
;
18696 int arg4
= (int) wxDateTime::Inv_Year
;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 PyObject
* obj2
= 0 ;
18701 PyObject
* obj3
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18709 arg2
= (int)SWIG_As_int(obj1
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 arg3
= (int)SWIG_As_int(obj2
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18716 arg4
= (int)SWIG_As_int(obj3
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18727 wxDateTime
* resultptr
;
18728 resultptr
= new wxDateTime((wxDateTime
&) result
);
18729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18737 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18741 int arg3
= (int) wxDateTime::Mon
;
18742 int arg4
= (int) wxDateTime::Monday_First
;
18744 PyObject
* obj0
= 0 ;
18745 PyObject
* obj1
= 0 ;
18746 PyObject
* obj2
= 0 ;
18747 PyObject
* obj3
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18755 arg2
= (int)SWIG_As_int(obj1
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 arg3
= (int)SWIG_As_int(obj2
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18762 arg4
= (int)SWIG_As_int(obj3
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18781 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18785 int arg3
= (int) wxDateTime::Mon
;
18786 int arg4
= (int) wxDateTime::Monday_First
;
18788 PyObject
* obj0
= 0 ;
18789 PyObject
* obj1
= 0 ;
18790 PyObject
* obj2
= 0 ;
18791 PyObject
* obj3
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18799 arg2
= (int)SWIG_As_int(obj1
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 arg3
= (int)SWIG_As_int(obj2
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18806 arg4
= (int)SWIG_As_int(obj3
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18817 wxDateTime
* resultptr
;
18818 resultptr
= new wxDateTime((wxDateTime
&) result
);
18819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18827 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18831 int arg3
= (int) wxDateTime::Mon
;
18833 PyObject
* obj0
= 0 ;
18834 PyObject
* obj1
= 0 ;
18835 PyObject
* obj2
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18841 arg1
= (int)SWIG_As_int(obj0
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18843 arg2
= (int)SWIG_As_int(obj1
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 arg3
= (int)SWIG_As_int(obj2
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18857 wxDateTime
* resultptr
;
18858 resultptr
= new wxDateTime((wxDateTime
&) result
);
18859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18867 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18870 int arg2
= (int) wxDateTime::Inv_Month
;
18871 int arg3
= (int) wxDateTime::Inv_Year
;
18872 wxDateTime
*result
;
18873 PyObject
* obj0
= 0 ;
18874 PyObject
* obj1
= 0 ;
18875 PyObject
* obj2
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self",(char *) "month",(char *) "year", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18884 arg2
= (int)SWIG_As_int(obj1
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18888 arg3
= (int)SWIG_As_int(obj2
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18895 result
= (wxDateTime
*) &_result_ref
;
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18908 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18911 int arg2
= (int) wxDateTime::Inv_Month
;
18912 int arg3
= (int) wxDateTime::Inv_Year
;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 PyObject
* obj2
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "self",(char *) "month",(char *) "year", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18925 arg2
= (int)SWIG_As_int(obj1
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18929 arg3
= (int)SWIG_As_int(obj2
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18940 wxDateTime
* resultptr
;
18941 resultptr
= new wxDateTime((wxDateTime
&) result
);
18942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18950 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18954 wxDateTime
*result
;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self",(char *) "yday", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18964 arg2
= (int)SWIG_As_int(obj1
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18970 result
= (wxDateTime
*) &_result_ref
;
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18983 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self",(char *) "yday", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 arg2
= (int)SWIG_As_int(obj1
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (arg1
)->GetYearDay(arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19007 wxDateTime
* resultptr
;
19008 resultptr
= new wxDateTime((wxDateTime
&) result
);
19009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19017 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (double)(arg1
)->GetJulianDayNumber();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= SWIG_From_double((double)result
);
19043 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19047 PyObject
* obj0
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 result
= (double)(arg1
)->GetJDN();
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 resultobj
= SWIG_From_double((double)result
);
19069 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 resultobj
= SWIG_From_double((double)result
);
19095 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "self", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 result
= (double)(arg1
)->GetMJD();
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 resultobj
= SWIG_From_double((double)result
);
19121 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19125 PyObject
* obj0
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "self", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (double)(arg1
)->GetRataDie();
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= SWIG_From_double((double)result
);
19147 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19150 wxDateTime::TimeZone
*arg2
= 0 ;
19151 bool arg3
= (bool) false ;
19153 bool temp2
= false ;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj1
= 0 ;
19156 PyObject
* obj2
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19165 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19169 arg3
= (bool)SWIG_As_bool(obj2
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19180 wxDateTime
* resultptr
;
19181 resultptr
= new wxDateTime((wxDateTime
&) result
);
19182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19185 if (temp2
) delete arg2
;
19190 if (temp2
) delete arg2
;
19196 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19199 wxDateTime::TimeZone
*arg2
= 0 ;
19200 bool arg3
= (bool) false ;
19201 wxDateTime
*result
;
19202 bool temp2
= false ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 PyObject
* obj2
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19214 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19218 arg3
= (bool)SWIG_As_bool(obj2
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19225 result
= (wxDateTime
*) &_result_ref
;
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19233 if (temp2
) delete arg2
;
19238 if (temp2
) delete arg2
;
19244 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19247 bool arg2
= (bool) false ;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self",(char *) "noDST", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 arg2
= (bool)SWIG_As_bool(obj1
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (arg1
)->ToGMT(arg2
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19270 wxDateTime
* resultptr
;
19271 resultptr
= new wxDateTime((wxDateTime
&) result
);
19272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19280 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19283 bool arg2
= (bool) false ;
19284 wxDateTime
*result
;
19285 PyObject
* obj0
= 0 ;
19286 PyObject
* obj1
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self",(char *) "noDST", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19295 arg2
= (bool)SWIG_As_bool(obj1
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19302 result
= (wxDateTime
*) &_result_ref
;
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19315 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19318 int arg2
= (int) wxDateTime::Country_Default
;
19320 PyObject
* obj0
= 0 ;
19321 PyObject
* obj1
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self",(char *) "country", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19330 arg2
= (int)SWIG_As_int(obj1
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_From_int((int)result
);
19347 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19375 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19376 PyObject
*resultobj
;
19377 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19379 PyObject
* obj0
= 0 ;
19380 char *kwnames
[] = {
19381 (char *) "self", NULL
19384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19401 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19404 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19405 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19407 bool temp2
= false ;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self",(char *) "tz", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= SWIG_From_int((int)result
);
19432 if (temp2
) delete arg2
;
19437 if (temp2
) delete arg2
;
19443 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19446 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19447 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19449 bool temp2
= false ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self",(char *) "tz", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19461 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_From_int((int)result
);
19474 if (temp2
) delete arg2
;
19479 if (temp2
) delete arg2
;
19485 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
;
19487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19488 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19489 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19491 bool temp2
= false ;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self",(char *) "tz", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19503 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= SWIG_From_int((int)result
);
19516 if (temp2
) delete arg2
;
19521 if (temp2
) delete arg2
;
19527 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
;
19529 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19530 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19531 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19533 bool temp2
= false ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self",(char *) "tz", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19545 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_From_int((int)result
);
19558 if (temp2
) delete arg2
;
19563 if (temp2
) delete arg2
;
19569 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19572 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19573 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19575 bool temp2
= false ;
19576 PyObject
* obj0
= 0 ;
19577 PyObject
* obj1
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self",(char *) "tz", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19587 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_From_int((int)result
);
19600 if (temp2
) delete arg2
;
19605 if (temp2
) delete arg2
;
19611 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19614 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19615 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19617 bool temp2
= false ;
19618 PyObject
* obj0
= 0 ;
19619 PyObject
* obj1
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self",(char *) "tz", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19629 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19640 resultobj
= SWIG_From_int((int)result
);
19642 if (temp2
) delete arg2
;
19647 if (temp2
) delete arg2
;
19653 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19656 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19657 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19659 bool temp2
= false ;
19660 PyObject
* obj0
= 0 ;
19661 PyObject
* obj1
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self",(char *) "tz", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19671 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_From_int((int)result
);
19684 if (temp2
) delete arg2
;
19689 if (temp2
) delete arg2
;
19695 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19698 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19699 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19701 bool temp2
= false ;
19702 PyObject
* obj0
= 0 ;
19703 PyObject
* obj1
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self",(char *) "tz", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19713 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= SWIG_From_int((int)result
);
19726 if (temp2
) delete arg2
;
19731 if (temp2
) delete arg2
;
19737 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19740 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19741 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19743 bool temp2
= false ;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self",(char *) "tz", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19755 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_From_int((int)result
);
19768 if (temp2
) delete arg2
;
19773 if (temp2
) delete arg2
;
19779 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19782 int arg2
= (int) wxDateTime::Monday_First
;
19783 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19784 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19786 bool temp3
= false ;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 PyObject
* obj2
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self",(char *) "flags",(char *) "tz", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19798 arg2
= (int)SWIG_As_int(obj1
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19803 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 resultobj
= SWIG_From_int((int)result
);
19816 if (temp3
) delete arg3
;
19821 if (temp3
) delete arg3
;
19827 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
;
19829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19830 int arg2
= (int) wxDateTime::Monday_First
;
19831 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19832 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19834 bool temp3
= false ;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 PyObject
* obj2
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self",(char *) "flags",(char *) "tz", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 arg2
= (int)SWIG_As_int(obj1
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19851 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 resultobj
= SWIG_From_int((int)result
);
19864 if (temp3
) delete arg3
;
19869 if (temp3
) delete arg3
;
19875 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19878 int arg2
= (int) wxDateTime::Country_Default
;
19880 PyObject
* obj0
= 0 ;
19881 PyObject
* obj1
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self",(char *) "country", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 arg2
= (int)SWIG_As_int(obj1
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19895 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19909 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19912 wxDateTime
*arg2
= 0 ;
19914 PyObject
* obj0
= 0 ;
19915 PyObject
* obj1
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self",(char *) "datetime", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19926 if (arg2
== NULL
) {
19927 PyErr_SetString(PyExc_TypeError
,"null reference");
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19946 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19949 wxDateTime
*arg2
= 0 ;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self",(char *) "datetime", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19963 if (arg2
== NULL
) {
19964 PyErr_SetString(PyExc_TypeError
,"null reference");
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19983 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
;
19985 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19986 wxDateTime
*arg2
= 0 ;
19988 PyObject
* obj0
= 0 ;
19989 PyObject
* obj1
= 0 ;
19990 char *kwnames
[] = {
19991 (char *) "self",(char *) "datetime", NULL
19994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20000 if (arg2
== NULL
) {
20001 PyErr_SetString(PyExc_TypeError
,"null reference");
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20020 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20023 wxDateTime
*arg2
= 0 ;
20024 wxDateTime
*arg3
= 0 ;
20026 PyObject
* obj0
= 0 ;
20027 PyObject
* obj1
= 0 ;
20028 PyObject
* obj2
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self",(char *) "t1",(char *) "t2", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20039 if (arg2
== NULL
) {
20040 PyErr_SetString(PyExc_TypeError
,"null reference");
20043 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20046 if (arg3
== NULL
) {
20047 PyErr_SetString(PyExc_TypeError
,"null reference");
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20066 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20069 wxDateTime
*arg2
= 0 ;
20070 wxDateTime
*arg3
= 0 ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 PyObject
* obj2
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self",(char *) "t1",(char *) "t2", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20085 if (arg2
== NULL
) {
20086 PyErr_SetString(PyExc_TypeError
,"null reference");
20089 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20092 if (arg3
== NULL
) {
20093 PyErr_SetString(PyExc_TypeError
,"null reference");
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20112 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20115 wxDateTime
*arg2
= 0 ;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char *kwnames
[] = {
20120 (char *) "self",(char *) "dt", NULL
20123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20129 if (arg2
== NULL
) {
20130 PyErr_SetString(PyExc_TypeError
,"null reference");
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20149 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20150 PyObject
*resultobj
;
20151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20152 wxDateTime
*arg2
= 0 ;
20154 PyObject
* obj0
= 0 ;
20155 PyObject
* obj1
= 0 ;
20156 char *kwnames
[] = {
20157 (char *) "self",(char *) "dt", NULL
20160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20166 if (arg2
== NULL
) {
20167 PyErr_SetString(PyExc_TypeError
,"null reference");
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20186 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20187 PyObject
*resultobj
;
20188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20189 wxDateTime
*arg2
= 0 ;
20190 wxTimeSpan
*arg3
= 0 ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20194 PyObject
* obj2
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self",(char *) "dt",(char *) "ts", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20205 if (arg2
== NULL
) {
20206 PyErr_SetString(PyExc_TypeError
,"null reference");
20209 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20212 if (arg3
== NULL
) {
20213 PyErr_SetString(PyExc_TypeError
,"null reference");
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20232 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20235 wxTimeSpan
*arg2
= 0 ;
20236 wxDateTime
*result
;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "diff", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20249 if (arg2
== NULL
) {
20250 PyErr_SetString(PyExc_TypeError
,"null reference");
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20257 result
= (wxDateTime
*) &_result_ref
;
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20270 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20273 wxDateSpan
*arg2
= 0 ;
20274 wxDateTime
*result
;
20275 PyObject
* obj0
= 0 ;
20276 PyObject
* obj1
= 0 ;
20277 char *kwnames
[] = {
20278 (char *) "self",(char *) "diff", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20287 if (arg2
== NULL
) {
20288 PyErr_SetString(PyExc_TypeError
,"null reference");
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20295 result
= (wxDateTime
*) &_result_ref
;
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20308 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20311 wxTimeSpan
*arg2
= 0 ;
20312 wxDateTime
*result
;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self",(char *) "diff", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20325 if (arg2
== NULL
) {
20326 PyErr_SetString(PyExc_TypeError
,"null reference");
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20333 result
= (wxDateTime
*) &_result_ref
;
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20346 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20349 wxDateSpan
*arg2
= 0 ;
20350 wxDateTime
*result
;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self",(char *) "diff", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20363 if (arg2
== NULL
) {
20364 PyErr_SetString(PyExc_TypeError
,"null reference");
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20371 result
= (wxDateTime
*) &_result_ref
;
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20384 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20387 wxDateTime
*arg2
= 0 ;
20389 PyObject
* obj0
= 0 ;
20390 PyObject
* obj1
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self",(char *) "dt", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20401 if (arg2
== NULL
) {
20402 PyErr_SetString(PyExc_TypeError
,"null reference");
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20413 wxTimeSpan
* resultptr
;
20414 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20423 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20424 PyObject
*resultobj
;
20425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20426 wxTimeSpan
*arg2
= 0 ;
20427 wxDateTime
*result
;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20431 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20433 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20437 if (arg2
== NULL
) {
20438 PyErr_SetString(PyExc_TypeError
,"null reference");
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20445 result
= (wxDateTime
*) &_result_ref
;
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20458 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20459 PyObject
*resultobj
;
20460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20461 wxDateSpan
*arg2
= 0 ;
20462 wxDateTime
*result
;
20463 PyObject
* obj0
= 0 ;
20464 PyObject
* obj1
= 0 ;
20466 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20468 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20472 if (arg2
== NULL
) {
20473 PyErr_SetString(PyExc_TypeError
,"null reference");
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20479 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20480 result
= (wxDateTime
*) &_result_ref
;
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20493 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20498 argc
= PyObject_Length(args
);
20499 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20500 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20506 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20516 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20524 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20532 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20542 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20550 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20555 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20560 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20561 PyObject
*resultobj
;
20562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20563 wxTimeSpan
*arg2
= 0 ;
20564 wxDateTime
*result
;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20568 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20570 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20574 if (arg2
== NULL
) {
20575 PyErr_SetString(PyExc_TypeError
,"null reference");
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20582 result
= (wxDateTime
*) &_result_ref
;
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20595 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20596 PyObject
*resultobj
;
20597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20598 wxDateSpan
*arg2
= 0 ;
20599 wxDateTime
*result
;
20600 PyObject
* obj0
= 0 ;
20601 PyObject
* obj1
= 0 ;
20603 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20605 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20609 if (arg2
== NULL
) {
20610 PyErr_SetString(PyExc_TypeError
,"null reference");
20614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20617 result
= (wxDateTime
*) &_result_ref
;
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20630 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20635 argc
= PyObject_Length(args
);
20636 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20637 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20643 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20653 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20661 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20669 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20679 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20687 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20692 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20697 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20698 PyObject
*resultobj
;
20699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20700 wxTimeSpan
*arg2
= 0 ;
20702 PyObject
* obj0
= 0 ;
20703 PyObject
* obj1
= 0 ;
20705 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20711 if (arg2
== NULL
) {
20712 PyErr_SetString(PyExc_TypeError
,"null reference");
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20723 wxDateTime
* resultptr
;
20724 resultptr
= new wxDateTime((wxDateTime
&) result
);
20725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20733 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20734 PyObject
*resultobj
;
20735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20736 wxDateSpan
*arg2
= 0 ;
20738 PyObject
* obj0
= 0 ;
20739 PyObject
* obj1
= 0 ;
20741 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20747 if (arg2
== NULL
) {
20748 PyErr_SetString(PyExc_TypeError
,"null reference");
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20759 wxDateTime
* resultptr
;
20760 resultptr
= new wxDateTime((wxDateTime
&) result
);
20761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20769 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20774 argc
= PyObject_Length(args
);
20775 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20776 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20782 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20792 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20800 return _wrap_DateTime___add____SWIG_0(self
,args
);
20808 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20818 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20826 return _wrap_DateTime___add____SWIG_1(self
,args
);
20831 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20836 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20837 PyObject
*resultobj
;
20838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20839 wxDateTime
*arg2
= 0 ;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20844 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20850 if (arg2
== NULL
) {
20851 PyErr_SetString(PyExc_TypeError
,"null reference");
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20862 wxTimeSpan
* resultptr
;
20863 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20872 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20873 PyObject
*resultobj
;
20874 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20875 wxTimeSpan
*arg2
= 0 ;
20877 PyObject
* obj0
= 0 ;
20878 PyObject
* obj1
= 0 ;
20880 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20886 if (arg2
== NULL
) {
20887 PyErr_SetString(PyExc_TypeError
,"null reference");
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20898 wxDateTime
* resultptr
;
20899 resultptr
= new wxDateTime((wxDateTime
&) result
);
20900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20908 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20909 PyObject
*resultobj
;
20910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20911 wxDateSpan
*arg2
= 0 ;
20913 PyObject
* obj0
= 0 ;
20914 PyObject
* obj1
= 0 ;
20916 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20922 if (arg2
== NULL
) {
20923 PyErr_SetString(PyExc_TypeError
,"null reference");
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20934 wxDateTime
* resultptr
;
20935 resultptr
= new wxDateTime((wxDateTime
&) result
);
20936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20944 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20949 argc
= PyObject_Length(args
);
20950 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20951 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20957 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20967 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20975 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20983 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20993 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21001 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21009 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21019 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21027 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21032 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21037 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21038 PyObject
*resultobj
;
21039 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21040 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21045 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21066 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21067 PyObject
*resultobj
;
21068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21069 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21071 PyObject
* obj0
= 0 ;
21072 PyObject
* obj1
= 0 ;
21074 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21095 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21096 PyObject
*resultobj
;
21097 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21098 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21100 PyObject
* obj0
= 0 ;
21101 PyObject
* obj1
= 0 ;
21103 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21124 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21125 PyObject
*resultobj
;
21126 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21127 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21129 PyObject
* obj0
= 0 ;
21130 PyObject
* obj1
= 0 ;
21132 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21153 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21154 PyObject
*resultobj
;
21155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21156 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21158 PyObject
* obj0
= 0 ;
21159 PyObject
* obj1
= 0 ;
21161 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21182 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21183 PyObject
*resultobj
;
21184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21185 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21190 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21211 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21213 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21214 wxString
*arg2
= 0 ;
21216 bool temp2
= false ;
21217 PyObject
* obj0
= 0 ;
21218 PyObject
* obj1
= 0 ;
21219 char *kwnames
[] = {
21220 (char *) "self",(char *) "date", NULL
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21227 arg2
= wxString_in_helper(obj1
);
21228 if (arg2
== NULL
) SWIG_fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_From_int((int)result
);
21253 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21256 wxString
*arg2
= 0 ;
21257 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21258 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21259 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21260 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21262 bool temp2
= false ;
21263 bool temp3
= false ;
21264 PyObject
* obj0
= 0 ;
21265 PyObject
* obj1
= 0 ;
21266 PyObject
* obj2
= 0 ;
21267 PyObject
* obj3
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21276 arg2
= wxString_in_helper(obj1
);
21277 if (arg2
== NULL
) SWIG_fail
;
21282 arg3
= wxString_in_helper(obj2
);
21283 if (arg3
== NULL
) SWIG_fail
;
21288 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21291 if (arg4
== NULL
) {
21292 PyErr_SetString(PyExc_TypeError
,"null reference");
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_From_int((int)result
);
21326 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21329 wxString
*arg2
= 0 ;
21331 bool temp2
= false ;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 char *kwnames
[] = {
21335 (char *) "self",(char *) "datetime", NULL
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 arg2
= wxString_in_helper(obj1
);
21343 if (arg2
== NULL
) SWIG_fail
;
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= SWIG_From_int((int)result
);
21368 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21371 wxString
*arg2
= 0 ;
21373 bool temp2
= false ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self",(char *) "date", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21384 arg2
= wxString_in_helper(obj1
);
21385 if (arg2
== NULL
) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= SWIG_From_int((int)result
);
21410 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21413 wxString
*arg2
= 0 ;
21415 bool temp2
= false ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self",(char *) "time", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21426 arg2
= wxString_in_helper(obj1
);
21427 if (arg2
== NULL
) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= SWIG_From_int((int)result
);
21452 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21455 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21456 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21457 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21458 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21460 bool temp2
= false ;
21461 bool temp3
= false ;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 PyObject
* obj2
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self",(char *) "format",(char *) "tz", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21474 arg2
= wxString_in_helper(obj1
);
21475 if (arg2
== NULL
) SWIG_fail
;
21481 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21504 if (temp3
) delete arg3
;
21513 if (temp3
) delete arg3
;
21519 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21523 PyObject
* obj0
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21551 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21583 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21587 PyObject
* obj0
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21615 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21647 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21650 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21652 return Py_BuildValue((char *)"");
21654 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21655 PyObject
*resultobj
;
21658 PyObject
* obj0
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "sec", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21664 arg1
= (long)SWIG_As_long(obj0
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= wxTimeSpan::Seconds(arg1
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21674 wxTimeSpan
* resultptr
;
21675 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21684 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21687 char *kwnames
[] = {
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= wxTimeSpan::Second();
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21700 wxTimeSpan
* resultptr
;
21701 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21710 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21714 PyObject
* obj0
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "min", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21720 arg1
= (long)SWIG_As_long(obj0
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= wxTimeSpan::Minutes(arg1
);
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21730 wxTimeSpan
* resultptr
;
21731 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21740 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21743 char *kwnames
[] = {
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 result
= wxTimeSpan::Minute();
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21756 wxTimeSpan
* resultptr
;
21757 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21766 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
;
21770 PyObject
* obj0
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "hours", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21776 arg1
= (long)SWIG_As_long(obj0
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 result
= wxTimeSpan::Hours(arg1
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21786 wxTimeSpan
* resultptr
;
21787 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21796 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21799 char *kwnames
[] = {
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 result
= wxTimeSpan::Hour();
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21812 wxTimeSpan
* resultptr
;
21813 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21822 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
;
21826 PyObject
* obj0
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "days", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21832 arg1
= (long)SWIG_As_long(obj0
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 result
= wxTimeSpan::Days(arg1
);
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21842 wxTimeSpan
* resultptr
;
21843 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21852 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
;
21855 char *kwnames
[] = {
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= wxTimeSpan::Day();
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 wxTimeSpan
* resultptr
;
21869 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21878 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21882 PyObject
* obj0
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "days", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21888 arg1
= (long)SWIG_As_long(obj0
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= wxTimeSpan::Weeks(arg1
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21898 wxTimeSpan
* resultptr
;
21899 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21908 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
;
21911 char *kwnames
[] = {
21915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= wxTimeSpan::Week();
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21924 wxTimeSpan
* resultptr
;
21925 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21934 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 long arg1
= (long) 0 ;
21937 long arg2
= (long) 0 ;
21938 long arg3
= (long) 0 ;
21939 long arg4
= (long) 0 ;
21940 wxTimeSpan
*result
;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 PyObject
* obj2
= 0 ;
21944 PyObject
* obj3
= 0 ;
21945 char *kwnames
[] = {
21946 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21951 arg1
= (long)SWIG_As_long(obj0
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21955 arg2
= (long)SWIG_As_long(obj1
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21959 arg3
= (long)SWIG_As_long(obj2
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21963 arg4
= (long)SWIG_As_long(obj3
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21980 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21982 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21998 Py_INCREF(Py_None
); resultobj
= Py_None
;
22005 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
;
22007 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22008 wxTimeSpan
*arg2
= 0 ;
22009 wxTimeSpan
*result
;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 char *kwnames
[] = {
22013 (char *) "self",(char *) "diff", NULL
22016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22022 if (arg2
== NULL
) {
22023 PyErr_SetString(PyExc_TypeError
,"null reference");
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22030 result
= (wxTimeSpan
*) &_result_ref
;
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22043 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22046 wxTimeSpan
*arg2
= 0 ;
22047 wxTimeSpan
*result
;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self",(char *) "diff", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22060 if (arg2
== NULL
) {
22061 PyErr_SetString(PyExc_TypeError
,"null reference");
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22068 result
= (wxTimeSpan
*) &_result_ref
;
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22081 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22085 wxTimeSpan
*result
;
22086 PyObject
* obj0
= 0 ;
22087 PyObject
* obj1
= 0 ;
22088 char *kwnames
[] = {
22089 (char *) "self",(char *) "n", NULL
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22095 arg2
= (int)SWIG_As_int(obj1
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22101 result
= (wxTimeSpan
*) &_result_ref
;
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22114 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22117 wxTimeSpan
*result
;
22118 PyObject
* obj0
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22130 result
= (wxTimeSpan
*) &_result_ref
;
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22143 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22163 wxTimeSpan
* resultptr
;
22164 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22173 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22176 wxTimeSpan
*arg2
= 0 ;
22177 wxTimeSpan
*result
;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self",(char *) "diff", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22186 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22190 if (arg2
== NULL
) {
22191 PyErr_SetString(PyExc_TypeError
,"null reference");
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22198 result
= (wxTimeSpan
*) &_result_ref
;
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22211 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
;
22213 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22214 wxTimeSpan
*arg2
= 0 ;
22215 wxTimeSpan
*result
;
22216 PyObject
* obj0
= 0 ;
22217 PyObject
* obj1
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self",(char *) "diff", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22224 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22228 if (arg2
== NULL
) {
22229 PyErr_SetString(PyExc_TypeError
,"null reference");
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22236 result
= (wxTimeSpan
*) &_result_ref
;
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22249 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22253 wxTimeSpan
*result
;
22254 PyObject
* obj0
= 0 ;
22255 PyObject
* obj1
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self",(char *) "n", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22262 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22263 arg2
= (int)SWIG_As_int(obj1
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22269 result
= (wxTimeSpan
*) &_result_ref
;
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22282 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
;
22284 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22285 wxTimeSpan
*result
;
22286 PyObject
* obj0
= 0 ;
22287 char *kwnames
[] = {
22288 (char *) "self", NULL
22291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22298 result
= (wxTimeSpan
*) &_result_ref
;
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22311 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22314 wxTimeSpan
*arg2
= 0 ;
22316 PyObject
* obj0
= 0 ;
22317 PyObject
* obj1
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self",(char *) "other", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22328 if (arg2
== NULL
) {
22329 PyErr_SetString(PyExc_TypeError
,"null reference");
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22340 wxTimeSpan
* resultptr
;
22341 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22350 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22353 wxTimeSpan
*arg2
= 0 ;
22355 PyObject
* obj0
= 0 ;
22356 PyObject
* obj1
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self",(char *) "other", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22367 if (arg2
== NULL
) {
22368 PyErr_SetString(PyExc_TypeError
,"null reference");
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22379 wxTimeSpan
* resultptr
;
22380 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22389 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22394 PyObject
* obj0
= 0 ;
22395 PyObject
* obj1
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self",(char *) "n", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22403 arg2
= (int)SWIG_As_int(obj1
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= wxTimeSpan___mul__(arg1
,arg2
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22413 wxTimeSpan
* resultptr
;
22414 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22423 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22428 PyObject
* obj0
= 0 ;
22429 PyObject
* obj1
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self",(char *) "n", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22437 arg2
= (int)SWIG_As_int(obj1
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22447 wxTimeSpan
* resultptr
;
22448 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22457 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22460 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22462 PyObject
* obj0
= 0 ;
22463 PyObject
* obj1
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self",(char *) "other", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22489 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22492 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 PyObject
* obj1
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self",(char *) "other", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22521 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22524 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 char *kwnames
[] = {
22529 (char *) "self",(char *) "other", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22553 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22556 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22558 PyObject
* obj0
= 0 ;
22559 PyObject
* obj1
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self",(char *) "other", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22585 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22588 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22590 PyObject
* obj0
= 0 ;
22591 PyObject
* obj1
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self",(char *) "other", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22617 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22620 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 char *kwnames
[] = {
22625 (char *) "self",(char *) "other", NULL
22628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22649 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 char *kwnames
[] = {
22655 (char *) "self", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22677 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22705 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
;
22707 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22709 PyObject
* obj0
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22733 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22736 wxTimeSpan
*arg2
= 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "ts", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22750 if (arg2
== NULL
) {
22751 PyErr_SetString(PyExc_TypeError
,"null reference");
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22770 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
;
22772 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22773 wxTimeSpan
*arg2
= 0 ;
22775 PyObject
* obj0
= 0 ;
22776 PyObject
* obj1
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self",(char *) "ts", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22787 if (arg2
== NULL
) {
22788 PyErr_SetString(PyExc_TypeError
,"null reference");
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22807 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22808 PyObject
*resultobj
;
22809 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22810 wxTimeSpan
*arg2
= 0 ;
22812 PyObject
* obj0
= 0 ;
22813 PyObject
* obj1
= 0 ;
22814 char *kwnames
[] = {
22815 (char *) "self",(char *) "t", NULL
22818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22824 if (arg2
== NULL
) {
22825 PyErr_SetString(PyExc_TypeError
,"null reference");
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22844 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22848 PyObject
* obj0
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 resultobj
= SWIG_From_int((int)result
);
22870 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_From_int((int)result
);
22896 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 resultobj
= SWIG_From_int((int)result
);
22922 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 char *kwnames
[] = {
22928 (char *) "self", NULL
22931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_From_int((int)result
);
22948 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22952 PyObject
* obj0
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22968 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22969 hi
= PyLong_FromLong( (&result
)->GetHi() );
22970 lo
= PyLong_FromLong( (&result
)->GetLo() );
22971 shifter
= PyLong_FromLong(32);
22972 shifted
= PyNumber_Lshift(hi
, shifter
);
22973 resultobj
= PyNumber_Or(shifted
, lo
);
22976 Py_DECREF(shifter
);
22977 Py_DECREF(shifted
);
22985 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22989 PyObject
* obj0
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23005 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23006 hi
= PyLong_FromLong( (&result
)->GetHi() );
23007 lo
= PyLong_FromLong( (&result
)->GetLo() );
23008 shifter
= PyLong_FromLong(32);
23009 shifted
= PyNumber_Lshift(hi
, shifter
);
23010 resultobj
= PyNumber_Or(shifted
, lo
);
23013 Py_DECREF(shifter
);
23014 Py_DECREF(shifted
);
23022 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23024 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23025 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23026 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23028 bool temp2
= false ;
23029 PyObject
* obj0
= 0 ;
23030 PyObject
* obj1
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "self",(char *) "format", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23040 arg2
= wxString_in_helper(obj1
);
23041 if (arg2
== NULL
) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23073 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23076 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23078 return Py_BuildValue((char *)"");
23080 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
;
23082 int arg1
= (int) 0 ;
23083 int arg2
= (int) 0 ;
23084 int arg3
= (int) 0 ;
23085 int arg4
= (int) 0 ;
23086 wxDateSpan
*result
;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 PyObject
* obj2
= 0 ;
23090 PyObject
* obj3
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23097 arg1
= (int)SWIG_As_int(obj0
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23101 arg2
= (int)SWIG_As_int(obj1
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23105 arg3
= (int)SWIG_As_int(obj2
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 arg4
= (int)SWIG_As_int(obj3
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23126 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23129 PyObject
* obj0
= 0 ;
23130 char *kwnames
[] = {
23131 (char *) "self", NULL
23134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 wxPyEndAllowThreads(__tstate
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 Py_INCREF(Py_None
); resultobj
= Py_None
;
23151 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
;
23155 PyObject
* obj0
= 0 ;
23156 char *kwnames
[] = {
23157 (char *) "days", NULL
23160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23161 arg1
= (int)SWIG_As_int(obj0
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 result
= wxDateSpan::Days(arg1
);
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23171 wxDateSpan
* resultptr
;
23172 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23181 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
;
23184 char *kwnames
[] = {
23188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 result
= wxDateSpan::Day();
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23197 wxDateSpan
* resultptr
;
23198 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23207 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23211 PyObject
* obj0
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "weeks", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23217 arg1
= (int)SWIG_As_int(obj0
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 result
= wxDateSpan::Weeks(arg1
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23227 wxDateSpan
* resultptr
;
23228 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23237 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23240 char *kwnames
[] = {
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= wxDateSpan::Week();
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23253 wxDateSpan
* resultptr
;
23254 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23263 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23267 PyObject
* obj0
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "mon", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23273 arg1
= (int)SWIG_As_int(obj0
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= wxDateSpan::Months(arg1
);
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23283 wxDateSpan
* resultptr
;
23284 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23293 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23296 char *kwnames
[] = {
23300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 result
= wxDateSpan::Month();
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23309 wxDateSpan
* resultptr
;
23310 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23319 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
;
23323 PyObject
* obj0
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "years", NULL
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23329 arg1
= (int)SWIG_As_int(obj0
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 result
= wxDateSpan::Years(arg1
);
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23339 wxDateSpan
* resultptr
;
23340 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23349 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
;
23352 char *kwnames
[] = {
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= wxDateSpan::Year();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23365 wxDateSpan
* resultptr
;
23366 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23375 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
;
23377 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23379 wxDateSpan
*result
;
23380 PyObject
* obj0
= 0 ;
23381 PyObject
* obj1
= 0 ;
23382 char *kwnames
[] = {
23383 (char *) "self",(char *) "n", NULL
23386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23389 arg2
= (int)SWIG_As_int(obj1
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23395 result
= (wxDateSpan
*) &_result_ref
;
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23408 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
;
23410 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23412 wxDateSpan
*result
;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self",(char *) "n", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23422 arg2
= (int)SWIG_As_int(obj1
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23428 result
= (wxDateSpan
*) &_result_ref
;
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23441 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23445 wxDateSpan
*result
;
23446 PyObject
* obj0
= 0 ;
23447 PyObject
* obj1
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self",(char *) "n", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23455 arg2
= (int)SWIG_As_int(obj1
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23461 result
= (wxDateSpan
*) &_result_ref
;
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23474 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23478 wxDateSpan
*result
;
23479 PyObject
* obj0
= 0 ;
23480 PyObject
* obj1
= 0 ;
23481 char *kwnames
[] = {
23482 (char *) "self",(char *) "n", NULL
23485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23488 arg2
= (int)SWIG_As_int(obj1
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23494 result
= (wxDateSpan
*) &_result_ref
;
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23507 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= SWIG_From_int((int)result
);
23533 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23537 PyObject
* obj0
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= SWIG_From_int((int)result
);
23559 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23561 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23563 PyObject
* obj0
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= SWIG_From_int((int)result
);
23585 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
;
23587 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23589 PyObject
* obj0
= 0 ;
23590 char *kwnames
[] = {
23591 (char *) "self", NULL
23594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 resultobj
= SWIG_From_int((int)result
);
23611 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23613 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23615 PyObject
* obj0
= 0 ;
23616 char *kwnames
[] = {
23617 (char *) "self", NULL
23620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= SWIG_From_int((int)result
);
23637 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23640 wxDateSpan
*arg2
= 0 ;
23641 wxDateSpan
*result
;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 char *kwnames
[] = {
23645 (char *) "self",(char *) "other", NULL
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23654 if (arg2
== NULL
) {
23655 PyErr_SetString(PyExc_TypeError
,"null reference");
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23662 result
= (wxDateSpan
*) &_result_ref
;
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23675 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23677 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23678 wxDateSpan
*arg2
= 0 ;
23679 wxDateSpan
*result
;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 char *kwnames
[] = {
23683 (char *) "self",(char *) "other", NULL
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23692 if (arg2
== NULL
) {
23693 PyErr_SetString(PyExc_TypeError
,"null reference");
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23700 result
= (wxDateSpan
*) &_result_ref
;
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23713 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23716 wxDateSpan
*result
;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23729 result
= (wxDateSpan
*) &_result_ref
;
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23742 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
;
23744 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23746 wxDateSpan
*result
;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "factor", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23756 arg2
= (int)SWIG_As_int(obj1
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23762 result
= (wxDateSpan
*) &_result_ref
;
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23775 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23778 wxDateSpan
*arg2
= 0 ;
23779 wxDateSpan
*result
;
23780 PyObject
* obj0
= 0 ;
23781 PyObject
* obj1
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self",(char *) "other", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23788 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23792 if (arg2
== NULL
) {
23793 PyErr_SetString(PyExc_TypeError
,"null reference");
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23800 result
= (wxDateSpan
*) &_result_ref
;
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23813 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23816 wxDateSpan
*arg2
= 0 ;
23817 wxDateSpan
*result
;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "other", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23826 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23830 if (arg2
== NULL
) {
23831 PyErr_SetString(PyExc_TypeError
,"null reference");
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23838 result
= (wxDateSpan
*) &_result_ref
;
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23851 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23854 wxDateSpan
*result
;
23855 PyObject
* obj0
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "self", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23867 result
= (wxDateSpan
*) &_result_ref
;
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23880 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23884 wxDateSpan
*result
;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 char *kwnames
[] = {
23888 (char *) "self",(char *) "factor", NULL
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23893 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23894 arg2
= (int)SWIG_As_int(obj1
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23900 result
= (wxDateSpan
*) &_result_ref
;
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23913 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23915 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23916 wxDateSpan
*arg2
= 0 ;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self",(char *) "other", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23930 if (arg2
== NULL
) {
23931 PyErr_SetString(PyExc_TypeError
,"null reference");
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23942 wxDateSpan
* resultptr
;
23943 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23952 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23955 wxDateSpan
*arg2
= 0 ;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23959 char *kwnames
[] = {
23960 (char *) "self",(char *) "other", NULL
23963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23969 if (arg2
== NULL
) {
23970 PyErr_SetString(PyExc_TypeError
,"null reference");
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23981 wxDateSpan
* resultptr
;
23982 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23991 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
;
23993 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self",(char *) "n", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24005 arg2
= (int)SWIG_As_int(obj1
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 result
= wxDateSpan___mul__(arg1
,arg2
);
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24015 wxDateSpan
* resultptr
;
24016 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24025 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24026 PyObject
*resultobj
;
24027 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24030 PyObject
* obj0
= 0 ;
24031 PyObject
* obj1
= 0 ;
24032 char *kwnames
[] = {
24033 (char *) "self",(char *) "n", NULL
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24039 arg2
= (int)SWIG_As_int(obj1
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= wxDateSpan___rmul__(arg1
,arg2
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24049 wxDateSpan
* resultptr
;
24050 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24059 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
;
24061 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24062 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self",(char *) "other", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24091 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24094 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24096 PyObject
* obj0
= 0 ;
24097 PyObject
* obj1
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self",(char *) "other", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24123 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24126 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24128 return Py_BuildValue((char *)"");
24130 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24133 char *kwnames
[] = {
24137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (long)wxGetLocalTime();
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= SWIG_From_long((long)result
);
24152 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24155 char *kwnames
[] = {
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= (long)wxGetUTCTime();
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24167 resultobj
= SWIG_From_long((long)result
);
24174 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24177 char *kwnames
[] = {
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= (long)wxGetCurrentTime();
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= SWIG_From_long((long)result
);
24196 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24199 char *kwnames
[] = {
24203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 result
= wxGetLocalTimeMillis();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24212 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24213 hi
= PyLong_FromLong( (&result
)->GetHi() );
24214 lo
= PyLong_FromLong( (&result
)->GetLo() );
24215 shifter
= PyLong_FromLong(32);
24216 shifted
= PyNumber_Lshift(hi
, shifter
);
24217 resultobj
= PyNumber_Or(shifted
, lo
);
24220 Py_DECREF(shifter
);
24221 Py_DECREF(shifted
);
24229 static int _wrap_DefaultDateTime_set(PyObject
*) {
24230 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24235 static PyObject
*_wrap_DefaultDateTime_get() {
24238 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24243 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
;
24246 wxDataFormat
*result
;
24247 PyObject
* obj0
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "type", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24253 arg1
= (int)SWIG_As_int(obj0
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24269 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
;
24271 wxString
*arg1
= 0 ;
24272 wxDataFormat
*result
;
24273 bool temp1
= false ;
24274 PyObject
* obj0
= 0 ;
24275 char *kwnames
[] = {
24276 (char *) "format", NULL
24279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24281 arg1
= wxString_in_helper(obj0
);
24282 if (arg1
== NULL
) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24307 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
;
24309 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24325 Py_INCREF(Py_None
); resultobj
= Py_None
;
24332 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24333 PyObject
*resultobj
;
24334 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24340 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24343 arg2
= (int)SWIG_As_int(obj1
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24361 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24362 PyObject
*resultobj
;
24363 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24369 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24372 arg2
= (int)SWIG_As_int(obj1
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24390 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24391 PyObject
*resultobj
;
24392 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24393 wxDataFormat
*arg2
= 0 ;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24398 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24404 if (arg2
== NULL
) {
24405 PyErr_SetString(PyExc_TypeError
,"null reference");
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24424 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24429 argc
= PyObject_Length(args
);
24430 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24431 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24437 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24447 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24455 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24463 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24471 _v
= SWIG_Check_int(argv
[1]);
24473 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24478 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24483 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24484 PyObject
*resultobj
;
24485 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24486 wxDataFormat
*arg2
= 0 ;
24488 PyObject
* obj0
= 0 ;
24489 PyObject
* obj1
= 0 ;
24491 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24497 if (arg2
== NULL
) {
24498 PyErr_SetString(PyExc_TypeError
,"null reference");
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24517 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24522 argc
= PyObject_Length(args
);
24523 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24524 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24530 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24540 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24548 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24556 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24564 _v
= SWIG_Check_int(argv
[1]);
24566 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24571 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24576 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "format", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 arg2
= (int)SWIG_As_int(obj1
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 (arg1
)->SetType((wxDataFormatId
)arg2
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 Py_INCREF(Py_None
); resultobj
= Py_None
;
24605 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
;
24607 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24609 PyObject
* obj0
= 0 ;
24610 char *kwnames
[] = {
24611 (char *) "self", NULL
24614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_From_int((int)result
);
24631 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24635 PyObject
* obj0
= 0 ;
24636 char *kwnames
[] = {
24637 (char *) "self", NULL
24640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= ((wxDataFormat
const *)arg1
)->GetId();
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24663 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24666 wxString
*arg2
= 0 ;
24667 bool temp2
= false ;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 char *kwnames
[] = {
24671 (char *) "self",(char *) "format", NULL
24674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24678 arg2
= wxString_in_helper(obj1
);
24679 if (arg2
== NULL
) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 (arg1
)->SetId((wxString
const &)*arg2
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 Py_INCREF(Py_None
); resultobj
= Py_None
;
24704 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24707 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24709 return Py_BuildValue((char *)"");
24711 static int _wrap_FormatInvalid_set(PyObject
*) {
24712 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24717 static PyObject
*_wrap_FormatInvalid_get() {
24720 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24725 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24728 PyObject
* obj0
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24743 Py_INCREF(Py_None
); resultobj
= Py_None
;
24750 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
;
24752 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24753 int arg2
= (int) wxDataObject::Get
;
24754 SwigValueWrapper
< wxDataFormat
> result
;
24755 PyObject
* obj0
= 0 ;
24756 PyObject
* obj1
= 0 ;
24757 char *kwnames
[] = {
24758 (char *) "self",(char *) "dir", NULL
24761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24765 arg2
= (int)SWIG_As_int(obj1
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24776 wxDataFormat
* resultptr
;
24777 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24786 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
;
24788 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24789 int arg2
= (int) wxDataObject::Get
;
24791 PyObject
* obj0
= 0 ;
24792 PyObject
* obj1
= 0 ;
24793 char *kwnames
[] = {
24794 (char *) "self",(char *) "dir", NULL
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24801 arg2
= (int)SWIG_As_int(obj1
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24818 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24821 wxDataFormat
*arg2
= 0 ;
24822 int arg3
= (int) wxDataObject::Get
;
24824 PyObject
* obj0
= 0 ;
24825 PyObject
* obj1
= 0 ;
24826 PyObject
* obj2
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self",(char *) "format",(char *) "dir", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24837 if (arg2
== NULL
) {
24838 PyErr_SetString(PyExc_TypeError
,"null reference");
24842 arg3
= (int)SWIG_As_int(obj2
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24861 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24864 wxDataFormat
*arg2
= 0 ;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "format", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24878 if (arg2
== NULL
) {
24879 PyErr_SetString(PyExc_TypeError
,"null reference");
24883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24884 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24896 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24899 int arg2
= (int) wxDataObject::Get
;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "dir", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24911 arg2
= (int)SWIG_As_int(obj1
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= result
;
24928 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24931 wxDataFormat
*arg2
= 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "format", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24945 if (arg2
== NULL
) {
24946 PyErr_SetString(PyExc_TypeError
,"null reference");
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= result
;
24963 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
;
24965 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24966 wxDataFormat
*arg2
= 0 ;
24967 PyObject
*arg3
= (PyObject
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 PyObject
* obj2
= 0 ;
24972 char *kwnames
[] = {
24973 (char *) "self",(char *) "format",(char *) "data", NULL
24976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24982 if (arg2
== NULL
) {
24983 PyErr_SetString(PyExc_TypeError
,"null reference");
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25003 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25006 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25008 return Py_BuildValue((char *)"");
25010 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
;
25012 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25013 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25014 wxDataObjectSimple
*result
;
25015 PyObject
* obj0
= 0 ;
25016 char *kwnames
[] = {
25017 (char *) "format", NULL
25020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25025 if (arg1
== NULL
) {
25026 PyErr_SetString(PyExc_TypeError
,"null reference");
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25044 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25047 wxDataFormat
*result
;
25048 PyObject
* obj0
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25060 result
= (wxDataFormat
*) &_result_ref
;
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25073 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25076 wxDataFormat
*arg2
= 0 ;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 char *kwnames
[] = {
25080 (char *) "self",(char *) "format", NULL
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25089 if (arg2
== NULL
) {
25090 PyErr_SetString(PyExc_TypeError
,"null reference");
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 Py_INCREF(Py_None
); resultobj
= Py_None
;
25107 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25108 PyObject
*resultobj
;
25109 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25111 PyObject
* obj0
= 0 ;
25112 char *kwnames
[] = {
25113 (char *) "self", NULL
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25133 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25137 PyObject
* obj0
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= result
;
25159 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25162 PyObject
*arg2
= (PyObject
*) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 char *kwnames
[] = {
25167 (char *) "self",(char *) "data", NULL
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25190 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25193 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25195 return Py_BuildValue((char *)"");
25197 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25200 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25201 wxPyDataObjectSimple
*result
;
25202 PyObject
* obj0
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "format", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25212 if (arg1
== NULL
) {
25213 PyErr_SetString(PyExc_TypeError
,"null reference");
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25231 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25234 PyObject
*arg2
= (PyObject
*) 0 ;
25235 PyObject
*arg3
= (PyObject
*) 0 ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 PyObject
* obj2
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self",(char *) "self",(char *) "_class", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 Py_INCREF(Py_None
); resultobj
= Py_None
;
25262 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25265 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25267 return Py_BuildValue((char *)"");
25269 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
;
25271 wxDataObjectComposite
*result
;
25272 char *kwnames
[] = {
25276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25291 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25294 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25295 bool arg3
= (bool) false ;
25296 PyObject
* obj0
= 0 ;
25297 PyObject
* obj1
= 0 ;
25298 PyObject
* obj2
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25307 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25309 arg3
= (bool)SWIG_As_bool(obj2
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 (arg1
)->Add(arg2
,arg3
);
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 Py_INCREF(Py_None
); resultobj
= Py_None
;
25326 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25329 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25331 return Py_BuildValue((char *)"");
25333 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25336 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25337 wxTextDataObject
*result
;
25338 bool temp1
= false ;
25339 PyObject
* obj0
= 0 ;
25340 char *kwnames
[] = {
25341 (char *) "text", NULL
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25347 arg1
= wxString_in_helper(obj0
);
25348 if (arg1
== NULL
) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25374 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
;
25376 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25378 PyObject
* obj0
= 0 ;
25379 char *kwnames
[] = {
25380 (char *) "self", NULL
25383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= (size_t)(arg1
)->GetTextLength();
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25400 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
;
25402 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "self", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 result
= (arg1
)->GetText();
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25432 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
;
25434 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25435 wxString
*arg2
= 0 ;
25436 bool temp2
= false ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 char *kwnames
[] = {
25440 (char *) "self",(char *) "text", NULL
25443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25447 arg2
= wxString_in_helper(obj1
);
25448 if (arg2
== NULL
) SWIG_fail
;
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 (arg1
)->SetText((wxString
const &)*arg2
);
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25458 Py_INCREF(Py_None
); resultobj
= Py_None
;
25473 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25476 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25478 return Py_BuildValue((char *)"");
25480 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25482 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25483 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25484 wxPyTextDataObject
*result
;
25485 bool temp1
= false ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "text", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25494 arg1
= wxString_in_helper(obj0
);
25495 if (arg1
== NULL
) SWIG_fail
;
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25521 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25524 PyObject
*arg2
= (PyObject
*) 0 ;
25525 PyObject
*arg3
= (PyObject
*) 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 PyObject
* obj2
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self",(char *) "self",(char *) "_class", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 Py_INCREF(Py_None
); resultobj
= Py_None
;
25552 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25555 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25557 return Py_BuildValue((char *)"");
25559 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
;
25561 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25562 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25563 wxBitmapDataObject
*result
;
25564 PyObject
* obj0
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "bitmap", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25574 if (arg1
== NULL
) {
25575 PyErr_SetString(PyExc_TypeError
,"null reference");
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25593 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
;
25595 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25597 PyObject
* obj0
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25613 wxBitmap
* resultptr
;
25614 resultptr
= new wxBitmap((wxBitmap
&) result
);
25615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25623 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
;
25625 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25626 wxBitmap
*arg2
= 0 ;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 char *kwnames
[] = {
25630 (char *) "self",(char *) "bitmap", NULL
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25639 if (arg2
== NULL
) {
25640 PyErr_SetString(PyExc_TypeError
,"null reference");
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25650 Py_INCREF(Py_None
); resultobj
= Py_None
;
25657 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25660 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25662 return Py_BuildValue((char *)"");
25664 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
;
25666 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25667 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25668 wxPyBitmapDataObject
*result
;
25669 PyObject
* obj0
= 0 ;
25670 char *kwnames
[] = {
25671 (char *) "bitmap", NULL
25674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25679 if (arg1
== NULL
) {
25680 PyErr_SetString(PyExc_TypeError
,"null reference");
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25698 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25699 PyObject
*resultobj
;
25700 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25701 PyObject
*arg2
= (PyObject
*) 0 ;
25702 PyObject
*arg3
= (PyObject
*) 0 ;
25703 PyObject
* obj0
= 0 ;
25704 PyObject
* obj1
= 0 ;
25705 PyObject
* obj2
= 0 ;
25706 char *kwnames
[] = {
25707 (char *) "self",(char *) "self",(char *) "_class", NULL
25710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 Py_INCREF(Py_None
); resultobj
= Py_None
;
25729 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25732 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25734 return Py_BuildValue((char *)"");
25736 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxFileDataObject
*result
;
25739 char *kwnames
[] = {
25743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 result
= (wxFileDataObject
*)new wxFileDataObject();
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25758 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25761 wxArrayString
*result
;
25762 PyObject
* obj0
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "self", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25774 result
= (wxArrayString
*) &_result_ref
;
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25781 resultobj
= wxArrayString2PyList_helper(*result
);
25789 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
;
25791 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25792 wxString
*arg2
= 0 ;
25793 bool temp2
= false ;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self",(char *) "filename", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25804 arg2
= wxString_in_helper(obj1
);
25805 if (arg2
== NULL
) SWIG_fail
;
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 (arg1
)->AddFile((wxString
const &)*arg2
);
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 Py_INCREF(Py_None
); resultobj
= Py_None
;
25830 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25833 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25835 return Py_BuildValue((char *)"");
25837 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25840 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25841 wxCustomDataObject
*result
;
25842 PyObject
* obj0
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "format", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25852 if (arg1
== NULL
) {
25853 PyErr_SetString(PyExc_TypeError
,"null reference");
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25871 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25874 PyObject
*arg2
= (PyObject
*) 0 ;
25876 PyObject
* obj0
= 0 ;
25877 PyObject
* obj1
= 0 ;
25878 char *kwnames
[] = {
25879 (char *) "self",(char *) "data", NULL
25882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25888 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25902 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
;
25904 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25906 PyObject
* obj0
= 0 ;
25907 char *kwnames
[] = {
25908 (char *) "self", NULL
25911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 result
= (size_t)(arg1
)->GetSize();
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25928 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25932 PyObject
* obj0
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25947 resultobj
= result
;
25954 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25957 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25959 return Py_BuildValue((char *)"");
25961 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxURLDataObject
*result
;
25964 char *kwnames
[] = {
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= (wxURLDataObject
*)new wxURLDataObject();
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25983 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
;
25985 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25987 PyObject
* obj0
= 0 ;
25988 char *kwnames
[] = {
25989 (char *) "self", NULL
25992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 result
= (arg1
)->GetURL();
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26015 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
;
26017 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26018 wxString
*arg2
= 0 ;
26019 bool temp2
= false ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self",(char *) "url", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26030 arg2
= wxString_in_helper(obj1
);
26031 if (arg2
== NULL
) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 (arg1
)->SetURL((wxString
const &)*arg2
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 Py_INCREF(Py_None
); resultobj
= Py_None
;
26056 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26059 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26061 return Py_BuildValue((char *)"");
26063 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
;
26065 wxMetafileDataObject
*result
;
26066 char *kwnames
[] = {
26070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26085 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
;
26087 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26088 wxMetafile
*arg2
= 0 ;
26089 PyObject
* obj0
= 0 ;
26090 PyObject
* obj1
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self",(char *) "metafile", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
26096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
26099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26101 if (arg2
== NULL
) {
26102 PyErr_SetString(PyExc_TypeError
,"null reference");
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 Py_INCREF(Py_None
); resultobj
= Py_None
;
26119 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26120 PyObject
*resultobj
;
26121 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26123 PyObject
* obj0
= 0 ;
26124 char *kwnames
[] = {
26125 (char *) "self", NULL
26128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
26129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26139 wxMetafile
* resultptr
;
26140 resultptr
= new wxMetafile((wxMetafile
&) result
);
26141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
26149 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26152 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26154 return Py_BuildValue((char *)"");
26156 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
;
26160 PyObject
* obj0
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "res", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26166 arg1
= (int)SWIG_As_int(obj0
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26184 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxWindow
*arg1
= (wxWindow
*) 0 ;
26187 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26188 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26189 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26190 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26191 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26192 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26193 wxPyDropSource
*result
;
26194 PyObject
* obj0
= 0 ;
26195 PyObject
* obj1
= 0 ;
26196 PyObject
* obj2
= 0 ;
26197 PyObject
* obj3
= 0 ;
26198 char *kwnames
[] = {
26199 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26209 if (arg2
== NULL
) {
26210 PyErr_SetString(PyExc_TypeError
,"null reference");
26215 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26218 if (arg3
== NULL
) {
26219 PyErr_SetString(PyExc_TypeError
,"null reference");
26224 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26227 if (arg4
== NULL
) {
26228 PyErr_SetString(PyExc_TypeError
,"null reference");
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26246 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
;
26248 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26249 PyObject
*arg2
= (PyObject
*) 0 ;
26250 PyObject
*arg3
= (PyObject
*) 0 ;
26252 PyObject
* obj0
= 0 ;
26253 PyObject
* obj1
= 0 ;
26254 PyObject
* obj2
= 0 ;
26255 PyObject
* obj3
= 0 ;
26256 char *kwnames
[] = {
26257 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26265 arg4
= (int)SWIG_As_int(obj3
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26269 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26271 wxPyEndAllowThreads(__tstate
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 Py_INCREF(Py_None
); resultobj
= Py_None
;
26281 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
;
26283 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 Py_INCREF(Py_None
); resultobj
= Py_None
;
26306 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26309 wxDataObject
*arg2
= 0 ;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self",(char *) "data", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26322 if (arg2
== NULL
) {
26323 PyErr_SetString(PyExc_TypeError
,"null reference");
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 (arg1
)->SetData(*arg2
);
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 Py_INCREF(Py_None
); resultobj
= Py_None
;
26340 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
;
26342 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26343 wxDataObject
*result
;
26344 PyObject
* obj0
= 0 ;
26345 char *kwnames
[] = {
26346 (char *) "self", NULL
26349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26354 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26366 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26370 wxCursor
*arg3
= 0 ;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 PyObject
* obj2
= 0 ;
26374 char *kwnames
[] = {
26375 (char *) "self",(char *) "res",(char *) "cursor", NULL
26378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26381 arg2
= (int)SWIG_As_int(obj1
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26383 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26386 if (arg3
== NULL
) {
26387 PyErr_SetString(PyExc_TypeError
,"null reference");
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 Py_INCREF(Py_None
); resultobj
= Py_None
;
26404 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26407 int arg2
= (int) wxDrag_CopyOnly
;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self",(char *) "flags", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26419 arg2
= (int)SWIG_As_int(obj1
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 result
= (int)(arg1
)->DoDragDrop(arg2
);
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_From_int((int)result
);
26436 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
;
26438 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self",(char *) "effect", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26450 arg2
= (int)SWIG_As_int(obj1
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26468 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26471 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26473 return Py_BuildValue((char *)"");
26475 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
;
26477 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26478 wxPyDropTarget
*result
;
26479 PyObject
* obj0
= 0 ;
26480 char *kwnames
[] = {
26481 (char *) "dataObject", NULL
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26487 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26503 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
;
26505 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26506 PyObject
*arg2
= (PyObject
*) 0 ;
26507 PyObject
*arg3
= (PyObject
*) 0 ;
26508 PyObject
* obj0
= 0 ;
26509 PyObject
* obj1
= 0 ;
26510 PyObject
* obj2
= 0 ;
26511 char *kwnames
[] = {
26512 (char *) "self",(char *) "self",(char *) "_class", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26522 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 Py_INCREF(Py_None
); resultobj
= Py_None
;
26534 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26535 PyObject
*resultobj
;
26536 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26537 PyObject
* obj0
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "self", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 Py_INCREF(Py_None
); resultobj
= Py_None
;
26559 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26562 wxDataObject
*result
;
26563 PyObject
* obj0
= 0 ;
26564 char *kwnames
[] = {
26565 (char *) "self", NULL
26568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26585 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26586 PyObject
*resultobj
;
26587 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26588 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26589 PyObject
* obj0
= 0 ;
26590 PyObject
* obj1
= 0 ;
26591 char *kwnames
[] = {
26592 (char *) "self",(char *) "dataObject", NULL
26595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26599 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 (arg1
)->SetDataObject(arg2
);
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26607 Py_INCREF(Py_None
); resultobj
= Py_None
;
26614 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26615 PyObject
*resultobj
;
26616 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26621 PyObject
* obj0
= 0 ;
26622 PyObject
* obj1
= 0 ;
26623 PyObject
* obj2
= 0 ;
26624 PyObject
* obj3
= 0 ;
26625 char *kwnames
[] = {
26626 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26632 arg2
= (int)SWIG_As_int(obj1
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26634 arg3
= (int)SWIG_As_int(obj2
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26636 arg4
= (int)SWIG_As_int(obj3
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= SWIG_From_int((int)result
);
26652 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
;
26654 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 PyObject
* obj2
= 0 ;
26662 PyObject
* obj3
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26670 arg2
= (int)SWIG_As_int(obj1
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26672 arg3
= (int)SWIG_As_int(obj2
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26674 arg4
= (int)SWIG_As_int(obj3
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26678 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= SWIG_From_int((int)result
);
26690 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
;
26692 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26693 PyObject
* obj0
= 0 ;
26694 char *kwnames
[] = {
26695 (char *) "self", NULL
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26703 (arg1
)->base_OnLeave();
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 Py_INCREF(Py_None
); resultobj
= Py_None
;
26715 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26716 PyObject
*resultobj
;
26717 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26723 PyObject
* obj2
= 0 ;
26724 char *kwnames
[] = {
26725 (char *) "self",(char *) "x",(char *) "y", NULL
26728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26731 arg2
= (int)SWIG_As_int(obj1
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26733 arg3
= (int)SWIG_As_int(obj2
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26737 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26751 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26752 PyObject
*resultobj
;
26753 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 char *kwnames
[] = {
26757 (char *) "self", NULL
26760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 result
= (bool)(arg1
)->GetData();
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26779 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26782 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26784 return Py_BuildValue((char *)"");
26786 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxPyTextDropTarget
*result
;
26789 char *kwnames
[] = {
26793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26808 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
;
26810 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26811 PyObject
*arg2
= (PyObject
*) 0 ;
26812 PyObject
*arg3
= (PyObject
*) 0 ;
26813 PyObject
* obj0
= 0 ;
26814 PyObject
* obj1
= 0 ;
26815 PyObject
* obj2
= 0 ;
26816 char *kwnames
[] = {
26817 (char *) "self",(char *) "self",(char *) "_class", NULL
26820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 Py_INCREF(Py_None
); resultobj
= Py_None
;
26839 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
;
26841 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26846 PyObject
* obj0
= 0 ;
26847 PyObject
* obj1
= 0 ;
26848 PyObject
* obj2
= 0 ;
26849 PyObject
* obj3
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26857 arg2
= (int)SWIG_As_int(obj1
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26859 arg3
= (int)SWIG_As_int(obj2
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26861 arg4
= (int)SWIG_As_int(obj3
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= SWIG_From_int((int)result
);
26877 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
;
26879 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 PyObject
* obj2
= 0 ;
26887 PyObject
* obj3
= 0 ;
26888 char *kwnames
[] = {
26889 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26895 arg2
= (int)SWIG_As_int(obj1
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26897 arg3
= (int)SWIG_As_int(obj2
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26899 arg4
= (int)SWIG_As_int(obj3
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= SWIG_From_int((int)result
);
26915 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
;
26917 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 char *kwnames
[] = {
26920 (char *) "self", NULL
26923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 (arg1
)->base_OnLeave();
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 Py_INCREF(Py_None
); resultobj
= Py_None
;
26940 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 PyObject
* obj2
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "x",(char *) "y", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26956 arg2
= (int)SWIG_As_int(obj1
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26958 arg3
= (int)SWIG_As_int(obj2
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26976 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
;
26978 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26983 PyObject
* obj0
= 0 ;
26984 PyObject
* obj1
= 0 ;
26985 PyObject
* obj2
= 0 ;
26986 PyObject
* obj3
= 0 ;
26987 char *kwnames
[] = {
26988 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26994 arg2
= (int)SWIG_As_int(obj1
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26996 arg3
= (int)SWIG_As_int(obj2
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26998 arg4
= (int)SWIG_As_int(obj3
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= SWIG_From_int((int)result
);
27014 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27017 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27019 return Py_BuildValue((char *)"");
27021 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
;
27023 wxPyFileDropTarget
*result
;
27024 char *kwnames
[] = {
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27043 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
;
27045 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27046 PyObject
*arg2
= (PyObject
*) 0 ;
27047 PyObject
*arg3
= (PyObject
*) 0 ;
27048 PyObject
* obj0
= 0 ;
27049 PyObject
* obj1
= 0 ;
27050 PyObject
* obj2
= 0 ;
27051 char *kwnames
[] = {
27052 (char *) "self",(char *) "self",(char *) "_class", NULL
27055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 Py_INCREF(Py_None
); resultobj
= Py_None
;
27074 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27081 PyObject
* obj0
= 0 ;
27082 PyObject
* obj1
= 0 ;
27083 PyObject
* obj2
= 0 ;
27084 PyObject
* obj3
= 0 ;
27085 char *kwnames
[] = {
27086 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27092 arg2
= (int)SWIG_As_int(obj1
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27094 arg3
= (int)SWIG_As_int(obj2
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27096 arg4
= (int)SWIG_As_int(obj3
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_From_int((int)result
);
27112 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27113 PyObject
*resultobj
;
27114 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27119 PyObject
* obj0
= 0 ;
27120 PyObject
* obj1
= 0 ;
27121 PyObject
* obj2
= 0 ;
27122 PyObject
* obj3
= 0 ;
27123 char *kwnames
[] = {
27124 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27130 arg2
= (int)SWIG_As_int(obj1
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27132 arg3
= (int)SWIG_As_int(obj2
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27134 arg4
= (int)SWIG_As_int(obj3
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= SWIG_From_int((int)result
);
27150 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27153 PyObject
* obj0
= 0 ;
27154 char *kwnames
[] = {
27155 (char *) "self", NULL
27158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 (arg1
)->base_OnLeave();
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27168 Py_INCREF(Py_None
); resultobj
= Py_None
;
27175 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
;
27177 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27181 PyObject
* obj0
= 0 ;
27182 PyObject
* obj1
= 0 ;
27183 PyObject
* obj2
= 0 ;
27184 char *kwnames
[] = {
27185 (char *) "self",(char *) "x",(char *) "y", NULL
27188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27191 arg2
= (int)SWIG_As_int(obj1
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27193 arg3
= (int)SWIG_As_int(obj2
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27211 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
;
27213 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27218 PyObject
* obj0
= 0 ;
27219 PyObject
* obj1
= 0 ;
27220 PyObject
* obj2
= 0 ;
27221 PyObject
* obj3
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27229 arg2
= (int)SWIG_As_int(obj1
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27231 arg3
= (int)SWIG_As_int(obj2
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27233 arg4
= (int)SWIG_As_int(obj3
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= SWIG_From_int((int)result
);
27249 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27252 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27254 return Py_BuildValue((char *)"");
27256 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27257 PyObject
*resultobj
;
27258 wxClipboard
*result
;
27259 char *kwnames
[] = {
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 result
= (wxClipboard
*)new wxClipboard();
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27278 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
;
27280 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27281 PyObject
* obj0
= 0 ;
27282 char *kwnames
[] = {
27283 (char *) "self", NULL
27286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 Py_INCREF(Py_None
); resultobj
= Py_None
;
27303 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27307 PyObject
* obj0
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (bool)(arg1
)->Open();
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27331 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27334 PyObject
* obj0
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 Py_INCREF(Py_None
); resultobj
= Py_None
;
27356 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27360 PyObject
* obj0
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27370 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27372 wxPyEndAllowThreads(__tstate
);
27373 if (PyErr_Occurred()) SWIG_fail
;
27376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27384 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27385 PyObject
*resultobj
;
27386 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27387 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27389 PyObject
* obj0
= 0 ;
27390 PyObject
* obj1
= 0 ;
27391 char *kwnames
[] = {
27392 (char *) "self",(char *) "data", NULL
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27399 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 result
= (bool)(arg1
)->AddData(arg2
);
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27416 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27417 PyObject
*resultobj
;
27418 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27419 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27421 PyObject
* obj0
= 0 ;
27422 PyObject
* obj1
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "self",(char *) "data", NULL
27427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27431 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (bool)(arg1
)->SetData(arg2
);
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27448 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27451 wxDataFormat
*arg2
= 0 ;
27453 PyObject
* obj0
= 0 ;
27454 PyObject
* obj1
= 0 ;
27455 char *kwnames
[] = {
27456 (char *) "self",(char *) "format", NULL
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27465 if (arg2
== NULL
) {
27466 PyErr_SetString(PyExc_TypeError
,"null reference");
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27485 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27488 wxDataObject
*arg2
= 0 ;
27490 PyObject
* obj0
= 0 ;
27491 PyObject
* obj1
= 0 ;
27492 char *kwnames
[] = {
27493 (char *) "self",(char *) "data", NULL
27496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27502 if (arg2
== NULL
) {
27503 PyErr_SetString(PyExc_TypeError
,"null reference");
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 result
= (bool)(arg1
)->GetData(*arg2
);
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27522 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27525 PyObject
* obj0
= 0 ;
27526 char *kwnames
[] = {
27527 (char *) "self", NULL
27530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27540 Py_INCREF(Py_None
); resultobj
= Py_None
;
27547 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27548 PyObject
*resultobj
;
27549 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27551 PyObject
* obj0
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 result
= (bool)(arg1
)->Flush();
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27575 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
;
27577 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27578 bool arg2
= (bool) true ;
27579 PyObject
* obj0
= 0 ;
27580 PyObject
* obj1
= 0 ;
27581 char *kwnames
[] = {
27582 (char *) "self",(char *) "primary", NULL
27585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27589 arg2
= (bool)SWIG_As_bool(obj1
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 (arg1
)->UsePrimarySelection(arg2
);
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 Py_INCREF(Py_None
); resultobj
= Py_None
;
27606 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27607 PyObject
*resultobj
;
27608 wxClipboard
*result
;
27609 char *kwnames
[] = {
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27616 result
= (wxClipboard
*)wxClipboard::Get();
27618 wxPyEndAllowThreads(__tstate
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27628 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27631 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27633 return Py_BuildValue((char *)"");
27635 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
;
27637 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27638 wxClipboardLocker
*result
;
27639 PyObject
* obj0
= 0 ;
27640 char *kwnames
[] = {
27641 (char *) "clipboard", NULL
27644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27663 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
;
27665 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27666 PyObject
* obj0
= 0 ;
27667 char *kwnames
[] = {
27668 (char *) "self", NULL
27671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 Py_INCREF(Py_None
); resultobj
= Py_None
;
27688 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
;
27690 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27692 PyObject
* obj0
= 0 ;
27693 char *kwnames
[] = {
27694 (char *) "self", NULL
27697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27702 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27704 wxPyEndAllowThreads(__tstate
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27716 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27719 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27721 return Py_BuildValue((char *)"");
27723 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
;
27725 int arg1
= (int) 0 ;
27726 int arg2
= (int) 0 ;
27727 int arg3
= (int) 0 ;
27728 int arg4
= (int) 0 ;
27729 wxVideoMode
*result
;
27730 PyObject
* obj0
= 0 ;
27731 PyObject
* obj1
= 0 ;
27732 PyObject
* obj2
= 0 ;
27733 PyObject
* obj3
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27740 arg1
= (int)SWIG_As_int(obj0
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 arg2
= (int)SWIG_As_int(obj1
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27748 arg3
= (int)SWIG_As_int(obj2
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27752 arg4
= (int)SWIG_As_int(obj3
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27757 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27769 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27772 PyObject
* obj0
= 0 ;
27773 char *kwnames
[] = {
27774 (char *) "self", NULL
27777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27784 wxPyEndAllowThreads(__tstate
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27787 Py_INCREF(Py_None
); resultobj
= Py_None
;
27794 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27795 PyObject
*resultobj
;
27796 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27797 wxVideoMode
*arg2
= 0 ;
27799 PyObject
* obj0
= 0 ;
27800 PyObject
* obj1
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "self",(char *) "other", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27811 if (arg2
== NULL
) {
27812 PyErr_SetString(PyExc_TypeError
,"null reference");
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27831 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27835 PyObject
* obj0
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27850 resultobj
= SWIG_From_int((int)result
);
27857 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27858 PyObject
*resultobj
;
27859 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27861 PyObject
* obj0
= 0 ;
27862 char *kwnames
[] = {
27863 (char *) "self", NULL
27866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27876 resultobj
= SWIG_From_int((int)result
);
27883 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27884 PyObject
*resultobj
;
27885 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27887 PyObject
* obj0
= 0 ;
27888 char *kwnames
[] = {
27889 (char *) "self", NULL
27892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27897 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27902 resultobj
= SWIG_From_int((int)result
);
27909 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27910 PyObject
*resultobj
;
27911 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27913 PyObject
* obj0
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27937 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27940 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27942 PyObject
* obj0
= 0 ;
27943 PyObject
* obj1
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self",(char *) "other", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27969 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
;
27971 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27972 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27974 PyObject
* obj0
= 0 ;
27975 PyObject
* obj1
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "self",(char *) "other", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27987 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28001 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
;
28003 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28005 PyObject
* obj0
= 0 ;
28006 PyObject
* obj1
= 0 ;
28007 char *kwnames
[] = {
28008 (char *) "self",(char *) "w", NULL
28011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28014 arg2
= (int)SWIG_As_int(obj1
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28016 if (arg1
) (arg1
)->w
= arg2
;
28018 Py_INCREF(Py_None
); resultobj
= Py_None
;
28025 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
;
28027 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28029 PyObject
* obj0
= 0 ;
28030 char *kwnames
[] = {
28031 (char *) "self", NULL
28034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28037 result
= (int) ((arg1
)->w
);
28039 resultobj
= SWIG_From_int((int)result
);
28046 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
;
28048 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self",(char *) "h", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28059 arg2
= (int)SWIG_As_int(obj1
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28061 if (arg1
) (arg1
)->h
= arg2
;
28063 Py_INCREF(Py_None
); resultobj
= Py_None
;
28070 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28074 PyObject
* obj0
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28082 result
= (int) ((arg1
)->h
);
28084 resultobj
= SWIG_From_int((int)result
);
28091 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28095 PyObject
* obj0
= 0 ;
28096 PyObject
* obj1
= 0 ;
28097 char *kwnames
[] = {
28098 (char *) "self",(char *) "bpp", NULL
28101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28104 arg2
= (int)SWIG_As_int(obj1
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28106 if (arg1
) (arg1
)->bpp
= arg2
;
28108 Py_INCREF(Py_None
); resultobj
= Py_None
;
28115 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
;
28117 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28119 PyObject
* obj0
= 0 ;
28120 char *kwnames
[] = {
28121 (char *) "self", NULL
28124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28127 result
= (int) ((arg1
)->bpp
);
28129 resultobj
= SWIG_From_int((int)result
);
28136 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
;
28138 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28140 PyObject
* obj0
= 0 ;
28141 PyObject
* obj1
= 0 ;
28142 char *kwnames
[] = {
28143 (char *) "self",(char *) "refresh", NULL
28146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28149 arg2
= (int)SWIG_As_int(obj1
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28151 if (arg1
) (arg1
)->refresh
= arg2
;
28153 Py_INCREF(Py_None
); resultobj
= Py_None
;
28160 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28164 PyObject
* obj0
= 0 ;
28165 char *kwnames
[] = {
28166 (char *) "self", NULL
28169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28172 result
= (int) ((arg1
)->refresh
);
28174 resultobj
= SWIG_From_int((int)result
);
28181 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28184 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28186 return Py_BuildValue((char *)"");
28188 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28189 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28194 static PyObject
*_wrap_DefaultVideoMode_get() {
28197 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28202 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
;
28204 size_t arg1
= (size_t) 0 ;
28206 PyObject
* obj0
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "index", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28213 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 result
= (wxDisplay
*)new wxDisplay(arg1
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28230 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28248 Py_INCREF(Py_None
); resultobj
= Py_None
;
28255 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28256 PyObject
*resultobj
;
28258 char *kwnames
[] = {
28262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 result
= (size_t)wxDisplay::GetCount();
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28277 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
;
28279 wxPoint
*arg1
= 0 ;
28282 PyObject
* obj0
= 0 ;
28283 char *kwnames
[] = {
28284 (char *) "pt", NULL
28287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28290 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28296 wxPyEndAllowThreads(__tstate
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28299 resultobj
= SWIG_From_int((int)result
);
28306 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28307 PyObject
*resultobj
;
28308 wxWindow
*arg1
= (wxWindow
*) 0 ;
28310 PyObject
* obj0
= 0 ;
28311 char *kwnames
[] = {
28312 (char *) "window", NULL
28315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28320 result
= (int)Display_GetFromWindow(arg1
);
28322 wxPyEndAllowThreads(__tstate
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= SWIG_From_int((int)result
);
28332 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
;
28334 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28336 PyObject
* obj0
= 0 ;
28337 char *kwnames
[] = {
28338 (char *) "self", NULL
28341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28360 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28361 PyObject
*resultobj
;
28362 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28364 PyObject
* obj0
= 0 ;
28365 char *kwnames
[] = {
28366 (char *) "self", NULL
28369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28380 wxRect
* resultptr
;
28381 resultptr
= new wxRect((wxRect
&) result
);
28382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28390 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28394 PyObject
* obj0
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28404 result
= ((wxDisplay
const *)arg1
)->GetName();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28422 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
;
28424 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28426 PyObject
* obj0
= 0 ;
28427 char *kwnames
[] = {
28428 (char *) "self", NULL
28431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28438 wxPyEndAllowThreads(__tstate
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28450 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28451 PyObject
*resultobj
;
28452 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28453 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28454 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28456 PyObject
* obj0
= 0 ;
28457 PyObject
* obj1
= 0 ;
28458 char *kwnames
[] = {
28459 (char *) "self",(char *) "mode", NULL
28462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28469 if (arg2
== NULL
) {
28470 PyErr_SetString(PyExc_TypeError
,"null reference");
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 resultobj
= result
;
28488 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
;
28490 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28491 wxVideoMode result
;
28492 PyObject
* obj0
= 0 ;
28493 char *kwnames
[] = {
28494 (char *) "self", NULL
28497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28508 wxVideoMode
* resultptr
;
28509 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28518 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28519 PyObject
*resultobj
;
28520 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28521 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28522 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28524 PyObject
* obj0
= 0 ;
28525 PyObject
* obj1
= 0 ;
28526 char *kwnames
[] = {
28527 (char *) "self",(char *) "mode", NULL
28530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28537 if (arg2
== NULL
) {
28538 PyErr_SetString(PyExc_TypeError
,"null reference");
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28558 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
;
28560 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28561 PyObject
* obj0
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 (arg1
)->ResetMode();
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 Py_INCREF(Py_None
); resultobj
= Py_None
;
28583 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28586 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28588 return Py_BuildValue((char *)"");
28590 static PyMethodDef SwigMethods
[] = {
28591 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28592 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28593 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28594 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28595 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28596 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28597 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
28598 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28599 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28600 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28601 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28602 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28603 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28604 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
28605 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28606 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28607 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28608 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28609 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28610 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28611 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28612 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28613 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28614 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28615 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28616 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28617 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28618 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28619 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28620 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28621 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28622 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28623 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28624 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28625 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28626 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28627 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28628 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28629 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28630 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28631 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28632 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28633 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28634 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28635 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28636 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28637 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28638 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28639 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28640 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28641 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28642 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28643 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28644 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28645 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28646 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28647 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28648 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28649 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28650 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28651 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28652 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28653 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28654 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28655 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28656 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28657 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28658 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28659 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28660 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28661 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28662 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28663 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28664 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28665 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28666 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28667 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28668 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
28669 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28670 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28671 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28672 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28673 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28674 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28675 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28676 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
28677 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28678 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28679 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28680 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28681 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28682 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28683 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28684 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28685 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28686 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28687 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28688 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28689 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28690 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28691 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28692 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
28693 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28694 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28695 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28696 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28697 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
28698 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28699 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28700 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
28701 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28702 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28703 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
28704 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28705 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28706 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28707 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28708 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28709 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
28710 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28711 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28712 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28713 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28714 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28715 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28716 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28717 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28718 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28719 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28720 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28721 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28722 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28723 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
28724 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28725 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28726 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28727 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28728 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28729 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
28730 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28731 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28732 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28733 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28734 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28735 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
28736 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28737 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28738 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
28739 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28740 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28741 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28742 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28743 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28744 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28745 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28746 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28747 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28748 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28749 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28750 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28751 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28752 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
28753 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28754 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28755 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
28756 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
28757 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28758 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28759 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
28760 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28761 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28762 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28763 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28764 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28765 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28766 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28767 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28768 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28769 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28770 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28771 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28772 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28773 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28774 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28775 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28776 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28777 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28778 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28779 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28780 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28781 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28782 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28783 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28784 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28785 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28786 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
28787 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28788 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
28789 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28790 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
28791 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28792 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
28793 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28794 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28795 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28796 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28797 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28798 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28799 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
28800 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28801 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28802 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28803 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28804 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28805 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
28806 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28807 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28808 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28809 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28810 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28811 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28812 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28813 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28814 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28815 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28816 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28817 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28818 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
28819 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28820 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28821 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28822 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28823 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
28824 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28825 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28826 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
28827 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28828 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28829 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28830 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28831 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28832 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28833 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28834 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28835 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28836 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28837 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28838 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28839 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28840 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28841 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28842 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28843 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
28844 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28845 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28846 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28847 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28848 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28849 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28850 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28851 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
28852 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28853 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28854 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28855 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28856 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28857 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28858 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28859 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28860 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28861 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28862 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28863 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28864 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28865 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28866 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28867 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28868 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28869 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28870 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28871 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28872 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28873 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28874 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28875 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28876 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28877 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28878 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28879 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28880 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28881 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28882 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28883 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28884 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28885 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28886 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28887 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28888 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28889 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28890 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28891 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28892 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28893 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28894 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28895 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28896 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28897 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
28898 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28899 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28900 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28901 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28902 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28903 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28904 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28905 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28906 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28907 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28908 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28909 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28910 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28911 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28912 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28913 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28914 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28915 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28916 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28917 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28918 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28919 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28920 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28921 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28922 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28923 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28924 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28925 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
28926 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28927 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28928 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28929 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28930 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28931 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28932 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28933 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28934 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28935 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
28936 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28937 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28938 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28939 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28940 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28941 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28942 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28943 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28944 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28945 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28946 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28947 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28948 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28949 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28950 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28951 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
28952 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28953 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28954 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28955 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28956 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28957 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28958 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28959 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28960 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28961 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28962 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28963 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28964 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28965 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28966 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28967 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
28968 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28969 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28970 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28971 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28972 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28973 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28974 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28975 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28976 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28977 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28978 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28979 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28980 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28981 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
28982 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28983 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28984 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28985 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28986 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28987 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28988 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28989 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28990 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
28991 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28992 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28993 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28994 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28995 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28996 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28997 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28998 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28999 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29000 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29001 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29002 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29003 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29004 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29005 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29006 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29007 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29008 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29009 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29010 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29011 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29012 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29013 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29014 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29015 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29016 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29017 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29018 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29019 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29020 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29021 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29022 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29023 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29024 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29025 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29026 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29027 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29028 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29029 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29030 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29031 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29032 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29033 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29034 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29035 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29036 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29037 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29038 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29039 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29040 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29041 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29042 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29043 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29044 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29045 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29046 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29047 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29048 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29049 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29050 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29051 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29052 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29053 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29054 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29055 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29056 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29057 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29058 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29059 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29060 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29061 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29062 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29063 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29064 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29065 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29066 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29067 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29068 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29069 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29070 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29071 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29072 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29073 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29074 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29075 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29076 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29077 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29078 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29079 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29080 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29081 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29082 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29083 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29084 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29085 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29086 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29087 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29088 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29089 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29090 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29091 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29092 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29093 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29094 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29095 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29096 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29097 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29098 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29099 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29100 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29101 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29102 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29103 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29104 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29105 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29106 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29107 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29108 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29109 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29110 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29111 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29112 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29113 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29114 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29115 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29116 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29117 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29118 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29119 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29120 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29121 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29122 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29123 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29124 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29125 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29126 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29127 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29128 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29129 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29133 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29136 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29137 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29138 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29139 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29140 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29141 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29142 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29143 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29144 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29145 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29146 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29157 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29159 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29162 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29166 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29169 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29173 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29174 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29176 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29177 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29202 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29235 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29236 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29244 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29245 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29250 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29255 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29257 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29259 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29266 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29269 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29272 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29277 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29280 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29284 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29287 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29288 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29289 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29290 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29291 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29292 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29296 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29300 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29303 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29304 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29314 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29318 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29320 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29322 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29324 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29325 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29329 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29331 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29333 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29341 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29355 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29358 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29359 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29375 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29377 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29379 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29382 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29383 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29391 { NULL
, NULL
, 0, NULL
}
29395 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29397 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29398 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29400 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29401 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29403 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29404 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29406 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29407 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29409 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29410 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29412 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29413 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29415 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29416 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29418 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29419 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29421 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29422 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29424 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29425 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29427 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29428 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29430 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29431 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29433 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29434 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29436 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29437 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29439 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29440 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29442 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29443 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29445 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29446 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29448 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29449 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29451 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29452 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29454 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29455 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29457 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29458 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29460 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29461 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29463 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29464 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29466 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29467 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29469 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29470 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29472 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29473 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29475 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29476 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29478 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29479 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29481 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29482 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29484 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29485 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29487 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29488 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29490 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29491 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29493 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29494 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29496 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29497 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29499 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29500 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29502 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29503 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29505 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29506 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29508 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29509 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29511 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29512 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29514 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29515 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29517 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29518 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29520 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29521 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29523 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29524 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29526 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29527 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29529 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29530 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29532 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29533 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29535 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29536 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29538 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29539 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29541 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29542 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29544 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29545 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29547 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29548 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29550 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29551 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29553 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29554 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29556 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29557 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29559 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29560 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29562 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29563 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29565 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29566 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29568 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29569 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29571 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29572 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29574 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29575 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29577 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29578 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29580 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29581 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29583 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29584 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29586 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29587 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29589 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29592 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29593 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29595 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29596 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29598 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29599 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29601 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29602 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29604 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29605 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29607 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29608 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29610 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29611 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29613 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29614 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29616 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29617 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29619 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29620 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29622 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29623 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29625 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29626 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29628 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29629 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29631 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29632 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29634 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29635 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29637 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29638 return (void *)((wxObject
*) ((wxSizer
*) x
));
29640 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29641 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29643 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29644 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29646 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29647 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29649 static void *_p_wxEventTo_p_wxObject(void *x
) {
29650 return (void *)((wxObject
*) ((wxEvent
*) x
));
29652 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29653 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29655 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29656 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29658 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29659 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29661 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29662 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29664 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29665 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29667 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29668 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29670 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29671 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29673 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29674 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29676 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29677 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29679 static void *_p_wxControlTo_p_wxObject(void *x
) {
29680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29682 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29683 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29685 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29686 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29688 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29689 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29691 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29692 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29694 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29695 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29697 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29698 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29700 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29703 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29704 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29706 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29707 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29709 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29710 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29712 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29713 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29715 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29716 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29718 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29719 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29721 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29722 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29724 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29725 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29727 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29728 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29730 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29731 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29733 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29734 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29736 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29737 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29739 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29740 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29742 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29745 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29746 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29748 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29751 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29752 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29754 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29755 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29757 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29758 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29760 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29761 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29763 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29764 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29766 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29767 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29769 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29770 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29772 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29773 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29775 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29776 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29778 static void *_p_wxImageTo_p_wxObject(void *x
) {
29779 return (void *)((wxObject
*) ((wxImage
*) x
));
29781 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29782 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29784 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29785 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29787 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29788 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29790 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29793 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29794 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29796 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29797 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29799 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29800 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29802 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29803 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29805 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29808 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29809 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29811 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29812 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29814 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29815 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29817 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29818 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29820 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29821 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29823 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29824 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29826 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29827 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29829 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29830 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29832 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29833 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29835 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29836 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29838 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29839 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29841 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29842 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29844 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29845 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29847 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29848 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29850 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29851 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29853 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29856 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29859 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29860 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29862 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29863 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29865 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29866 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29868 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29869 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29871 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29872 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29874 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29875 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29877 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29878 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29880 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29881 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29883 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29884 return (void *)((wxWindow
*) ((wxControl
*) x
));
29886 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29887 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29889 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29890 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29892 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29893 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29895 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29896 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29898 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}};
29899 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}};
29900 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29901 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}};
29902 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}};
29903 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}};
29904 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}};
29905 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}};
29906 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}};
29907 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}};
29908 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}};
29909 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}};
29910 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}};
29911 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}};
29912 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}};
29913 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}};
29914 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}};
29915 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}};
29916 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}};
29917 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}};
29918 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}};
29919 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}};
29920 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}};
29921 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}};
29922 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}};
29923 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}};
29924 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}};
29925 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}};
29926 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}};
29927 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}};
29928 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}};
29929 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}};
29930 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}};
29931 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}};
29932 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}};
29933 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}};
29934 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}};
29935 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}};
29936 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}};
29937 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}};
29938 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}};
29939 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}};
29940 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}};
29941 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}};
29942 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}};
29943 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}};
29944 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}};
29945 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}};
29946 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}};
29947 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}};
29948 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}};
29949 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}};
29950 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}};
29951 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}};
29952 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}};
29953 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}};
29954 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}};
29955 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}};
29956 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}};
29957 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}};
29958 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}};
29959 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}};
29960 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}};
29961 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}};
29962 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}};
29963 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}};
29964 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}};
29965 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}};
29966 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}};
29967 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}};
29968 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}};
29969 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}};
29970 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}};
29971 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}};
29972 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}};
29973 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}};
29974 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}};
29975 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}};
29976 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}};
29977 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}};
29978 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}};
29979 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}};
29980 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}};
29981 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}};
29982 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}};
29983 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}};
29985 static swig_type_info
*swig_types_initial
[] = {
29986 _swigt__p_wxLogChain
,
29987 _swigt__p_wxMutexGuiLocker
,
29988 _swigt__p_wxMetafile
,
29989 _swigt__p_wxFileHistory
,
29991 _swigt__p_wxDateTime__TimeZone
,
29994 _swigt__p_wxConfigBase
,
29995 _swigt__p_wxDisplay
,
29996 _swigt__p_wxFileType
,
29997 _swigt__p_wxLogGui
,
29999 _swigt__p_wxDataFormat
,
30000 _swigt__p_wxTimerEvent
,
30004 _swigt__p_wxClipboard
,
30005 _swigt__p_wxStopWatch
,
30007 _swigt__p_wxClipboardLocker
,
30009 _swigt__p_wxLogStderr
,
30010 _swigt__p_wxLogTextCtrl
,
30011 _swigt__p_wxTextCtrl
,
30012 _swigt__p_wxBusyCursor
,
30013 _swigt__p_wxPyBitmapDataObject
,
30014 _swigt__p_wxPyTextDataObject
,
30015 _swigt__p_wxBitmapDataObject
,
30016 _swigt__p_wxTextDataObject
,
30017 _swigt__p_wxDataObject
,
30018 _swigt__p_wxFileDataObject
,
30019 _swigt__p_wxCustomDataObject
,
30020 _swigt__p_wxURLDataObject
,
30021 _swigt__p_wxMetafileDataObject
,
30023 _swigt__p_wxTimerRunner
,
30024 _swigt__p_wxLogWindow
,
30025 _swigt__p_wxTimeSpan
,
30026 _swigt__p_wxArrayString
,
30027 _swigt__p_wxWindowDisabler
,
30028 _swigt__p_wxToolTip
,
30029 _swigt__p_wxDataObjectComposite
,
30030 _swigt__p_wxFileConfig
,
30031 _swigt__p_wxSystemSettings
,
30032 _swigt__p_wxVideoMode
,
30033 _swigt__p_wxPyDataObjectSimple
,
30034 _swigt__p_wxDataObjectSimple
,
30035 _swigt__p_wxEvtHandler
,
30038 _swigt__p_wxSingleInstanceChecker
,
30039 _swigt__p_wxFileTypeInfo
,
30042 _swigt__p_wxMimeTypesManager
,
30043 _swigt__p_wxPyArtProvider
,
30044 _swigt__p_wxPyTipProvider
,
30045 _swigt__p_wxTipProvider
,
30046 _swigt__p_wxJoystick
,
30047 _swigt__p_wxSystemOptions
,
30049 _swigt__p_wxJoystickEvent
,
30050 _swigt__p_wxCursor
,
30051 _swigt__p_wxObject
,
30052 _swigt__p_wxOutputStream
,
30053 _swigt__p_wxDateTime
,
30054 _swigt__p_wxPyDropSource
,
30055 _swigt__p_wxWindow
,
30056 _swigt__p_wxString
,
30057 _swigt__p_wxPyProcess
,
30058 _swigt__p_wxBitmap
,
30059 _swigt__p_wxConfig
,
30061 _swigt__p_wxBusyInfo
,
30062 _swigt__p_wxPyDropTarget
,
30063 _swigt__p_wxPyTextDropTarget
,
30064 _swigt__p_wxPyFileDropTarget
,
30065 _swigt__p_wxProcessEvent
,
30067 _swigt__p_wxLogNull
,
30068 _swigt__p_wxColour
,
30069 _swigt__p_wxConfigPathChanger
,
30070 _swigt__p_wxPyTimer
,
30071 _swigt__p_wxDateSpan
,
30076 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30078 static swig_const_info swig_const_table
[] = {
30079 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30080 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30081 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30082 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30083 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30084 {0, 0, 0, 0.0, 0, 0}};
30093 SWIGEXPORT(void) SWIG_init(void) {
30094 static PyObject
*SWIG_globals
= 0;
30095 static int typeinit
= 0;
30098 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30099 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30100 d
= PyModule_GetDict(m
);
30103 for (i
= 0; swig_types_initial
[i
]; i
++) {
30104 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30108 SWIG_InstallConstants(d
,swig_const_table
);
30110 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30111 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30112 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30113 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30114 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30115 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30116 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30117 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30118 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30119 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30120 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30121 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30122 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30123 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30124 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30125 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30126 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30127 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30128 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30129 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30130 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30131 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30132 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30133 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30134 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30135 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30136 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30137 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30138 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30139 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30140 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30141 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30142 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30143 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30144 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30145 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30146 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30147 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30148 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30149 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30150 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30151 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30152 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30153 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30154 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30155 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30156 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30157 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30158 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30159 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30160 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30161 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30162 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30163 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30164 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30165 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30166 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30167 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30168 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30169 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30170 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30171 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30172 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30173 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30174 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30175 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30176 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30177 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30178 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30179 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30180 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30181 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30182 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30183 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30184 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30185 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30186 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30187 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30188 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30189 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30190 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30191 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30192 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30193 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30194 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30195 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30196 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30197 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30198 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30199 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30200 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30201 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30202 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30203 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30204 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30205 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30206 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30207 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30208 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30209 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30210 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30212 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30214 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30215 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30216 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30217 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30218 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30219 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30220 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30221 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30222 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30223 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30224 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30225 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30226 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30227 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30228 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30229 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30230 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30231 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30232 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30233 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30234 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30235 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30236 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30237 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30238 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30239 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30240 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30241 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30242 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30243 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30244 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30245 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30246 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30247 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30248 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30249 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30250 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30251 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30252 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30253 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30254 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30255 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30256 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30257 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30258 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30259 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30260 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30261 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30262 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30263 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30265 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30267 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30268 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30269 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30270 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30271 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30272 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30273 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30274 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30275 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30276 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30277 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30278 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30279 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30280 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30281 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30282 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30283 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30284 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30285 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30286 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30287 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30288 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30289 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30290 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30291 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30292 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30293 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30294 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30295 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30296 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30297 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30298 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30299 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30300 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30301 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30302 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30303 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30304 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30305 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30306 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30307 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30308 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30309 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30310 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30311 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30312 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30313 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30314 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30315 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30316 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30317 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30318 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30319 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30320 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30321 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30322 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30323 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30324 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30325 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30327 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30329 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30330 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30331 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30332 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30333 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30334 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30335 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30336 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30337 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30338 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30339 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30340 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30341 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30342 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30343 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30344 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30345 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30346 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30347 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30348 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30349 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30350 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30351 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30352 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30353 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30354 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30355 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30356 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30357 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30358 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30359 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30360 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30361 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30362 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30363 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30364 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30365 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30366 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30367 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30368 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30369 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30370 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30371 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30372 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30373 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30374 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30375 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30376 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30377 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30378 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30379 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30380 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30381 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30382 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30383 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30384 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30385 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30386 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30387 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30388 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30389 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30390 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30391 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30392 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30393 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30394 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30395 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30396 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30397 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30398 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30399 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30400 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30401 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30402 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30403 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30404 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30405 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30406 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30407 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30408 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30409 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30410 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30411 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30412 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30413 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30414 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30415 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30416 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30417 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30418 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30419 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30420 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30421 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30422 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30423 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30424 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30425 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30426 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30427 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30428 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30429 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30430 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30431 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30432 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30433 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30434 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30435 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30436 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30437 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30438 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30439 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30440 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30441 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
30442 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
30443 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
30444 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
30445 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
30446 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
30447 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
30448 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
30449 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
30450 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
30451 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
30452 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
30453 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
30454 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
30455 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
30456 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
30457 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
30458 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
30459 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
30460 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
30461 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
30462 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
30463 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
30464 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
30465 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
30466 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
30467 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
30468 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
30469 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
30470 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
30471 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
30472 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
30473 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
30474 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
30475 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
30476 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
30477 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
30478 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
30479 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
30480 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
30481 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
30482 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
30483 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
30484 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
30485 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
30486 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
30487 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
30488 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
30489 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
30490 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
30491 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
30492 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
30493 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
30494 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
30495 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30496 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
30497 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
30498 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
30499 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
30500 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
30501 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
30502 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
30503 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
30504 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
30505 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
30506 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
30507 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
30508 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
30509 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
30510 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
30511 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
30512 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
30513 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
30514 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
30515 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
30516 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30517 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
30518 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
30519 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
30520 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
30521 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
30522 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
30523 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
30524 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
30525 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
30526 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
30527 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
30528 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
30530 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30531 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30532 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30533 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30535 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);