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);
474 #include <wx/stockitem.h>
476 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
477 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
478 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
480 SWIGSTATICINLINE(long)
481 SWIG_As_long(PyObject
* obj
)
484 if (!SWIG_AsVal_long(obj
, &v
)) {
486 this is needed to make valgrind/purify happier. the other
487 solution is throw an exception, but since this code should work
490 memset((void*)&v
, 0, sizeof(long));
496 SWIGSTATICINLINE(int)
497 SWIG_Check_long(PyObject
* obj
)
499 return SWIG_AsVal_long(obj
, (long*)0);
503 SWIGSTATICINLINE(int)
504 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
506 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
507 if (obj
== Py_True
) {
508 if (val
) *val
= true;
511 if (obj
== Py_False
) {
512 if (val
) *val
= false;
516 if (SWIG_AsVal_int(obj
, &res
)) {
517 if (val
) *val
= (bool)res
;
521 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
527 SWIGSTATICINLINE(bool)
528 SWIG_As_bool(PyObject
* obj
)
531 if (!SWIG_AsVal_bool(obj
, &v
)) {
533 this is needed to make valgrind/purify happier. the other
534 solution is throw an exception, but since this code should work
537 memset((void*)&v
, 0, sizeof(bool));
543 SWIGSTATICINLINE(int)
544 SWIG_Check_bool(PyObject
* obj
)
546 return SWIG_AsVal_bool(obj
, (bool*)0);
550 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
556 } else if (target
== Py_None
) {
561 target
= PyTuple_New(1);
562 PyTuple_SetItem(target
, 0, o2
);
565 PyTuple_SetItem(o3
, 0, o
);
568 target
= PySequence_Concat(o2
, o3
);
577 // See my_fragments.i
578 SWIGSTATICINLINE(int)
579 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
582 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
583 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
587 *val
= (unsigned long)v
;
592 SWIGSTATICINLINE(unsigned long)
593 SWIG_As_unsigned_SS_long(PyObject
* obj
)
596 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(unsigned long));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
611 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
615 SWIGSTATICINLINE(PyObject
* )
616 SWIG_From_unsigned_SS_long(unsigned long value
)
618 return (value
> LONG_MAX
) ?
619 PyLong_FromUnsignedLong(value
)
620 : PyInt_FromLong(swig_numeric_cast(value
,long));
624 bool wxThread_IsMain() {
625 #ifdef WXP_WITH_THREAD
626 return wxThread::IsMain();
633 int wxCaret_GetBlinkTime() {
634 return wxCaret::GetBlinkTime();
637 void wxCaret_SetBlinkTime(int milliseconds
) {
638 wxCaret::SetBlinkTime(milliseconds
);
642 #include <wx/snglinst.h>
646 #include <wx/msw/private.h>
647 #include <wx/dynload.h>
652 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
659 // This one only partially works. Appears to be an undocumented
660 // "standard" convention that not all widgets adhear to. For
661 // example, for some widgets backgrounds or non-client areas may
663 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
667 // This one works much better, except for on XP. On Win2k nearly
668 // all widgets and their children are captured correctly[**]. On
669 // XP with Themes activated most native widgets draw only
670 // partially, if at all. Without themes it works just like on
673 // ** For example the radio buttons in a wxRadioBox are not its
674 // children by default, but you can capture it via the panel
675 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
676 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
677 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
678 PRF_ERASEBKGND
| PRF_OWNED
);
682 // This one is only defined in the latest SDK and is only
683 // available on XP. MSDN says it is similar to sending WM_PRINT
684 // so I expect that it will work similar to the above. Since it
685 // is avaialble only on XP, it can't be compiled like this and
686 // will have to be loaded dynamically.
687 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
692 // Use PrintWindow if available, or fallback to WM_PRINT
693 // otherwise. Unfortunately using PrintWindow is even worse than
694 // WM_PRINT. For most native widgets nothing is drawn to the dc
695 // at all, with or without Themes.
696 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
697 static bool s_triedToLoad
= False
;
698 static PrintWindow_t pfnPrintWindow
= NULL
;
699 if ( !s_triedToLoad
)
702 s_triedToLoad
= True
;
703 wxDynamicLibrary
dllUser32(_T("user32.dll"));
704 if ( dllUser32
.IsLoaded() )
706 wxLogNull nolog
; // Don't report errors here
707 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
712 printf("Using PrintWindow\n");
713 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
717 printf("Using WM_PRINT\n");
718 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
719 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
727 #include <wx/tipdlg.h>
730 class wxPyTipProvider
: public wxTipProvider
{
732 wxPyTipProvider(size_t currentTip
)
733 : wxTipProvider(currentTip
) {}
735 DEC_PYCALLBACK_STRING__pure(GetTip
);
736 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
740 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
741 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
744 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
746 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
748 void wxPyTimer::Notify() {
750 bool blocked
= wxPyBeginBlockThreads();
751 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
752 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
753 wxPyEndBlockThreads(blocked
);
757 void wxPyTimer::base_Notify() {
763 SWIGSTATICINLINE(PyObject
*)
764 SWIG_FromCharPtr(const char* cptr
)
767 size_t size
= strlen(cptr
);
768 if (size
> INT_MAX
) {
769 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
770 SWIG_TypeQuery("char *"), 0);
773 return PyString_FromStringAndSize(cptr
, size
);
775 return PyString_FromString(cptr
);
784 SWIGSTATICINLINE(int)
785 SWIG_CheckUnsignedLongInRange(unsigned long value
,
786 unsigned long max_value
,
789 if (value
> max_value
) {
791 PyErr_Format(PyExc_OverflowError
,
792 "value %ld is greater than '%s' minimum %ld",
793 value
, errmsg
, max_value
);
801 #if UINT_MAX != ULONG_MAX
802 SWIGSTATICINLINE(int)
803 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
805 const char* errmsg
= val
? "unsigned int" : 0;
807 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
808 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
809 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
816 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
821 SWIGSTATICINLINE(unsigned int)
822 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
824 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
829 SWIGSTATICINLINE(unsigned int)
830 SWIG_As_unsigned_SS_int(PyObject
* obj
)
833 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
835 this is needed to make valgrind/purify happier. the other
836 solution is throw an exception, but since this code should work
839 memset((void*)&v
, 0, sizeof(unsigned int));
845 SWIGSTATICINLINE(int)
846 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
848 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
851 wxString
Log_TimeStamp(){
853 wxLog::TimeStamp(&msg
);
856 void wxLog_Destroy(wxLog
*self
){ delete self
; }
858 // A wxLog class that can be derived from in wxPython
859 class wxPyLog
: public wxLog
{
861 wxPyLog() : wxLog() {}
863 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
865 bool blocked
= wxPyBeginBlockThreads();
866 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
867 PyObject
* s
= wx2PyString(szString
);
868 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
871 wxPyEndBlockThreads(blocked
);
873 wxLog::DoLog(level
, szString
, t
);
876 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
878 bool blocked
= wxPyBeginBlockThreads();
879 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
880 PyObject
* s
= wx2PyString(szString
);
881 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
884 wxPyEndBlockThreads(blocked
);
886 wxLog::DoLogString(szString
, t
);
895 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
898 #include <wx/joystick.h>
901 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
902 // A C++ stub class for wxJoystick for platforms that don't have it.
903 class wxJoystick
: public wxObject
{
905 wxJoystick(int joystick
= wxJOYSTICK1
) {
906 bool blocked
= wxPyBeginBlockThreads();
907 PyErr_SetString(PyExc_NotImplementedError
,
908 "wxJoystick is not available on this platform.");
909 wxPyEndBlockThreads(blocked
);
911 wxPoint
GetPosition() { return wxPoint(-1,-1); }
912 int GetZPosition() { return -1; }
913 int GetButtonState() { return -1; }
914 int GetPOVPosition() { return -1; }
915 int GetPOVCTSPosition() { return -1; }
916 int GetRudderPosition() { return -1; }
917 int GetUPosition() { return -1; }
918 int GetVPosition() { return -1; }
919 int GetMovementThreshold() { return -1; }
920 void SetMovementThreshold(int threshold
) {}
922 bool IsOk(void) { return False
; }
923 int GetNumberJoysticks() { return -1; }
924 int GetManufacturerId() { return -1; }
925 int GetProductId() { return -1; }
926 wxString
GetProductName() { return wxEmptyString
; }
927 int GetXMin() { return -1; }
928 int GetYMin() { return -1; }
929 int GetZMin() { return -1; }
930 int GetXMax() { return -1; }
931 int GetYMax() { return -1; }
932 int GetZMax() { return -1; }
933 int GetNumberButtons() { return -1; }
934 int GetNumberAxes() { return -1; }
935 int GetMaxButtons() { return -1; }
936 int GetMaxAxes() { return -1; }
937 int GetPollingMin() { return -1; }
938 int GetPollingMax() { return -1; }
939 int GetRudderMin() { return -1; }
940 int GetRudderMax() { return -1; }
941 int GetUMin() { return -1; }
942 int GetUMax() { return -1; }
943 int GetVMin() { return -1; }
944 int GetVMax() { return -1; }
946 bool HasRudder() { return False
; }
947 bool HasZ() { return False
; }
948 bool HasU() { return False
; }
949 bool HasV() { return False
; }
950 bool HasPOV() { return False
; }
951 bool HasPOV4Dir() { return False
; }
952 bool HasPOVCTS() { return False
; }
954 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
955 bool ReleaseCapture() { return False
; }
960 #include <wx/sound.h>
964 // A C++ stub class for wxWave for platforms that don't have it.
965 class wxSound
: public wxObject
969 bool blocked
= wxPyBeginBlockThreads();
970 PyErr_SetString(PyExc_NotImplementedError
,
971 "wxSound is not available on this platform.");
972 wxPyEndBlockThreads(blocked
);
974 wxSound(const wxString
&/*, bool*/) {
975 bool blocked
= wxPyBeginBlockThreads();
976 PyErr_SetString(PyExc_NotImplementedError
,
977 "wxSound is not available on this platform.");
978 wxPyEndBlockThreads(blocked
);
980 wxSound(int, const wxByte
*) {
981 bool blocked
= wxPyBeginBlockThreads();
982 PyErr_SetString(PyExc_NotImplementedError
,
983 "wxSound is not available on this platform.");
984 wxPyEndBlockThreads(blocked
);
989 bool Create(const wxString
&/*, bool*/) { return false; }
990 bool Create(int, const wxByte
*) { return false; };
991 bool IsOk() { return false; };
992 bool Play(unsigned) const { return false; }
993 static bool Play(const wxString
&, unsigned) { return false; }
994 static void Stop() {}
999 wxSound
*new_wxSound(wxString
const &fileName
){
1000 if (fileName
.Length() == 0)
1003 return new wxSound(fileName
);
1005 wxSound
*new_wxSound(PyObject
*data
){
1006 unsigned char* buffer
; int size
;
1007 wxSound
*sound
= NULL
;
1009 bool blocked
= wxPyBeginBlockThreads();
1010 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1012 sound
= new wxSound(size
, buffer
);
1014 wxPyEndBlockThreads(blocked
);
1017 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1019 unsigned char* buffer
;
1023 bool blocked
= wxPyBeginBlockThreads();
1024 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1026 rv
= self
->Create(size
, buffer
);
1028 wxPyEndBlockThreads(blocked
);
1031 bool blocked
= wxPyBeginBlockThreads();
1032 PyErr_SetString(PyExc_NotImplementedError
,
1033 "Create from data is not available on this platform.");
1034 wxPyEndBlockThreads(blocked
);
1038 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
1040 #include <wx/mimetype.h>
1042 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1044 if (self
->GetMimeType(&str
))
1045 return wx2PyString(str
);
1049 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1051 if (self
->GetMimeTypes(arr
))
1052 return wxArrayString2PyList_helper(arr
);
1056 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1058 if (self
->GetExtensions(arr
))
1059 return wxArrayString2PyList_helper(arr
);
1063 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1065 if (self
->GetIcon(&loc
))
1066 return new wxIcon(loc
);
1070 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1072 if (self
->GetIcon(&loc
)) {
1073 wxString iconFile
= loc
.GetFileName();
1078 // Make a tuple and put the values in it
1079 bool blocked
= wxPyBeginBlockThreads();
1080 PyObject
* tuple
= PyTuple_New(3);
1081 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1082 wxT("wxIcon"), True
));
1083 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1084 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1085 wxPyEndBlockThreads(blocked
);
1091 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1093 if (self
->GetDescription(&str
))
1094 return wx2PyString(str
);
1098 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1100 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1101 return wx2PyString(str
);
1105 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1107 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1108 return wx2PyString(str
);
1112 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1113 wxArrayString verbs
;
1114 wxArrayString commands
;
1115 if (self
->GetAllCommands(&verbs
, &commands
,
1116 wxFileType::MessageParameters(filename
, mimetype
))) {
1117 bool blocked
= wxPyBeginBlockThreads();
1118 PyObject
* tuple
= PyTuple_New(2);
1119 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1120 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1121 wxPyEndBlockThreads(blocked
);
1127 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1128 return wxFileType::ExpandCommand(command
,
1129 wxFileType::MessageParameters(filename
, mimetype
));
1131 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1133 self
->EnumAllFileTypes(arr
);
1134 return wxArrayString2PyList_helper(arr
);
1137 #include <wx/artprov.h>
1139 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1140 static const wxString
wxPyART_MENU(wxART_MENU
);
1141 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1142 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1143 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1144 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1145 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1146 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1147 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1148 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1149 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1150 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1151 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1152 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1153 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1154 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1155 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1156 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1157 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1158 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1159 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1160 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1161 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1162 static const wxString
wxPyART_HELP(wxART_HELP
);
1163 static const wxString
wxPyART_TIP(wxART_TIP
);
1164 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1165 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1166 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1167 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1168 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1169 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1170 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1171 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1172 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1173 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1174 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1175 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1176 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1177 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1178 // Python aware wxArtProvider
1179 class wxPyArtProvider
: public wxArtProvider
{
1182 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1183 const wxArtClient
& client
,
1184 const wxSize
& size
) {
1185 wxBitmap rval
= wxNullBitmap
;
1186 bool blocked
= wxPyBeginBlockThreads();
1187 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1188 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1192 s1
= wx2PyString(id
);
1193 s2
= wx2PyString(client
);
1194 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1199 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1204 wxPyEndBlockThreads(blocked
);
1211 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1215 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1216 PyObject
* ret
= PyTuple_New(3);
1218 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1219 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1220 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1225 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1230 cont
= self
->GetFirstGroup(value
, index
);
1231 return __EnumerationHelper(cont
, value
, index
);
1233 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1237 cont
= self
->GetNextGroup(value
, index
);
1238 return __EnumerationHelper(cont
, value
, index
);
1240 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1245 cont
= self
->GetFirstEntry(value
, index
);
1246 return __EnumerationHelper(cont
, value
, index
);
1248 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1252 cont
= self
->GetNextEntry(value
, index
);
1253 return __EnumerationHelper(cont
, value
, index
);
1255 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1257 self
->Read(key
, &rv
, defaultVal
);
1261 // See my_fragments.i
1262 SWIGSTATICINLINE(int)
1263 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1265 if (PyNumber_Check(obj
)) {
1266 if (val
) *val
= PyFloat_AsDouble(obj
);
1270 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1271 obj
->ob_type
->tp_name
);
1272 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1279 SWIGSTATICINLINE(double)
1280 SWIG_As_double(PyObject
* obj
)
1283 if (!SWIG_AsVal_double(obj
, &v
)) {
1285 this is needed to make valgrind/purify happier. the other
1286 solution is throw an exception, but since this code should work
1289 memset((void*)&v
, 0, sizeof(double));
1295 SWIGSTATICINLINE(int)
1296 SWIG_Check_double(PyObject
* obj
)
1298 return SWIG_AsVal_double(obj
, (double*)0);
1301 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1303 self
->Read(key
, &rv
, defaultVal
);
1306 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1308 self
->Read(key
, &rv
, defaultVal
);
1312 #include <wx/datetime.h>
1315 static const wxString
wxPyDateFormatStr(wxT("%c"));
1316 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1318 #define LOCAL_TZ wxDateTime::Local
1321 #if UINT_MAX < LONG_MAX
1322 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1323 #define SWIG_From_unsigned_SS_int SWIG_From_long
1326 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1327 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1331 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1332 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1333 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1334 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1335 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1336 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1337 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1338 return (*self
< *other
);
1340 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1341 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1342 return (*self
<= *other
);
1344 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1345 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1346 return (*self
> *other
);
1348 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1349 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1350 return (*self
>= *other
);
1352 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1353 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1354 return (*self
== *other
);
1356 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1357 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1358 return (*self
!= *other
);
1360 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1362 const wxChar
* _date
= date
;
1363 rv
= self
->ParseRfc822Date(_date
);
1364 if (rv
== NULL
) return -1;
1367 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1369 const wxChar
* _date
= date
;
1370 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1371 if (rv
== NULL
) return -1;
1374 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1376 const wxChar
* _datetime
= datetime
;
1377 rv
= self
->ParseDateTime(_datetime
);
1378 if (rv
== NULL
) return -1;
1379 return rv
- _datetime
;
1381 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1383 const wxChar
* _date
= date
;
1384 rv
= self
->ParseDate(_date
);
1385 if (rv
== NULL
) return -1;
1388 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1390 const wxChar
* _time
= time
;
1391 rv
= self
->ParseTime(_time
);
1392 if (rv
== NULL
) return -1;
1395 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1396 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1397 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1398 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1399 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1400 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1401 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1402 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1403 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1404 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1405 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1406 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1407 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1408 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1409 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1410 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1412 #include <wx/dataobj.h>
1414 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1415 size_t count
= self
->GetFormatCount(dir
);
1416 wxDataFormat
* formats
= new wxDataFormat
[count
];
1417 self
->GetAllFormats(formats
, dir
);
1419 bool blocked
= wxPyBeginBlockThreads();
1420 PyObject
* list
= PyList_New(count
);
1421 for (size_t i
=0; i
<count
; i
++) {
1422 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1423 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1424 PyList_Append(list
, obj
);
1427 wxPyEndBlockThreads(blocked
);
1431 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1432 PyObject
* rval
= NULL
;
1433 size_t size
= self
->GetDataSize(format
);
1434 bool blocked
= wxPyBeginBlockThreads();
1436 char* buf
= new char[size
];
1437 if (self
->GetDataHere(format
, buf
))
1438 rval
= PyString_FromStringAndSize(buf
, size
);
1445 wxPyEndBlockThreads(blocked
);
1448 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1450 bool blocked
= wxPyBeginBlockThreads();
1451 if (PyString_Check(data
)) {
1452 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1455 // raise a TypeError if not a string
1456 PyErr_SetString(PyExc_TypeError
, "String expected.");
1459 wxPyEndBlockThreads(blocked
);
1462 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1463 PyObject
* rval
= NULL
;
1464 size_t size
= self
->GetDataSize();
1465 bool blocked
= wxPyBeginBlockThreads();
1467 char* buf
= new char[size
];
1468 if (self
->GetDataHere(buf
))
1469 rval
= PyString_FromStringAndSize(buf
, size
);
1476 wxPyEndBlockThreads(blocked
);
1479 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1481 bool blocked
= wxPyBeginBlockThreads();
1482 if (PyString_Check(data
)) {
1483 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1486 // raise a TypeError if not a string
1487 PyErr_SetString(PyExc_TypeError
, "String expected.");
1490 wxPyEndBlockThreads(blocked
);
1493 // Create a new class for wxPython to use
1494 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1496 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1497 : wxDataObjectSimple(format
) {}
1499 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1500 bool GetDataHere(void *buf
) const;
1501 bool SetData(size_t len
, const void *buf
) const;
1505 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1507 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1508 // We need to get the data for this object and write it to buf. I think
1509 // the best way to do this for wxPython is to have the Python method
1510 // return either a string or None and then act appropriately with the
1514 bool blocked
= wxPyBeginBlockThreads();
1515 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1517 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1519 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1521 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1525 wxPyEndBlockThreads(blocked
);
1529 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1530 // For this one we simply need to make a string from buf and len
1531 // and send it to the Python method.
1533 bool blocked
= wxPyBeginBlockThreads();
1534 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1535 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1536 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1539 wxPyEndBlockThreads(blocked
);
1543 // Create a new class for wxPython to use
1544 class wxPyTextDataObject
: public wxTextDataObject
{
1546 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1547 : wxTextDataObject(text
) {}
1549 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1550 DEC_PYCALLBACK_STRING__const(GetText
);
1551 DEC_PYCALLBACK__STRING(SetText
);
1555 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1556 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1557 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1560 // Create a new class for wxPython to use
1561 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1563 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1564 : wxBitmapDataObject(bitmap
) {}
1566 wxBitmap
GetBitmap() const;
1567 void SetBitmap(const wxBitmap
& bitmap
);
1571 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1572 wxBitmap
* rval
= &wxNullBitmap
;
1573 bool blocked
= wxPyBeginBlockThreads();
1574 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1577 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1579 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1584 wxPyEndBlockThreads(blocked
);
1588 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1589 bool blocked
= wxPyBeginBlockThreads();
1590 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1591 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1592 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1595 wxPyEndBlockThreads(blocked
);
1598 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1600 bool blocked
= wxPyBeginBlockThreads();
1601 if (PyString_Check(data
)) {
1602 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1605 // raise a TypeError if not a string
1606 PyErr_SetString(PyExc_TypeError
, "String expected.");
1609 wxPyEndBlockThreads(blocked
);
1612 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1614 bool blocked
= wxPyBeginBlockThreads();
1615 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1616 wxPyEndBlockThreads(blocked
);
1620 #include <wx/metafile.h>
1623 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1626 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1627 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1628 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1629 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1630 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1633 class wxPyTextDropTarget
: public wxTextDropTarget
{
1635 wxPyTextDropTarget() {}
1637 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1639 DEC_PYCALLBACK__(OnLeave
);
1640 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1641 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1642 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1643 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1648 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1649 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1650 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1651 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1652 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1653 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1657 class wxPyFileDropTarget
: public wxFileDropTarget
{
1659 wxPyFileDropTarget() {}
1661 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1663 DEC_PYCALLBACK__(OnLeave
);
1664 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1665 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1666 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1667 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1672 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1673 const wxArrayString
& filenames
) {
1675 bool blocked
= wxPyBeginBlockThreads();
1676 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1677 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1678 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1681 wxPyEndBlockThreads(blocked
);
1687 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1688 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1689 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1690 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1691 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1696 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1698 #include <wx/display.h>
1700 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1701 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1703 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1705 #include <wx/dynarray.h>
1706 #include <wx/vidmode.h>
1708 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1709 #include "wx/arrimpl.cpp"
1710 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1711 const wxVideoMode wxDefaultVideoMode
;
1716 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1719 static size_t GetCount()
1720 { wxPyRaiseNotImplemented(); return 0; }
1722 static int GetFromPoint(const wxPoint
& pt
)
1723 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1724 static int GetFromWindow(wxWindow
*window
)
1725 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1727 virtual bool IsOk() const { return false; }
1728 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1729 virtual wxString
GetName() const { return wxEmptyString
; }
1730 bool IsPrimary() const { return false; }
1732 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1733 { wxArrayVideoModes a
; return a
; }
1735 virtual wxVideoMode
GetCurrentMode() const
1736 { return wxDefaultVideoMode
; }
1738 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1745 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1746 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1747 PyObject
* pyList
= NULL
;
1748 wxArrayVideoModes arr
= self
->GetModes(mode
);
1749 bool blocked
= wxPyBeginBlockThreads();
1750 pyList
= PyList_New(0);
1751 for (int i
=0; i
< arr
.GetCount(); i
++) {
1752 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1753 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1754 PyList_Append(pyList
, pyObj
);
1757 wxPyEndBlockThreads(blocked
);
1763 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
*resultobj
;
1767 PyObject
* obj0
= 0 ;
1769 (char *) "index", NULL
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1773 arg1
= (int)SWIG_As_int(obj0
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1776 if (!wxPyCheckForApp()) SWIG_fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1784 wxColour
* resultptr
;
1785 resultptr
= new wxColour((wxColour
&) result
);
1786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1794 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1798 PyObject
* obj0
= 0 ;
1800 (char *) "index", NULL
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1804 arg1
= (int)SWIG_As_int(obj0
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 if (!wxPyCheckForApp()) SWIG_fail
;
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1809 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1816 resultptr
= new wxFont((wxFont
&) result
);
1817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1825 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
*resultobj
;
1829 PyObject
* obj0
= 0 ;
1831 (char *) "index", NULL
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1835 arg1
= (int)SWIG_As_int(obj0
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1838 if (!wxPyCheckForApp()) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 resultobj
= SWIG_From_int((int)result
);
1852 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1856 PyObject
* obj0
= 0 ;
1858 (char *) "index", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1862 arg1
= (int)SWIG_As_int(obj0
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 if (!wxPyCheckForApp()) SWIG_fail
;
1866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1867 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1869 wxPyEndAllowThreads(__tstate
);
1870 if (PyErr_Occurred()) SWIG_fail
;
1873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1881 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1890 if (!wxPyCheckForApp()) SWIG_fail
;
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 result
= (int)wxSystemSettings::GetScreenType();
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 resultobj
= SWIG_From_int((int)result
);
1904 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1907 PyObject
* obj0
= 0 ;
1909 (char *) "screen", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1913 arg1
= (int)SWIG_As_int(obj0
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 if (!wxPyCheckForApp()) SWIG_fail
;
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1923 Py_INCREF(Py_None
); resultobj
= Py_None
;
1930 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1933 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1935 return Py_BuildValue((char *)"");
1937 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
*resultobj
;
1939 wxSystemOptions
*result
;
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 result
= (wxSystemOptions
*)new wxSystemOptions();
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1959 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxString
*arg1
= 0 ;
1962 wxString
*arg2
= 0 ;
1963 bool temp1
= False
;
1964 bool temp2
= False
;
1965 PyObject
* obj0
= 0 ;
1966 PyObject
* obj1
= 0 ;
1968 (char *) "name",(char *) "value", NULL
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1973 arg1
= wxString_in_helper(obj0
);
1974 if (arg1
== NULL
) SWIG_fail
;
1978 arg2
= wxString_in_helper(obj1
);
1979 if (arg2
== NULL
) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 Py_INCREF(Py_None
); resultobj
= Py_None
;
2012 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxString
*arg1
= 0 ;
2016 bool temp1
= False
;
2017 PyObject
* obj0
= 0 ;
2018 PyObject
* obj1
= 0 ;
2020 (char *) "name",(char *) "value", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 arg1
= wxString_in_helper(obj0
);
2026 if (arg1
== NULL
) SWIG_fail
;
2029 arg2
= (int)SWIG_As_int(obj1
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 Py_INCREF(Py_None
); resultobj
= Py_None
;
2053 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
*resultobj
;
2055 wxString
*arg1
= 0 ;
2057 bool temp1
= False
;
2058 PyObject
* obj0
= 0 ;
2060 (char *) "name", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2065 arg1
= wxString_in_helper(obj0
);
2066 if (arg1
== NULL
) SWIG_fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2097 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2099 wxString
*arg1
= 0 ;
2101 bool temp1
= False
;
2102 PyObject
* obj0
= 0 ;
2104 (char *) "name", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2109 arg1
= wxString_in_helper(obj0
);
2110 if (arg1
== NULL
) SWIG_fail
;
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) SWIG_fail
;
2120 resultobj
= SWIG_From_int((int)result
);
2135 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
*resultobj
;
2137 wxString
*arg1
= 0 ;
2139 bool temp1
= False
;
2140 PyObject
* obj0
= 0 ;
2142 (char *) "name", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2147 arg1
= wxString_in_helper(obj0
);
2148 if (arg1
== NULL
) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2175 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2178 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2180 return Py_BuildValue((char *)"");
2182 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2183 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2188 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2193 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2195 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2202 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2203 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2208 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2213 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2215 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2222 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2223 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2228 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2233 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2235 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2242 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 result
= (long)wxNewId();
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2257 resultobj
= SWIG_From_long((long)result
);
2264 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2267 PyObject
* obj0
= 0 ;
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2273 arg1
= (long)SWIG_As_long(obj0
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) SWIG_fail
;
2282 Py_INCREF(Py_None
); resultobj
= Py_None
;
2289 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
*resultobj
;
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 result
= (long)wxGetCurrentId();
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 resultobj
= SWIG_From_long((long)result
);
2311 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2315 PyObject
* obj0
= 0 ;
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2321 arg1
= (int)SWIG_As_int(obj0
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 result
= (bool)wxIsStockID(arg1
);
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) SWIG_fail
;
2331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2339 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2342 wxString
*arg2
= 0 ;
2344 bool temp2
= False
;
2345 PyObject
* obj0
= 0 ;
2346 PyObject
* obj1
= 0 ;
2348 (char *) "id",(char *) "label", NULL
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2352 arg1
= (int)SWIG_As_int(obj0
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2355 arg2
= wxString_in_helper(obj1
);
2356 if (arg2
== NULL
) SWIG_fail
;
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2383 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2387 PyObject
* obj0
= 0 ;
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2393 arg1
= (int)SWIG_As_int(obj0
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 result
= wxGetStockLabel(arg1
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2415 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
*resultobj
;
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2423 if (!wxPyCheckForApp()) SWIG_fail
;
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2430 Py_INCREF(Py_None
); resultobj
= Py_None
;
2437 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
*resultobj
;
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",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_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
*resultobj
;
2461 bool arg1
= (bool) True
;
2463 PyObject
* obj0
= 0 ;
2465 (char *) "resetTimer", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2470 arg1
= (bool)SWIG_As_bool(obj0
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 result
= (long)wxGetElapsedTime(arg1
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2480 resultobj
= SWIG_From_long((long)result
);
2487 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 int *arg1
= (int *) 0 ;
2490 int *arg2
= (int *) 0 ;
2499 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2500 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2503 if (!wxPyCheckForApp()) SWIG_fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 wxGetMousePosition(arg1
,arg2
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2510 Py_INCREF(Py_None
); resultobj
= Py_None
;
2511 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2512 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2513 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2514 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2521 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 result
= (bool)wxIsBusy();
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) SWIG_fail
;
2537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2545 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2573 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2575 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2576 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2578 bool temp1
= False
;
2579 PyObject
* obj0
= 0 ;
2581 (char *) "command", NULL
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2587 arg1
= wxString_in_helper(obj0
);
2588 if (arg1
== NULL
) SWIG_fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 result
= (bool)wxShell((wxString
const &)*arg1
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2616 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 Py_INCREF(Py_None
); resultobj
= Py_None
;
2637 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 int *arg1
= (int *) 0 ;
2640 int *arg2
= (int *) 0 ;
2650 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2651 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 result
= (int)wxGetOsVersion(arg1
,arg2
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 resultobj
= SWIG_From_int((int)result
);
2661 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2662 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2663 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2664 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2671 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= wxGetOsDescription();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2699 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 result
= (long)wxGetFreeMemory();
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2714 resultobj
= SWIG_From_long((long)result
);
2721 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2725 PyObject
* obj0
= 0 ;
2727 (char *) "wFlags", NULL
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2731 arg1
= (int)SWIG_As_int(obj0
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2734 if (!wxPyCheckForApp()) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2750 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2753 PyObject
* obj0
= 0 ;
2755 (char *) "secs", NULL
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2759 arg1
= (int)SWIG_As_int(obj0
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 wxPyEndAllowThreads(__tstate
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2768 Py_INCREF(Py_None
); resultobj
= Py_None
;
2775 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
*resultobj
;
2777 unsigned long arg1
;
2778 PyObject
* obj0
= 0 ;
2780 (char *) "milliseconds", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2784 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2793 Py_INCREF(Py_None
); resultobj
= Py_None
;
2800 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 unsigned long arg1
;
2803 PyObject
* obj0
= 0 ;
2805 (char *) "microseconds", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2809 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 wxPyEndAllowThreads(__tstate
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2818 Py_INCREF(Py_None
); resultobj
= Py_None
;
2825 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
*resultobj
;
2828 PyObject
* obj0
= 0 ;
2830 (char *) "enable", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2834 arg1
= (bool)SWIG_As_bool(obj0
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 wxEnableTopLevelWindows(arg1
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 Py_INCREF(Py_None
); resultobj
= Py_None
;
2850 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2852 wxString
*arg1
= 0 ;
2854 bool temp1
= False
;
2855 PyObject
* obj0
= 0 ;
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2862 arg1
= wxString_in_helper(obj0
);
2863 if (arg1
== NULL
) SWIG_fail
;
2867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2868 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2870 wxPyEndAllowThreads(__tstate
);
2871 if (PyErr_Occurred()) SWIG_fail
;
2875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2894 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 result
= wxGetEmailAddress();
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2922 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= wxGetHostName();
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2950 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= wxGetFullHostName();
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2978 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 result
= wxGetUserId();
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3006 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 result
= wxGetUserName();
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3034 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= wxGetHomeDir();
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3062 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3065 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3067 bool temp1
= False
;
3068 PyObject
* obj0
= 0 ;
3070 (char *) "user", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3076 arg1
= wxString_in_helper(obj0
);
3077 if (arg1
== NULL
) SWIG_fail
;
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 result
= wxGetUserHome((wxString
const &)*arg1
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) SWIG_fail
;
3090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3109 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
*resultobj
;
3111 unsigned long result
;
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 result
= (unsigned long)wxGetProcessId();
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3124 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3131 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3145 Py_INCREF(Py_None
); resultobj
= Py_None
;
3152 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3155 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3156 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3157 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3158 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3159 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3160 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3161 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3162 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3163 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3164 int arg6
= (int) 0 ;
3165 wxWindow
*arg7
= (wxWindow
*) NULL
;
3166 int arg8
= (int) -1 ;
3167 int arg9
= (int) -1 ;
3169 bool temp1
= False
;
3170 bool temp2
= False
;
3171 bool temp3
= False
;
3172 bool temp4
= False
;
3173 bool temp5
= False
;
3174 PyObject
* obj0
= 0 ;
3175 PyObject
* obj1
= 0 ;
3176 PyObject
* obj2
= 0 ;
3177 PyObject
* obj3
= 0 ;
3178 PyObject
* obj4
= 0 ;
3179 PyObject
* obj5
= 0 ;
3180 PyObject
* obj6
= 0 ;
3181 PyObject
* obj7
= 0 ;
3182 PyObject
* obj8
= 0 ;
3184 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3190 arg1
= wxString_in_helper(obj0
);
3191 if (arg1
== NULL
) SWIG_fail
;
3197 arg2
= wxString_in_helper(obj1
);
3198 if (arg2
== NULL
) SWIG_fail
;
3204 arg3
= wxString_in_helper(obj2
);
3205 if (arg3
== NULL
) SWIG_fail
;
3211 arg4
= wxString_in_helper(obj3
);
3212 if (arg4
== NULL
) SWIG_fail
;
3218 arg5
= wxString_in_helper(obj4
);
3219 if (arg5
== NULL
) SWIG_fail
;
3224 arg6
= (int)SWIG_As_int(obj5
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3228 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3232 arg8
= (int)SWIG_As_int(obj7
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3236 arg9
= (int)SWIG_As_int(obj8
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3240 if (!wxPyCheckForApp()) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3300 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxString
*arg1
= 0 ;
3303 wxString
*arg2
= 0 ;
3304 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3305 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3306 wxWindow
*arg4
= (wxWindow
*) NULL
;
3308 bool temp1
= False
;
3309 bool temp2
= False
;
3310 bool temp3
= False
;
3311 PyObject
* obj0
= 0 ;
3312 PyObject
* obj1
= 0 ;
3313 PyObject
* obj2
= 0 ;
3314 PyObject
* obj3
= 0 ;
3316 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3321 arg1
= wxString_in_helper(obj0
);
3322 if (arg1
== NULL
) SWIG_fail
;
3326 arg2
= wxString_in_helper(obj1
);
3327 if (arg2
== NULL
) SWIG_fail
;
3332 arg3
= wxString_in_helper(obj2
);
3333 if (arg3
== NULL
) SWIG_fail
;
3338 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3342 if (!wxPyCheckForApp()) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3386 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxString
*arg1
= 0 ;
3389 wxString
*arg2
= 0 ;
3390 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3391 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3392 wxWindow
*arg4
= (wxWindow
*) NULL
;
3394 bool temp1
= False
;
3395 bool temp2
= False
;
3396 bool temp3
= False
;
3397 PyObject
* obj0
= 0 ;
3398 PyObject
* obj1
= 0 ;
3399 PyObject
* obj2
= 0 ;
3400 PyObject
* obj3
= 0 ;
3402 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3407 arg1
= wxString_in_helper(obj0
);
3408 if (arg1
== NULL
) SWIG_fail
;
3412 arg2
= wxString_in_helper(obj1
);
3413 if (arg2
== NULL
) SWIG_fail
;
3418 arg3
= wxString_in_helper(obj2
);
3419 if (arg3
== NULL
) SWIG_fail
;
3424 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 if (!wxPyCheckForApp()) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3472 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3475 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3476 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3477 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3478 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3479 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3480 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3481 wxWindow
*arg5
= (wxWindow
*) NULL
;
3483 bool temp1
= False
;
3484 bool temp2
= False
;
3486 PyObject
* obj0
= 0 ;
3487 PyObject
* obj1
= 0 ;
3488 PyObject
* obj2
= 0 ;
3489 PyObject
* obj3
= 0 ;
3490 PyObject
* obj4
= 0 ;
3492 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3498 arg1
= wxString_in_helper(obj0
);
3499 if (arg1
== NULL
) SWIG_fail
;
3505 arg2
= wxString_in_helper(obj1
);
3506 if (arg2
== NULL
) SWIG_fail
;
3511 arg3
= (long)SWIG_As_long(obj2
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3521 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3525 if (!wxPyCheckForApp()) SWIG_fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3561 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxString
*arg1
= 0 ;
3564 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3565 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3566 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3567 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3568 wxWindow
*arg4
= (wxWindow
*) NULL
;
3569 int arg5
= (int) -1 ;
3570 int arg6
= (int) -1 ;
3571 bool arg7
= (bool) True
;
3573 bool temp1
= False
;
3574 bool temp2
= False
;
3575 bool temp3
= False
;
3576 PyObject
* obj0
= 0 ;
3577 PyObject
* obj1
= 0 ;
3578 PyObject
* obj2
= 0 ;
3579 PyObject
* obj3
= 0 ;
3580 PyObject
* obj4
= 0 ;
3581 PyObject
* obj5
= 0 ;
3582 PyObject
* obj6
= 0 ;
3584 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3589 arg1
= wxString_in_helper(obj0
);
3590 if (arg1
== NULL
) SWIG_fail
;
3595 arg2
= wxString_in_helper(obj1
);
3596 if (arg2
== NULL
) SWIG_fail
;
3602 arg3
= wxString_in_helper(obj2
);
3603 if (arg3
== NULL
) SWIG_fail
;
3608 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3612 arg5
= (int)SWIG_As_int(obj4
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3616 arg6
= (int)SWIG_As_int(obj5
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3620 arg7
= (bool)SWIG_As_bool(obj6
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3624 if (!wxPyCheckForApp()) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3668 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
*resultobj
;
3670 wxString
*arg1
= 0 ;
3671 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3672 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3673 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3674 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3675 wxWindow
*arg4
= (wxWindow
*) NULL
;
3677 bool temp1
= False
;
3678 bool temp2
= False
;
3679 bool temp3
= False
;
3680 PyObject
* obj0
= 0 ;
3681 PyObject
* obj1
= 0 ;
3682 PyObject
* obj2
= 0 ;
3683 PyObject
* obj3
= 0 ;
3685 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3690 arg1
= wxString_in_helper(obj0
);
3691 if (arg1
== NULL
) SWIG_fail
;
3696 arg2
= wxString_in_helper(obj1
);
3697 if (arg2
== NULL
) SWIG_fail
;
3703 arg3
= wxString_in_helper(obj2
);
3704 if (arg3
== NULL
) SWIG_fail
;
3709 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3713 if (!wxPyCheckForApp()) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3757 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxString
*arg1
= 0 ;
3760 wxString
*arg2
= 0 ;
3762 wxString
*arg4
= (wxString
*) 0 ;
3763 wxWindow
*arg5
= (wxWindow
*) NULL
;
3764 int arg6
= (int) -1 ;
3765 int arg7
= (int) -1 ;
3766 bool arg8
= (bool) True
;
3767 int arg9
= (int) 150 ;
3768 int arg10
= (int) 200 ;
3770 bool temp1
= False
;
3771 bool temp2
= False
;
3772 PyObject
* obj0
= 0 ;
3773 PyObject
* obj1
= 0 ;
3774 PyObject
* obj2
= 0 ;
3775 PyObject
* obj3
= 0 ;
3776 PyObject
* obj4
= 0 ;
3777 PyObject
* obj5
= 0 ;
3778 PyObject
* obj6
= 0 ;
3779 PyObject
* obj7
= 0 ;
3780 PyObject
* obj8
= 0 ;
3782 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3787 arg1
= wxString_in_helper(obj0
);
3788 if (arg1
== NULL
) SWIG_fail
;
3792 arg2
= wxString_in_helper(obj1
);
3793 if (arg2
== NULL
) SWIG_fail
;
3797 arg3
= PyList_Size(obj2
);
3798 arg4
= wxString_LIST_helper(obj2
);
3799 if (arg4
== NULL
) SWIG_fail
;
3802 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3806 arg6
= (int)SWIG_As_int(obj4
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 arg7
= (int)SWIG_As_int(obj5
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3814 arg8
= (bool)SWIG_As_bool(obj6
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3818 arg9
= (int)SWIG_As_int(obj7
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3822 arg10
= (int)SWIG_As_int(obj8
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3826 if (!wxPyCheckForApp()) SWIG_fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3849 if (arg4
) delete [] arg4
;
3862 if (arg4
) delete [] arg4
;
3868 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
;
3870 wxString
*arg1
= 0 ;
3871 wxString
*arg2
= 0 ;
3873 wxString
*arg4
= (wxString
*) 0 ;
3874 wxWindow
*arg5
= (wxWindow
*) NULL
;
3875 int arg6
= (int) -1 ;
3876 int arg7
= (int) -1 ;
3877 bool arg8
= (bool) True
;
3878 int arg9
= (int) 150 ;
3879 int arg10
= (int) 200 ;
3881 bool temp1
= False
;
3882 bool temp2
= False
;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3885 PyObject
* obj2
= 0 ;
3886 PyObject
* obj3
= 0 ;
3887 PyObject
* obj4
= 0 ;
3888 PyObject
* obj5
= 0 ;
3889 PyObject
* obj6
= 0 ;
3890 PyObject
* obj7
= 0 ;
3891 PyObject
* obj8
= 0 ;
3893 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3898 arg1
= wxString_in_helper(obj0
);
3899 if (arg1
== NULL
) SWIG_fail
;
3903 arg2
= wxString_in_helper(obj1
);
3904 if (arg2
== NULL
) SWIG_fail
;
3908 arg3
= PyList_Size(obj2
);
3909 arg4
= wxString_LIST_helper(obj2
);
3910 if (arg4
== NULL
) SWIG_fail
;
3913 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3917 arg6
= (int)SWIG_As_int(obj4
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3921 arg7
= (int)SWIG_As_int(obj5
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3925 arg8
= (bool)SWIG_As_bool(obj6
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3929 arg9
= (int)SWIG_As_int(obj7
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3933 arg10
= (int)SWIG_As_int(obj8
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 if (!wxPyCheckForApp()) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 resultobj
= SWIG_From_int((int)result
);
3954 if (arg4
) delete [] arg4
;
3967 if (arg4
) delete [] arg4
;
3973 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxString
*arg1
= 0 ;
3976 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3977 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3978 int arg3
= (int) wxOK
|wxCENTRE
;
3979 wxWindow
*arg4
= (wxWindow
*) NULL
;
3980 int arg5
= (int) -1 ;
3981 int arg6
= (int) -1 ;
3983 bool temp1
= False
;
3984 bool temp2
= False
;
3985 PyObject
* obj0
= 0 ;
3986 PyObject
* obj1
= 0 ;
3987 PyObject
* obj2
= 0 ;
3988 PyObject
* obj3
= 0 ;
3989 PyObject
* obj4
= 0 ;
3990 PyObject
* obj5
= 0 ;
3992 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3997 arg1
= wxString_in_helper(obj0
);
3998 if (arg1
== NULL
) SWIG_fail
;
4003 arg2
= wxString_in_helper(obj1
);
4004 if (arg2
== NULL
) SWIG_fail
;
4009 arg3
= (int)SWIG_As_int(obj2
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4013 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4017 arg5
= (int)SWIG_As_int(obj4
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4021 arg6
= (int)SWIG_As_int(obj5
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 if (!wxPyCheckForApp()) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= SWIG_From_int((int)result
);
4055 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxString
*arg1
= 0 ;
4058 wxString
*arg2
= 0 ;
4059 wxString
*arg3
= 0 ;
4061 long arg5
= (long) 0 ;
4062 long arg6
= (long) 100 ;
4063 wxWindow
*arg7
= (wxWindow
*) NULL
;
4064 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4065 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4067 bool temp1
= False
;
4068 bool temp2
= False
;
4069 bool temp3
= False
;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4073 PyObject
* obj2
= 0 ;
4074 PyObject
* obj3
= 0 ;
4075 PyObject
* obj4
= 0 ;
4076 PyObject
* obj5
= 0 ;
4077 PyObject
* obj6
= 0 ;
4078 PyObject
* obj7
= 0 ;
4080 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4085 arg1
= wxString_in_helper(obj0
);
4086 if (arg1
== NULL
) SWIG_fail
;
4090 arg2
= wxString_in_helper(obj1
);
4091 if (arg2
== NULL
) SWIG_fail
;
4095 arg3
= wxString_in_helper(obj2
);
4096 if (arg3
== NULL
) SWIG_fail
;
4099 arg4
= (long)SWIG_As_long(obj3
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 arg5
= (long)SWIG_As_long(obj4
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4106 arg6
= (long)SWIG_As_long(obj5
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4110 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4116 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4120 if (!wxPyCheckForApp()) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= SWIG_From_long((long)result
);
4158 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4167 if (!wxPyCheckForApp()) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (bool)wxColourDisplay();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4183 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4192 if (!wxPyCheckForApp()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (int)wxDisplayDepth();
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= SWIG_From_int((int)result
);
4206 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4215 if (!wxPyCheckForApp()) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 result
= (int)wxGetDisplayDepth();
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= SWIG_From_int((int)result
);
4229 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
;
4231 int *arg1
= (int *) 0 ;
4232 int *arg2
= (int *) 0 ;
4241 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4242 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4245 if (!wxPyCheckForApp()) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 wxDisplaySize(arg1
,arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 Py_INCREF(Py_None
); resultobj
= Py_None
;
4253 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4254 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4255 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4256 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4263 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
;
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4272 if (!wxPyCheckForApp()) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= wxGetDisplaySize();
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4281 resultptr
= new wxSize((wxSize
&) result
);
4282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4290 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
;
4292 int *arg1
= (int *) 0 ;
4293 int *arg2
= (int *) 0 ;
4302 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4303 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4306 if (!wxPyCheckForApp()) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 wxDisplaySizeMM(arg1
,arg2
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 Py_INCREF(Py_None
); resultobj
= Py_None
;
4314 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4315 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4316 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4317 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4324 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
;
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4333 if (!wxPyCheckForApp()) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= wxGetDisplaySizeMM();
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4342 resultptr
= new wxSize((wxSize
&) result
);
4343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4351 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
;
4353 int *arg1
= (int *) 0 ;
4354 int *arg2
= (int *) 0 ;
4355 int *arg3
= (int *) 0 ;
4356 int *arg4
= (int *) 0 ;
4369 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4370 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4371 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4372 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4375 if (!wxPyCheckForApp()) SWIG_fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 Py_INCREF(Py_None
); resultobj
= Py_None
;
4383 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4384 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4385 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4386 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4387 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4388 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4389 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4390 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4397 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4406 if (!wxPyCheckForApp()) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= wxGetClientDisplayRect();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4415 resultptr
= new wxRect((wxRect
&) result
);
4416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4424 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxCursor
*arg1
= 0 ;
4427 PyObject
* obj0
= 0 ;
4429 (char *) "cursor", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4437 PyErr_SetString(PyExc_TypeError
,"null reference");
4441 if (!wxPyCheckForApp()) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 Py_INCREF(Py_None
); resultobj
= Py_None
;
4455 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4458 PyObject
* obj0
= 0 ;
4460 (char *) "cursor", NULL
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4469 if (!wxPyCheckForApp()) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 wxBeginBusyCursor(arg1
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 Py_INCREF(Py_None
); resultobj
= Py_None
;
4483 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4492 if (!wxPyCheckForApp()) SWIG_fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 result
= (wxWindow
*)wxGetActiveWindow();
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= wxPyMake_wxObject(result
, 0);
4508 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4513 PyObject
* obj0
= 0 ;
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4521 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4524 if (!wxPyCheckForApp()) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= wxPyMake_wxObject(result
, 0);
4540 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
;
4545 PyObject
* obj0
= 0 ;
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4553 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4556 if (!wxPyCheckForApp()) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= wxPyMake_wxObject(result
, 0);
4572 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxWindow
*arg1
= (wxWindow
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "win", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4585 if (!wxPyCheckForApp()) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= wxPyMake_wxObject(result
, 0);
4601 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4605 PyObject
* obj0
= 0 ;
4607 (char *) "key", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4611 arg1
= (int)SWIG_As_int(obj0
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 if (!wxPyCheckForApp()) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4630 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4638 if (!wxPyCheckForApp()) SWIG_fail
;
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 wxWakeUpMainThread();
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 Py_INCREF(Py_None
); resultobj
= Py_None
;
4652 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4660 if (!wxPyCheckForApp()) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 Py_INCREF(Py_None
); resultobj
= Py_None
;
4674 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",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_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
;
4698 wxMutexGuiLocker
*result
;
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4705 if (!wxPyCheckForApp()) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4719 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4724 (char *) "self", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 Py_INCREF(Py_None
); resultobj
= Py_None
;
4744 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4747 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4749 return Py_BuildValue((char *)"");
4751 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (bool)wxThread_IsMain();
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4775 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
;
4777 wxString
*arg1
= 0 ;
4779 bool temp1
= False
;
4780 PyObject
* obj0
= 0 ;
4782 (char *) "tip", NULL
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4787 arg1
= wxString_in_helper(obj0
);
4788 if (arg1
== NULL
) SWIG_fail
;
4792 if (!wxPyCheckForApp()) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4800 resultobj
= wxPyMake_wxObject(result
, 1);
4816 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
*resultobj
;
4818 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4819 wxString
*arg2
= 0 ;
4820 bool temp2
= False
;
4821 PyObject
* obj0
= 0 ;
4822 PyObject
* obj1
= 0 ;
4824 (char *) "self",(char *) "tip", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4831 arg2
= wxString_in_helper(obj1
);
4832 if (arg2
== NULL
) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 (arg1
)->SetTip((wxString
const &)*arg2
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 Py_INCREF(Py_None
); resultobj
= Py_None
;
4857 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4861 PyObject
* obj0
= 0 ;
4863 (char *) "self", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (arg1
)->GetTip();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4889 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4895 (char *) "self", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= (wxWindow
*)(arg1
)->GetWindow();
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= wxPyMake_wxObject(result
, 0);
4917 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
;
4920 PyObject
* obj0
= 0 ;
4922 (char *) "flag", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4926 arg1
= (bool)SWIG_As_bool(obj0
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 wxToolTip::Enable(arg1
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 Py_INCREF(Py_None
); resultobj
= Py_None
;
4942 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4945 PyObject
* obj0
= 0 ;
4947 (char *) "milliseconds", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4951 arg1
= (long)SWIG_As_long(obj0
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 wxToolTip::SetDelay(arg1
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 Py_INCREF(Py_None
); resultobj
= Py_None
;
4967 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
4969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4970 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4972 return Py_BuildValue((char *)"");
4974 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxWindow
*arg1
= (wxWindow
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4981 PyObject
* obj1
= 0 ;
4983 (char *) "window",(char *) "size", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4991 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4994 if (!wxPyCheckForApp()) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5008 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxCaret
*arg1
= (wxCaret
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5013 (char *) "self", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 Py_INCREF(Py_None
); resultobj
= Py_None
;
5033 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxCaret
*arg1
= (wxCaret
*) 0 ;
5037 PyObject
* obj0
= 0 ;
5039 (char *) "self", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= (bool)(arg1
)->IsOk();
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5061 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxCaret
*arg1
= (wxCaret
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "self", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (bool)(arg1
)->IsVisible();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5089 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxCaret
*arg1
= (wxCaret
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5095 (char *) "self", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (arg1
)->GetPosition();
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5109 wxPoint
* resultptr
;
5110 resultptr
= new wxPoint((wxPoint
&) result
);
5111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5119 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
;
5121 wxCaret
*arg1
= (wxCaret
*) 0 ;
5122 int *arg2
= (int *) 0 ;
5123 int *arg3
= (int *) 0 ;
5128 PyObject
* obj0
= 0 ;
5130 (char *) "self", NULL
5133 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5134 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 (arg1
)->GetPosition(arg2
,arg3
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 Py_INCREF(Py_None
); resultobj
= Py_None
;
5146 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5147 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5148 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5149 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5156 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxCaret
*arg1
= (wxCaret
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 (char *) "self", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (arg1
)->GetSize();
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5177 resultptr
= new wxSize((wxSize
&) result
);
5178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5186 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxCaret
*arg1
= (wxCaret
*) 0 ;
5189 int *arg2
= (int *) 0 ;
5190 int *arg3
= (int *) 0 ;
5195 PyObject
* obj0
= 0 ;
5197 (char *) "self", NULL
5200 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5201 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 (arg1
)->GetSize(arg2
,arg3
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 Py_INCREF(Py_None
); resultobj
= Py_None
;
5213 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5214 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5215 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5216 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5223 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxCaret
*arg1
= (wxCaret
*) 0 ;
5227 PyObject
* obj0
= 0 ;
5229 (char *) "self", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (wxWindow
*)(arg1
)->GetWindow();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= wxPyMake_wxObject(result
, 0);
5251 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
;
5253 wxCaret
*arg1
= (wxCaret
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj1
= 0 ;
5258 PyObject
* obj2
= 0 ;
5260 (char *) "self",(char *) "x",(char *) "y", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5266 arg2
= (int)SWIG_As_int(obj1
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5268 arg3
= (int)SWIG_As_int(obj2
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 (arg1
)->Move(arg2
,arg3
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 Py_INCREF(Py_None
); resultobj
= Py_None
;
5284 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxCaret
*arg1
= (wxCaret
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5290 PyObject
* obj1
= 0 ;
5292 (char *) "self",(char *) "pt", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 (arg1
)->Move((wxPoint
const &)*arg2
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 Py_INCREF(Py_None
); resultobj
= Py_None
;
5316 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxCaret
*arg1
= (wxCaret
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5323 PyObject
* obj2
= 0 ;
5325 (char *) "self",(char *) "width",(char *) "height", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5331 arg2
= (int)SWIG_As_int(obj1
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5333 arg3
= (int)SWIG_As_int(obj2
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->SetSize(arg2
,arg3
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxCaret
*arg1
= (wxCaret
*) 0 ;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5357 (char *) "self",(char *) "size", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 (arg1
)->SetSize((wxSize
const &)*arg2
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 Py_INCREF(Py_None
); resultobj
= Py_None
;
5381 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxCaret
*arg1
= (wxCaret
*) 0 ;
5384 int arg2
= (int) True
;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5388 (char *) "self",(char *) "show", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5395 arg2
= (int)SWIG_As_int(obj1
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 Py_INCREF(Py_None
); resultobj
= Py_None
;
5412 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
;
5414 wxCaret
*arg1
= (wxCaret
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5417 (char *) "self", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 Py_INCREF(Py_None
); resultobj
= Py_None
;
5437 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5440 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5442 return Py_BuildValue((char *)"");
5444 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 result
= (int)wxCaret_GetBlinkTime();
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_From_int((int)result
);
5466 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5469 PyObject
* obj0
= 0 ;
5471 (char *) "milliseconds", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5475 arg1
= (int)SWIG_As_int(obj0
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 wxCaret_SetBlinkTime(arg1
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 Py_INCREF(Py_None
); resultobj
= Py_None
;
5491 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5494 wxBusyCursor
*result
;
5495 PyObject
* obj0
= 0 ;
5497 (char *) "cursor", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5506 if (!wxPyCheckForApp()) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5520 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 Py_INCREF(Py_None
); resultobj
= Py_None
;
5545 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5548 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5550 return Py_BuildValue((char *)"");
5552 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
;
5554 wxWindow
*arg1
= (wxWindow
*) NULL
;
5555 wxWindowDisabler
*result
;
5556 PyObject
* obj0
= 0 ;
5558 (char *) "winToSkip", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 if (!wxPyCheckForApp()) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5581 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5586 (char *) "self", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5599 Py_INCREF(Py_None
); resultobj
= Py_None
;
5606 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5609 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5611 return Py_BuildValue((char *)"");
5613 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5615 wxString
*arg1
= 0 ;
5617 bool temp1
= False
;
5618 PyObject
* obj0
= 0 ;
5620 (char *) "message", NULL
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5625 arg1
= wxString_in_helper(obj0
);
5626 if (arg1
== NULL
) SWIG_fail
;
5630 if (!wxPyCheckForApp()) SWIG_fail
;
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5652 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5655 PyObject
* obj0
= 0 ;
5657 (char *) "self", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 Py_INCREF(Py_None
); resultobj
= Py_None
;
5677 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5680 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5682 return Py_BuildValue((char *)"");
5684 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxStopWatch
*result
;
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (wxStopWatch
*)new wxStopWatch();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5706 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5709 long arg2
= (long) 0 ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5713 (char *) "self",(char *) "t0", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5720 arg2
= (long)SWIG_As_long(obj1
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 (arg1
)->Start(arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 Py_INCREF(Py_None
); resultobj
= Py_None
;
5737 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5742 (char *) "self", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 Py_INCREF(Py_None
); resultobj
= Py_None
;
5762 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
;
5764 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5767 (char *) "self", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 Py_INCREF(Py_None
); resultobj
= Py_None
;
5787 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
;
5789 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5793 (char *) "self", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= SWIG_From_long((long)result
);
5813 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5816 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5818 return Py_BuildValue((char *)"");
5820 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 int arg1
= (int) 9 ;
5823 int arg2
= (int) wxID_FILE1
;
5824 wxFileHistory
*result
;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj1
= 0 ;
5828 (char *) "maxFiles",(char *) "idBase", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5833 arg1
= (int)SWIG_As_int(obj0
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5837 arg2
= (int)SWIG_As_int(obj1
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5854 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
;
5856 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5857 PyObject
* obj0
= 0 ;
5859 (char *) "self", NULL
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 Py_INCREF(Py_None
); resultobj
= Py_None
;
5879 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5882 wxString
*arg2
= 0 ;
5883 bool temp2
= False
;
5884 PyObject
* obj0
= 0 ;
5885 PyObject
* obj1
= 0 ;
5887 (char *) "self",(char *) "file", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5894 arg2
= wxString_in_helper(obj1
);
5895 if (arg2
== NULL
) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 Py_INCREF(Py_None
); resultobj
= Py_None
;
5920 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5925 PyObject
* obj1
= 0 ;
5927 (char *) "self",(char *) "i", NULL
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 arg2
= (int)SWIG_As_int(obj1
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 (arg1
)->RemoveFileFromHistory(arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 Py_INCREF(Py_None
); resultobj
= Py_None
;
5949 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5955 (char *) "self", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= SWIG_From_int((int)result
);
5975 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5978 wxMenu
*arg2
= (wxMenu
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5980 PyObject
* obj1
= 0 ;
5982 (char *) "self",(char *) "menu", NULL
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 (arg1
)->UseMenu(arg2
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 Py_INCREF(Py_None
); resultobj
= Py_None
;
6004 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6007 wxMenu
*arg2
= (wxMenu
*) 0 ;
6008 PyObject
* obj0
= 0 ;
6009 PyObject
* obj1
= 0 ;
6011 (char *) "self",(char *) "menu", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 (arg1
)->RemoveMenu(arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 Py_INCREF(Py_None
); resultobj
= Py_None
;
6033 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6036 wxConfigBase
*arg2
= 0 ;
6037 PyObject
* obj0
= 0 ;
6038 PyObject
* obj1
= 0 ;
6040 (char *) "self",(char *) "config", NULL
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6050 PyErr_SetString(PyExc_TypeError
,"null reference");
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 (arg1
)->Load(*arg2
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 Py_INCREF(Py_None
); resultobj
= Py_None
;
6067 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6070 wxConfigBase
*arg2
= 0 ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6074 (char *) "self",(char *) "config", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6084 PyErr_SetString(PyExc_TypeError
,"null reference");
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 (arg1
)->Save(*arg2
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 Py_INCREF(Py_None
); resultobj
= Py_None
;
6101 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->AddFilesToMenu();
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6129 wxMenu
*arg2
= (wxMenu
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6133 (char *) "self",(char *) "menu", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 (arg1
)->AddFilesToMenu(arg2
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 Py_INCREF(Py_None
); resultobj
= Py_None
;
6155 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6163 (char *) "self",(char *) "i", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6169 arg2
= (int)SWIG_As_int(obj1
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6191 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6195 PyObject
* obj0
= 0 ;
6197 (char *) "self", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= SWIG_From_int((int)result
);
6217 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6220 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6222 return Py_BuildValue((char *)"");
6224 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxString
*arg1
= 0 ;
6227 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6228 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6229 wxSingleInstanceChecker
*result
;
6230 bool temp1
= False
;
6231 bool temp2
= False
;
6232 PyObject
* obj0
= 0 ;
6233 PyObject
* obj1
= 0 ;
6235 (char *) "name",(char *) "path", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 arg1
= wxString_in_helper(obj0
);
6241 if (arg1
== NULL
) SWIG_fail
;
6246 arg2
= wxString_in_helper(obj1
);
6247 if (arg2
== NULL
) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6281 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxSingleInstanceChecker
*result
;
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6303 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6306 PyObject
* obj0
= 0 ;
6308 (char *) "self", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 Py_INCREF(Py_None
); resultobj
= Py_None
;
6328 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6331 wxString
*arg2
= 0 ;
6332 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6333 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6335 bool temp2
= False
;
6336 bool temp3
= False
;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6341 (char *) "self",(char *) "name",(char *) "path", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 arg2
= wxString_in_helper(obj1
);
6349 if (arg2
== NULL
) SWIG_fail
;
6354 arg3
= wxString_in_helper(obj2
);
6355 if (arg3
== NULL
) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6391 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6397 (char *) "self", NULL
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6419 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6422 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6424 return Py_BuildValue((char *)"");
6426 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxWindow
*arg1
= (wxWindow
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6432 PyObject
* obj1
= 0 ;
6433 PyObject
* obj2
= 0 ;
6435 (char *) "window",(char *) "dc",(char *) "method", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6445 PyErr_SetString(PyExc_TypeError
,"null reference");
6448 arg3
= (int)SWIG_As_int(obj2
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 (char *) "self", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 Py_INCREF(Py_None
); resultobj
= Py_None
;
6489 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (arg1
)->GetTip();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6521 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6527 (char *) "self", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (size_t)(arg1
)->GetCurrentTip();
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6547 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6550 wxString
*arg2
= 0 ;
6552 bool temp2
= False
;
6553 PyObject
* obj0
= 0 ;
6554 PyObject
* obj1
= 0 ;
6556 (char *) "self",(char *) "tip", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 arg2
= wxString_in_helper(obj1
);
6564 if (arg2
== NULL
) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6595 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6598 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6600 return Py_BuildValue((char *)"");
6602 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6605 wxPyTipProvider
*result
;
6606 PyObject
* obj0
= 0 ;
6608 (char *) "currentTip", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6612 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6628 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6630 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6631 PyObject
*arg2
= (PyObject
*) 0 ;
6632 PyObject
*arg3
= (PyObject
*) 0 ;
6633 PyObject
* obj0
= 0 ;
6634 PyObject
* obj1
= 0 ;
6635 PyObject
* obj2
= 0 ;
6637 (char *) "self",(char *) "self",(char *) "_class", NULL
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 Py_INCREF(Py_None
); resultobj
= Py_None
;
6659 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6662 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6664 return Py_BuildValue((char *)"");
6666 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxWindow
*arg1
= (wxWindow
*) 0 ;
6669 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6670 bool arg3
= (bool) True
;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6674 PyObject
* obj2
= 0 ;
6676 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6685 arg3
= (bool)SWIG_As_bool(obj2
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 if (!wxPyCheckForApp()) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6705 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxString
*arg1
= 0 ;
6709 wxTipProvider
*result
;
6710 bool temp1
= False
;
6711 PyObject
* obj0
= 0 ;
6712 PyObject
* obj1
= 0 ;
6714 (char *) "filename",(char *) "currentTip", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6719 arg1
= wxString_in_helper(obj0
);
6720 if (arg1
== NULL
) SWIG_fail
;
6723 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 if (!wxPyCheckForApp()) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6748 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6751 int arg2
= (int) -1 ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6756 (char *) "owner",(char *) "id", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6765 arg2
= (int)SWIG_As_int(obj1
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6769 if (!wxPyCheckForApp()) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6783 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6786 PyObject
* obj0
= 0 ;
6788 (char *) "self", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 Py_INCREF(Py_None
); resultobj
= Py_None
;
6808 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6811 PyObject
*arg2
= (PyObject
*) 0 ;
6812 PyObject
*arg3
= (PyObject
*) 0 ;
6813 int arg4
= (int) 1 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6816 PyObject
* obj2
= 0 ;
6817 PyObject
* obj3
= 0 ;
6819 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6828 arg4
= (int)SWIG_As_int(obj3
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 Py_INCREF(Py_None
); resultobj
= Py_None
;
6845 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6848 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6849 int arg3
= (int) -1 ;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6852 PyObject
* obj2
= 0 ;
6854 (char *) "self",(char *) "owner",(char *) "id", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg3
= (int)SWIG_As_int(obj2
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 (arg1
)->SetOwner(arg2
,arg3
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 Py_INCREF(Py_None
); resultobj
= Py_None
;
6880 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6883 wxEvtHandler
*result
;
6884 PyObject
* obj0
= 0 ;
6886 (char *) "self", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= wxPyMake_wxObject(result
, 0);
6908 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6911 int arg2
= (int) -1 ;
6912 bool arg3
= (bool) False
;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6916 PyObject
* obj2
= 0 ;
6918 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 arg2
= (int)SWIG_As_int(obj1
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 arg3
= (bool)SWIG_As_bool(obj2
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6948 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6951 PyObject
* obj0
= 0 ;
6953 (char *) "self", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 Py_INCREF(Py_None
); resultobj
= Py_None
;
6973 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6977 PyObject
* obj0
= 0 ;
6979 (char *) "self", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7001 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7005 PyObject
* obj0
= 0 ;
7007 (char *) "self", NULL
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_From_int((int)result
);
7027 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7033 (char *) "self", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7055 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7061 (char *) "self", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_From_int((int)result
);
7081 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7084 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7086 return Py_BuildValue((char *)"");
7088 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 int arg1
= (int) 0 ;
7091 int arg2
= (int) 0 ;
7092 wxTimerEvent
*result
;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7096 (char *) "timerid",(char *) "interval", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7101 arg1
= (int)SWIG_As_int(obj0
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7105 arg2
= (int)SWIG_As_int(obj1
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7122 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7128 (char *) "self", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_From_int((int)result
);
7148 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7151 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7153 return Py_BuildValue((char *)"");
7155 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7156 PyObject
*resultobj
;
7158 wxTimerRunner
*result
;
7159 PyObject
* obj0
= 0 ;
7161 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7166 PyErr_SetString(PyExc_TypeError
,"null reference");
7170 if (!wxPyCheckForApp()) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7184 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7185 PyObject
*resultobj
;
7188 bool arg3
= (bool) False
;
7189 wxTimerRunner
*result
;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7192 PyObject
* obj2
= 0 ;
7194 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7199 PyErr_SetString(PyExc_TypeError
,"null reference");
7202 arg2
= (int)SWIG_As_int(obj1
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 arg3
= (bool)SWIG_As_bool(obj2
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7209 if (!wxPyCheckForApp()) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7223 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7228 argc
= PyObject_Length(args
);
7229 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7230 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7236 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7244 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7247 if ((argc
>= 2) && (argc
<= 3)) {
7251 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7259 _v
= SWIG_Check_int(argv
[1]);
7262 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7264 _v
= SWIG_Check_bool(argv
[2]);
7266 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7272 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7277 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "self", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7302 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7306 bool arg3
= (bool) False
;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 PyObject
* obj2
= 0 ;
7311 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7317 arg2
= (int)SWIG_As_int(obj1
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 arg3
= (bool)SWIG_As_bool(obj2
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 (arg1
)->Start(arg2
,arg3
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 Py_INCREF(Py_None
); resultobj
= Py_None
;
7337 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7340 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7342 return Py_BuildValue((char *)"");
7344 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= (wxLog
*)new wxLog();
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7366 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (bool)wxLog::IsEnabled();
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7390 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
;
7392 bool arg1
= (bool) True
;
7394 PyObject
* obj0
= 0 ;
7396 (char *) "doIt", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7401 arg1
= (bool)SWIG_As_bool(obj0
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= (bool)wxLog::EnableLogging(arg1
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7420 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7423 wxChar
*arg2
= (wxChar
*) 0 ;
7425 PyObject
* obj0
= 0 ;
7426 PyObject
* obj1
= 0 ;
7427 PyObject
* obj2
= 0 ;
7429 (char *) "level",(char *) "szString",(char *) "t", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7433 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7437 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxLog
*arg1
= (wxLog
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7458 (char *) "self", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 Py_INCREF(Py_None
); resultobj
= Py_None
;
7478 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
;
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 wxLog::FlushActive();
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (wxLog
*)wxLog::GetActiveTarget();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7521 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxLog
*arg1
= (wxLog
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7527 (char *) "pLogger", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7547 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 Py_INCREF(Py_None
); resultobj
= Py_None
;
7568 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 Py_INCREF(Py_None
); resultobj
= Py_None
;
7589 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 bool arg1
= (bool) True
;
7592 PyObject
* obj0
= 0 ;
7594 (char *) "bVerbose", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7599 arg1
= (bool)SWIG_As_bool(obj0
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 wxLog::SetVerbose(arg1
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 Py_INCREF(Py_None
); resultobj
= Py_None
;
7616 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7619 PyObject
* obj0
= 0 ;
7621 (char *) "logLevel", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7625 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 wxLog::SetLogLevel(arg1
);
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 Py_INCREF(Py_None
); resultobj
= Py_None
;
7641 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 wxLog::DontCreateOnDemand();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 Py_INCREF(Py_None
); resultobj
= Py_None
;
7662 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "ulMask", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7671 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 wxLog::SetTraceMask(arg1
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 Py_INCREF(Py_None
); resultobj
= Py_None
;
7687 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxString
*arg1
= 0 ;
7690 bool temp1
= False
;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "str", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7698 arg1
= wxString_in_helper(obj0
);
7699 if (arg1
== NULL
) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 wxLog::AddTraceMask((wxString
const &)*arg1
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 Py_INCREF(Py_None
); resultobj
= Py_None
;
7724 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxString
*arg1
= 0 ;
7727 bool temp1
= False
;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "str", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7735 arg1
= wxString_in_helper(obj0
);
7736 if (arg1
== NULL
) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7761 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 wxLog::ClearTraceMasks();
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 Py_INCREF(Py_None
); resultobj
= Py_None
;
7782 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxArrayString
*result
;
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7794 result
= (wxArrayString
*) &_result_ref
;
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= wxArrayString2PyList_helper(*result
);
7809 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxChar
*arg1
= (wxChar
*) 0 ;
7812 PyObject
* obj0
= 0 ;
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 wxLog::SetTimestamp((wxChar
const *)arg1
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 Py_INCREF(Py_None
); resultobj
= Py_None
;
7834 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 result
= (bool)wxLog::GetVerbose();
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7858 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 result
= (wxTraceMask
)wxLog::GetTraceMask();
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7880 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxChar
*arg1
= (wxChar
*) 0 ;
7884 PyObject
* obj0
= 0 ;
7886 (char *) "mask", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7908 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= (wxLogLevel
)wxLog::GetLogLevel();
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7930 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (wxChar
*)wxLog::GetTimestamp();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7952 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= Log_TimeStamp();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7980 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
;
7982 wxLog
*arg1
= (wxLog
*) 0 ;
7983 PyObject
* obj0
= 0 ;
7985 (char *) "self", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 wxLog_Destroy(arg1
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 Py_INCREF(Py_None
); resultobj
= Py_None
;
8005 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8008 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8010 return Py_BuildValue((char *)"");
8012 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxLogStderr
*result
;
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (wxLogStderr
*)new wxLogStderr();
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8034 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8037 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8039 return Py_BuildValue((char *)"");
8041 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8044 wxLogTextCtrl
*result
;
8045 PyObject
* obj0
= 0 ;
8047 (char *) "pTextCtrl", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8067 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8070 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8072 return Py_BuildValue((char *)"");
8074 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= (wxLogGui
*)new wxLogGui();
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8096 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8099 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8101 return Py_BuildValue((char *)"");
8103 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxFrame
*arg1
= (wxFrame
*) 0 ;
8106 wxString
*arg2
= 0 ;
8107 bool arg3
= (bool) True
;
8108 bool arg4
= (bool) True
;
8109 wxLogWindow
*result
;
8110 bool temp2
= False
;
8111 PyObject
* obj0
= 0 ;
8112 PyObject
* obj1
= 0 ;
8113 PyObject
* obj2
= 0 ;
8114 PyObject
* obj3
= 0 ;
8116 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8123 arg2
= wxString_in_helper(obj1
);
8124 if (arg2
== NULL
) SWIG_fail
;
8128 arg3
= (bool)SWIG_As_bool(obj2
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8132 arg4
= (bool)SWIG_As_bool(obj3
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8157 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8160 bool arg2
= (bool) True
;
8161 PyObject
* obj0
= 0 ;
8162 PyObject
* obj1
= 0 ;
8164 (char *) "self",(char *) "bShow", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8171 arg2
= (bool)SWIG_As_bool(obj1
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 Py_INCREF(Py_None
); resultobj
= Py_None
;
8188 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8192 PyObject
* obj0
= 0 ;
8194 (char *) "self", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= wxPyMake_wxObject(result
, 0);
8216 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8222 (char *) "self", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8242 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8246 PyObject
* obj0
= 0 ;
8248 (char *) "self", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8270 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8274 PyObject
* obj0
= 0 ;
8275 PyObject
* obj1
= 0 ;
8277 (char *) "self",(char *) "bDoPass", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8283 arg2
= (bool)SWIG_As_bool(obj1
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 (arg1
)->PassMessages(arg2
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 Py_INCREF(Py_None
); resultobj
= Py_None
;
8299 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8302 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8304 return Py_BuildValue((char *)"");
8306 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxLog
*arg1
= (wxLog
*) 0 ;
8310 PyObject
* obj0
= 0 ;
8312 (char *) "logger", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 result
= (wxLogChain
*)new wxLogChain(arg1
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8332 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8335 wxLog
*arg2
= (wxLog
*) 0 ;
8336 PyObject
* obj0
= 0 ;
8337 PyObject
* obj1
= 0 ;
8339 (char *) "self",(char *) "logger", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 (arg1
)->SetLog(arg2
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 Py_INCREF(Py_None
); resultobj
= Py_None
;
8361 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8368 (char *) "self",(char *) "bDoPass", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8374 arg2
= (bool)SWIG_As_bool(obj1
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 (arg1
)->PassMessages(arg2
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 Py_INCREF(Py_None
); resultobj
= Py_None
;
8390 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8396 (char *) "self", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= (bool)(arg1
)->IsPassingMessages();
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8418 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8422 PyObject
* obj0
= 0 ;
8424 (char *) "self", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (wxLog
*)(arg1
)->GetOldLog();
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8444 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8447 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8449 return Py_BuildValue((char *)"");
8451 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 unsigned long result
;
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 result
= (unsigned long)wxSysErrorCode();
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8473 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 unsigned long arg1
= (unsigned long) 0 ;
8477 PyObject
* obj0
= 0 ;
8479 (char *) "nErrCode", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8484 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= wxSysErrorMsg(arg1
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8507 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxString
*arg1
= 0 ;
8510 bool temp1
= False
;
8511 PyObject
* obj0
= 0 ;
8513 (char *) "msg", NULL
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8518 arg1
= wxString_in_helper(obj0
);
8519 if (arg1
== NULL
) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 wxLogFatalError((wxString
const &)*arg1
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8529 Py_INCREF(Py_None
); resultobj
= Py_None
;
8544 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxString
*arg1
= 0 ;
8547 bool temp1
= False
;
8548 PyObject
* obj0
= 0 ;
8550 (char *) "msg", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8555 arg1
= wxString_in_helper(obj0
);
8556 if (arg1
== NULL
) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 wxLogError((wxString
const &)*arg1
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 Py_INCREF(Py_None
); resultobj
= Py_None
;
8581 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxString
*arg1
= 0 ;
8584 bool temp1
= False
;
8585 PyObject
* obj0
= 0 ;
8587 (char *) "msg", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8592 arg1
= wxString_in_helper(obj0
);
8593 if (arg1
== NULL
) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 wxLogWarning((wxString
const &)*arg1
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 Py_INCREF(Py_None
); resultobj
= Py_None
;
8618 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxString
*arg1
= 0 ;
8621 bool temp1
= False
;
8622 PyObject
* obj0
= 0 ;
8624 (char *) "msg", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8629 arg1
= wxString_in_helper(obj0
);
8630 if (arg1
== NULL
) SWIG_fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 wxLogMessage((wxString
const &)*arg1
);
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 Py_INCREF(Py_None
); resultobj
= Py_None
;
8655 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxString
*arg1
= 0 ;
8658 bool temp1
= False
;
8659 PyObject
* obj0
= 0 ;
8661 (char *) "msg", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8666 arg1
= wxString_in_helper(obj0
);
8667 if (arg1
== NULL
) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 wxLogInfo((wxString
const &)*arg1
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 Py_INCREF(Py_None
); resultobj
= Py_None
;
8692 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxString
*arg1
= 0 ;
8695 bool temp1
= False
;
8696 PyObject
* obj0
= 0 ;
8698 (char *) "msg", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8703 arg1
= wxString_in_helper(obj0
);
8704 if (arg1
== NULL
) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 wxLogDebug((wxString
const &)*arg1
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxString
*arg1
= 0 ;
8732 bool temp1
= False
;
8733 PyObject
* obj0
= 0 ;
8735 (char *) "msg", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8740 arg1
= wxString_in_helper(obj0
);
8741 if (arg1
== NULL
) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 wxLogVerbose((wxString
const &)*arg1
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 Py_INCREF(Py_None
); resultobj
= Py_None
;
8766 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
;
8768 wxString
*arg1
= 0 ;
8769 bool temp1
= False
;
8770 PyObject
* obj0
= 0 ;
8772 (char *) "msg", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8777 arg1
= wxString_in_helper(obj0
);
8778 if (arg1
== NULL
) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 wxLogStatus((wxString
const &)*arg1
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 Py_INCREF(Py_None
); resultobj
= Py_None
;
8803 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxFrame
*arg1
= (wxFrame
*) 0 ;
8806 wxString
*arg2
= 0 ;
8807 bool temp2
= False
;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8811 (char *) "pFrame",(char *) "msg", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8818 arg2
= wxString_in_helper(obj1
);
8819 if (arg2
== NULL
) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 Py_INCREF(Py_None
); resultobj
= Py_None
;
8844 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxString
*arg1
= 0 ;
8847 bool temp1
= False
;
8848 PyObject
* obj0
= 0 ;
8850 (char *) "msg", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8855 arg1
= wxString_in_helper(obj0
);
8856 if (arg1
== NULL
) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 wxLogSysError((wxString
const &)*arg1
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 Py_INCREF(Py_None
); resultobj
= Py_None
;
8881 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8882 PyObject
*resultobj
;
8883 unsigned long arg1
;
8884 wxString
*arg2
= 0 ;
8885 bool temp2
= False
;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8889 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8890 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 arg2
= wxString_in_helper(obj1
);
8894 if (arg2
== NULL
) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 Py_INCREF(Py_None
); resultobj
= Py_None
;
8919 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8920 PyObject
*resultobj
;
8921 wxString
*arg1
= 0 ;
8922 wxString
*arg2
= 0 ;
8923 bool temp1
= False
;
8924 bool temp2
= False
;
8925 PyObject
* obj0
= 0 ;
8926 PyObject
* obj1
= 0 ;
8928 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8930 arg1
= wxString_in_helper(obj0
);
8931 if (arg1
== NULL
) SWIG_fail
;
8935 arg2
= wxString_in_helper(obj1
);
8936 if (arg2
== NULL
) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 Py_INCREF(Py_None
); resultobj
= Py_None
;
8969 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8974 argc
= PyObject_Length(args
);
8975 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8976 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8981 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8985 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8988 return _wrap_LogTrace__SWIG_1(self
,args
);
8994 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
8997 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9000 return _wrap_LogTrace__SWIG_0(self
,args
);
9005 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9010 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 unsigned long arg1
;
9013 wxString
*arg2
= 0 ;
9014 bool temp2
= False
;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9018 (char *) "level",(char *) "msg", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9022 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 arg2
= wxString_in_helper(obj1
);
9026 if (arg2
== NULL
) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9051 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxString
*arg1
= 0 ;
9054 wxString
*arg2
= 0 ;
9055 bool temp1
= False
;
9056 bool temp2
= False
;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9060 (char *) "title",(char *) "text", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9065 arg1
= wxString_in_helper(obj0
);
9066 if (arg1
== NULL
) SWIG_fail
;
9070 arg2
= wxString_in_helper(obj1
);
9071 if (arg2
== NULL
) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 Py_INCREF(Py_None
); resultobj
= Py_None
;
9104 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (wxLogNull
*)new wxLogNull();
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9126 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 Py_INCREF(Py_None
); resultobj
= Py_None
;
9151 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9154 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9156 return Py_BuildValue((char *)"");
9158 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (wxPyLog
*)new wxPyLog();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9180 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9183 PyObject
*arg2
= (PyObject
*) 0 ;
9184 PyObject
*arg3
= (PyObject
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9187 PyObject
* obj2
= 0 ;
9189 (char *) "self",(char *) "self",(char *) "_class", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 Py_INCREF(Py_None
); resultobj
= Py_None
;
9211 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9214 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9216 return Py_BuildValue((char *)"");
9218 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9221 int arg2
= (int) wxSIGTERM
;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9226 (char *) "pid",(char *) "sig", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9230 arg1
= (int)SWIG_As_int(obj0
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 arg2
= (int)SWIG_As_int(obj1
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= SWIG_From_int((int)result
);
9250 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
;
9254 PyObject
* obj0
= 0 ;
9256 (char *) "pid", NULL
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9260 arg1
= (int)SWIG_As_int(obj0
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (bool)wxPyProcess::Exists(arg1
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9278 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxString
*arg1
= 0 ;
9281 int arg2
= (int) wxEXEC_ASYNC
;
9282 wxPyProcess
*result
;
9283 bool temp1
= False
;
9284 PyObject
* obj0
= 0 ;
9285 PyObject
* obj1
= 0 ;
9287 (char *) "cmd",(char *) "flags", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9292 arg1
= wxString_in_helper(obj0
);
9293 if (arg1
== NULL
) SWIG_fail
;
9297 arg2
= (int)SWIG_As_int(obj1
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9322 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9325 int arg2
= (int) -1 ;
9326 wxPyProcess
*result
;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9330 (char *) "parent",(char *) "id", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9339 arg2
= (int)SWIG_As_int(obj1
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9356 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
;
9358 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9359 PyObject
*arg2
= (PyObject
*) 0 ;
9360 PyObject
*arg3
= (PyObject
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9362 PyObject
* obj1
= 0 ;
9363 PyObject
* obj2
= 0 ;
9365 (char *) "self",(char *) "self",(char *) "_class", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 Py_INCREF(Py_None
); resultobj
= Py_None
;
9387 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9394 PyObject
* obj2
= 0 ;
9396 (char *) "self",(char *) "pid",(char *) "status", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9402 arg2
= (int)SWIG_As_int(obj1
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9404 arg3
= (int)SWIG_As_int(obj2
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 (arg1
)->base_OnTerminate(arg2
,arg3
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 Py_INCREF(Py_None
); resultobj
= Py_None
;
9420 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9425 (char *) "self", NULL
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 Py_INCREF(Py_None
); resultobj
= Py_None
;
9445 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (bool)(arg1
)->IsRedirected();
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9473 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9478 (char *) "self", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 Py_INCREF(Py_None
); resultobj
= Py_None
;
9498 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9501 wxInputStream
*result
;
9502 PyObject
* obj0
= 0 ;
9504 (char *) "self", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9518 wxPyInputStream
* _ptr
= NULL
;
9521 _ptr
= new wxPyInputStream(result
);
9523 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9531 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9534 wxInputStream
*result
;
9535 PyObject
* obj0
= 0 ;
9537 (char *) "self", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9551 wxPyInputStream
* _ptr
= NULL
;
9554 _ptr
= new wxPyInputStream(result
);
9556 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9564 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9567 wxOutputStream
*result
;
9568 PyObject
* obj0
= 0 ;
9570 (char *) "self", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9590 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 (arg1
)->CloseOutput();
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 Py_INCREF(Py_None
); resultobj
= Py_None
;
9615 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9617 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9643 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9671 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9675 PyObject
* obj0
= 0 ;
9677 (char *) "self", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9699 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9702 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9704 return Py_BuildValue((char *)"");
9706 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 int arg1
= (int) 0 ;
9709 int arg2
= (int) 0 ;
9710 int arg3
= (int) 0 ;
9711 wxProcessEvent
*result
;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 PyObject
* obj2
= 0 ;
9716 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9721 arg1
= (int)SWIG_As_int(obj0
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 arg2
= (int)SWIG_As_int(obj1
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9729 arg3
= (int)SWIG_As_int(obj2
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9746 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 result
= (int)(arg1
)->GetPid();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_From_int((int)result
);
9772 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "self", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)(arg1
)->GetExitCode();
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_From_int((int)result
);
9798 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9805 (char *) "self",(char *) "m_pid", NULL
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9811 arg2
= (int)SWIG_As_int(obj1
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9813 if (arg1
) (arg1
)->m_pid
= arg2
;
9815 Py_INCREF(Py_None
); resultobj
= Py_None
;
9822 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "self", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9834 result
= (int) ((arg1
)->m_pid
);
9836 resultobj
= SWIG_From_int((int)result
);
9843 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9850 (char *) "self",(char *) "m_exitcode", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9856 arg2
= (int)SWIG_As_int(obj1
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9858 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9860 Py_INCREF(Py_None
); resultobj
= Py_None
;
9867 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9873 (char *) "self", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9879 result
= (int) ((arg1
)->m_exitcode
);
9881 resultobj
= SWIG_From_int((int)result
);
9888 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9891 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9893 return Py_BuildValue((char *)"");
9895 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxString
*arg1
= 0 ;
9898 int arg2
= (int) wxEXEC_ASYNC
;
9899 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9901 bool temp1
= False
;
9902 PyObject
* obj0
= 0 ;
9903 PyObject
* obj1
= 0 ;
9904 PyObject
* obj2
= 0 ;
9906 (char *) "command",(char *) "flags",(char *) "process", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9911 arg1
= wxString_in_helper(obj0
);
9912 if (arg1
== NULL
) SWIG_fail
;
9916 arg2
= (int)SWIG_As_int(obj1
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9924 if (!wxPyCheckForApp()) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= SWIG_From_long((long)result
);
9946 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 int arg1
= (int) wxJOYSTICK1
;
9950 PyObject
* obj0
= 0 ;
9952 (char *) "joystick", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9957 arg1
= (int)SWIG_As_int(obj0
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9961 if (!wxPyCheckForApp()) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (wxJoystick
*)new wxJoystick(arg1
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9975 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9978 PyObject
* obj0
= 0 ;
9980 (char *) "self", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 Py_INCREF(Py_None
); resultobj
= Py_None
;
10000 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10004 PyObject
* obj0
= 0 ;
10005 char *kwnames
[] = {
10006 (char *) "self", NULL
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 result
= (arg1
)->GetPosition();
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10020 wxPoint
* resultptr
;
10021 resultptr
= new wxPoint((wxPoint
&) result
);
10022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10030 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= (int)(arg1
)->GetZPosition();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_From_int((int)result
);
10056 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (int)(arg1
)->GetButtonState();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_From_int((int)result
);
10082 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (int)(arg1
)->GetPOVPosition();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_From_int((int)result
);
10108 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (int)(arg1
)->GetPOVCTSPosition();
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= SWIG_From_int((int)result
);
10134 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (int)(arg1
)->GetRudderPosition();
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= SWIG_From_int((int)result
);
10160 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (int)(arg1
)->GetUPosition();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_From_int((int)result
);
10186 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (int)(arg1
)->GetVPosition();
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= SWIG_From_int((int)result
);
10212 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (int)(arg1
)->GetMovementThreshold();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_From_int((int)result
);
10238 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 PyObject
* obj1
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self",(char *) "threshold", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 arg2
= (int)SWIG_As_int(obj1
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 (arg1
)->SetMovementThreshold(arg2
);
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 Py_INCREF(Py_None
); resultobj
= Py_None
;
10267 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (bool)(arg1
)->IsOk();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10295 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (int)(arg1
)->GetNumberJoysticks();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_From_int((int)result
);
10321 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (int)(arg1
)->GetManufacturerId();
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= SWIG_From_int((int)result
);
10347 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 result
= (int)(arg1
)->GetProductId();
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= SWIG_From_int((int)result
);
10373 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (arg1
)->GetProductName();
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10405 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
;
10407 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10409 PyObject
* obj0
= 0 ;
10410 char *kwnames
[] = {
10411 (char *) "self", NULL
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 result
= (int)(arg1
)->GetXMin();
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= SWIG_From_int((int)result
);
10431 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10435 PyObject
* obj0
= 0 ;
10436 char *kwnames
[] = {
10437 (char *) "self", NULL
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 result
= (int)(arg1
)->GetYMin();
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_From_int((int)result
);
10457 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self", NULL
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (int)(arg1
)->GetZMin();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_From_int((int)result
);
10483 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (int)(arg1
)->GetXMax();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_From_int((int)result
);
10509 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10513 PyObject
* obj0
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (int)(arg1
)->GetYMax();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= SWIG_From_int((int)result
);
10535 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (int)(arg1
)->GetZMax();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_From_int((int)result
);
10561 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10565 PyObject
* obj0
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (int)(arg1
)->GetNumberButtons();
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= SWIG_From_int((int)result
);
10587 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (int)(arg1
)->GetNumberAxes();
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_From_int((int)result
);
10613 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "self", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (int)(arg1
)->GetMaxButtons();
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_From_int((int)result
);
10639 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10641 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (int)(arg1
)->GetMaxAxes();
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= SWIG_From_int((int)result
);
10665 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (int)(arg1
)->GetPollingMin();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= SWIG_From_int((int)result
);
10691 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10695 PyObject
* obj0
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "self", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= (int)(arg1
)->GetPollingMax();
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= SWIG_From_int((int)result
);
10717 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10721 PyObject
* obj0
= 0 ;
10722 char *kwnames
[] = {
10723 (char *) "self", NULL
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (int)(arg1
)->GetRudderMin();
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= SWIG_From_int((int)result
);
10743 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10747 PyObject
* obj0
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= (int)(arg1
)->GetRudderMax();
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_From_int((int)result
);
10769 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 result
= (int)(arg1
)->GetUMin();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= SWIG_From_int((int)result
);
10795 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (int)(arg1
)->GetUMax();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= SWIG_From_int((int)result
);
10821 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (int)(arg1
)->GetVMin();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_From_int((int)result
);
10847 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (int)(arg1
)->GetVMax();
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_From_int((int)result
);
10873 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= (bool)(arg1
)->HasRudder();
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10901 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (bool)(arg1
)->HasZ();
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10929 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (bool)(arg1
)->HasU();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10957 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (bool)(arg1
)->HasV();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10985 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10989 PyObject
* obj0
= 0 ;
10990 char *kwnames
[] = {
10991 (char *) "self", NULL
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (bool)(arg1
)->HasPOV();
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11013 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (bool)(arg1
)->HasPOV4Dir();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11041 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11045 PyObject
* obj0
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 result
= (bool)(arg1
)->HasPOVCTS();
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11069 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
;
11071 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11072 wxWindow
*arg2
= (wxWindow
*) 0 ;
11073 int arg3
= (int) 0 ;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 PyObject
* obj2
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11088 arg3
= (int)SWIG_As_int(obj2
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11107 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (bool)(arg1
)->ReleaseCapture();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11138 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11140 return Py_BuildValue((char *)"");
11142 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11145 wxPoint
*arg2
= (wxPoint
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 PyObject
* obj1
= 0 ;
11148 char *kwnames
[] = {
11149 (char *) "self",(char *) "m_pos", NULL
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11157 if (arg1
) (arg1
)->m_pos
= *arg2
;
11159 Py_INCREF(Py_None
); resultobj
= Py_None
;
11166 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11170 PyObject
* obj0
= 0 ;
11171 char *kwnames
[] = {
11172 (char *) "self", NULL
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11178 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11187 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 PyObject
* obj1
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "self",(char *) "m_zPosition", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11200 arg2
= (int)SWIG_As_int(obj1
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11202 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11204 Py_INCREF(Py_None
); resultobj
= Py_None
;
11211 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
;
11213 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11215 PyObject
* obj0
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11223 result
= (int) ((arg1
)->m_zPosition
);
11225 resultobj
= SWIG_From_int((int)result
);
11232 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "m_buttonChange", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11245 arg2
= (int)SWIG_As_int(obj1
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11247 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11249 Py_INCREF(Py_None
); resultobj
= Py_None
;
11256 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11268 result
= (int) ((arg1
)->m_buttonChange
);
11270 resultobj
= SWIG_From_int((int)result
);
11277 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11281 PyObject
* obj0
= 0 ;
11282 PyObject
* obj1
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self",(char *) "m_buttonState", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11290 arg2
= (int)SWIG_As_int(obj1
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11292 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11294 Py_INCREF(Py_None
); resultobj
= Py_None
;
11301 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11313 result
= (int) ((arg1
)->m_buttonState
);
11315 resultobj
= SWIG_From_int((int)result
);
11322 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self",(char *) "m_joyStick", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11335 arg2
= (int)SWIG_As_int(obj1
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11337 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11339 Py_INCREF(Py_None
); resultobj
= Py_None
;
11346 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
;
11348 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11358 result
= (int) ((arg1
)->m_joyStick
);
11360 resultobj
= SWIG_From_int((int)result
);
11367 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11370 int arg2
= (int) 0 ;
11371 int arg3
= (int) wxJOYSTICK1
;
11372 int arg4
= (int) 0 ;
11373 wxJoystickEvent
*result
;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 PyObject
* obj2
= 0 ;
11377 PyObject
* obj3
= 0 ;
11378 char *kwnames
[] = {
11379 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11384 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11388 arg2
= (int)SWIG_As_int(obj1
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11392 arg3
= (int)SWIG_As_int(obj2
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11396 arg4
= (int)SWIG_As_int(obj3
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11413 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11417 PyObject
* obj0
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11433 wxPoint
* resultptr
;
11434 resultptr
= new wxPoint((wxPoint
&) result
);
11435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11443 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_From_int((int)result
);
11469 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_From_int((int)result
);
11495 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_From_int((int)result
);
11521 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= SWIG_From_int((int)result
);
11547 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11551 PyObject
* obj0
= 0 ;
11552 PyObject
* obj1
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "self",(char *) "stick", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11560 arg2
= (int)SWIG_As_int(obj1
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 (arg1
)->SetJoystick(arg2
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 Py_INCREF(Py_None
); resultobj
= Py_None
;
11576 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
;
11578 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "state", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11589 arg2
= (int)SWIG_As_int(obj1
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 (arg1
)->SetButtonState(arg2
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 Py_INCREF(Py_None
); resultobj
= Py_None
;
11605 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
;
11607 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "self",(char *) "change", NULL
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11618 arg2
= (int)SWIG_As_int(obj1
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 (arg1
)->SetButtonChange(arg2
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 Py_INCREF(Py_None
); resultobj
= Py_None
;
11634 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
;
11636 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11637 wxPoint
*arg2
= 0 ;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "self",(char *) "pos", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 Py_INCREF(Py_None
); resultobj
= Py_None
;
11666 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self",(char *) "zPos", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11679 arg2
= (int)SWIG_As_int(obj1
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->SetZPosition(arg2
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11695 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11723 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11727 PyObject
* obj0
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11751 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11755 PyObject
* obj0
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11779 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11782 int arg2
= (int) wxJOY_BUTTON_ANY
;
11784 PyObject
* obj0
= 0 ;
11785 PyObject
* obj1
= 0 ;
11786 char *kwnames
[] = {
11787 (char *) "self",(char *) "but", NULL
11790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11794 arg2
= (int)SWIG_As_int(obj1
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11813 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
;
11815 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11816 int arg2
= (int) wxJOY_BUTTON_ANY
;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "self",(char *) "but", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11828 arg2
= (int)SWIG_As_int(obj1
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11835 wxPyEndAllowThreads(__tstate
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11847 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
;
11849 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11850 int arg2
= (int) wxJOY_BUTTON_ANY
;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self",(char *) "but", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11862 arg2
= (int)SWIG_As_int(obj1
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11881 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11884 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11886 return Py_BuildValue((char *)"");
11888 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
;
11890 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11891 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11893 bool temp1
= False
;
11894 PyObject
* obj0
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "fileName", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11902 arg1
= wxString_in_helper(obj0
);
11903 if (arg1
== NULL
) SWIG_fail
;
11908 if (!wxPyCheckForApp()) SWIG_fail
;
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11930 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
;
11932 PyObject
*arg1
= (PyObject
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "data", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11942 if (!wxPyCheckForApp()) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (wxSound
*)new_wxSound(arg1
);
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11956 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxSound
*arg1
= (wxSound
*) 0 ;
11959 PyObject
* obj0
= 0 ;
11960 char *kwnames
[] = {
11961 (char *) "self", NULL
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 Py_INCREF(Py_None
); resultobj
= Py_None
;
11981 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxSound
*arg1
= (wxSound
*) 0 ;
11984 wxString
*arg2
= 0 ;
11986 bool temp2
= False
;
11987 PyObject
* obj0
= 0 ;
11988 PyObject
* obj1
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self",(char *) "fileName", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11997 arg2
= wxString_in_helper(obj1
);
11998 if (arg2
== NULL
) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12025 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxSound
*arg1
= (wxSound
*) 0 ;
12028 PyObject
*arg2
= (PyObject
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 char *kwnames
[] = {
12033 (char *) "self",(char *) "data", NULL
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12056 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxSound
*arg1
= (wxSound
*) 0 ;
12060 PyObject
* obj0
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= (bool)(arg1
)->IsOk();
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12084 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxSound
*arg1
= (wxSound
*) 0 ;
12087 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self",(char *) "flags", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12099 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12103 if (!wxPyCheckForApp()) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12119 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxString
*arg1
= 0 ;
12122 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12124 bool temp1
= False
;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "filename",(char *) "flags", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12133 arg1
= wxString_in_helper(obj0
);
12134 if (arg1
== NULL
) SWIG_fail
;
12138 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 if (!wxPyCheckForApp()) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12166 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 char *kwnames
[] = {
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12174 if (!wxPyCheckForApp()) SWIG_fail
;
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 Py_INCREF(Py_None
); resultobj
= Py_None
;
12188 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12191 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12193 return Py_BuildValue((char *)"");
12195 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxString
*arg1
= 0 ;
12198 wxString
*arg2
= 0 ;
12199 wxString
*arg3
= 0 ;
12200 wxString
*arg4
= 0 ;
12201 wxFileTypeInfo
*result
;
12202 bool temp1
= False
;
12203 bool temp2
= False
;
12204 bool temp3
= False
;
12205 bool temp4
= False
;
12206 PyObject
* obj0
= 0 ;
12207 PyObject
* obj1
= 0 ;
12208 PyObject
* obj2
= 0 ;
12209 PyObject
* obj3
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12216 arg1
= wxString_in_helper(obj0
);
12217 if (arg1
== NULL
) SWIG_fail
;
12221 arg2
= wxString_in_helper(obj1
);
12222 if (arg2
== NULL
) SWIG_fail
;
12226 arg3
= wxString_in_helper(obj2
);
12227 if (arg3
== NULL
) SWIG_fail
;
12231 arg4
= wxString_in_helper(obj3
);
12232 if (arg4
== NULL
) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12281 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxArrayString
*arg1
= 0 ;
12284 wxFileTypeInfo
*result
;
12285 bool temp1
= False
;
12286 PyObject
* obj0
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "sArray", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12293 if (! PySequence_Check(obj0
)) {
12294 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12297 arg1
= new wxArrayString
;
12299 int i
, len
=PySequence_Length(obj0
);
12300 for (i
=0; i
<len
; i
++) {
12301 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12303 PyObject
* str
= PyObject_Unicode(item
);
12305 PyObject
* str
= PyObject_Str(item
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12308 arg1
->Add(Py2wxString(str
));
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12322 if (temp1
) delete arg1
;
12327 if (temp1
) delete arg1
;
12333 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxFileTypeInfo
*result
;
12336 char *kwnames
[] = {
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12355 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
;
12357 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12359 PyObject
* obj0
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12383 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12386 wxString
*arg2
= 0 ;
12387 int arg3
= (int) 0 ;
12388 bool temp2
= False
;
12389 PyObject
* obj0
= 0 ;
12390 PyObject
* obj1
= 0 ;
12391 PyObject
* obj2
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12400 arg2
= wxString_in_helper(obj1
);
12401 if (arg2
== NULL
) SWIG_fail
;
12405 arg3
= (int)SWIG_As_int(obj2
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 Py_INCREF(Py_None
); resultobj
= Py_None
;
12430 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12433 wxString
*arg2
= 0 ;
12434 bool temp2
= False
;
12435 PyObject
* obj0
= 0 ;
12436 PyObject
* obj1
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self",(char *) "shortDesc", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12445 arg2
= wxString_in_helper(obj1
);
12446 if (arg2
== NULL
) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 Py_INCREF(Py_None
); resultobj
= Py_None
;
12471 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
;
12473 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12487 result
= (wxString
*) &_result_ref
;
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12497 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12506 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12510 PyObject
* obj0
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12522 result
= (wxString
*) &_result_ref
;
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12541 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12545 PyObject
* obj0
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12557 result
= (wxString
*) &_result_ref
;
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12567 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12576 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
;
12578 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12592 result
= (wxString
*) &_result_ref
;
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12602 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12611 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12627 result
= (wxString
*) &_result_ref
;
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12646 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12649 wxArrayString
*result
;
12650 PyObject
* obj0
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12662 result
= (wxArrayString
*) &_result_ref
;
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= wxArrayString2PyList_helper(*result
);
12677 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 resultobj
= SWIG_From_int((int)result
);
12703 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12719 result
= (wxString
*) &_result_ref
;
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12738 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 resultobj
= SWIG_From_int((int)result
);
12764 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12767 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12769 return Py_BuildValue((char *)"");
12771 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxFileTypeInfo
*arg1
= 0 ;
12774 wxFileType
*result
;
12775 PyObject
* obj0
= 0 ;
12776 char *kwnames
[] = {
12777 (char *) "ftInfo", NULL
12780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12784 if (arg1
== NULL
) {
12785 PyErr_SetString(PyExc_TypeError
,"null reference");
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12802 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxFileType
*arg1
= (wxFileType
*) 0 ;
12805 PyObject
* obj0
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 Py_INCREF(Py_None
); resultobj
= Py_None
;
12827 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxFileType
*arg1
= (wxFileType
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= result
;
12853 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxFileType
*arg1
= (wxFileType
*) 0 ;
12857 PyObject
* obj0
= 0 ;
12858 char *kwnames
[] = {
12859 (char *) "self", NULL
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= result
;
12879 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxFileType
*arg1
= (wxFileType
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= result
;
12905 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxFileType
*arg1
= (wxFileType
*) 0 ;
12909 PyObject
* obj0
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12931 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxFileType
*arg1
= (wxFileType
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= result
;
12957 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxFileType
*arg1
= (wxFileType
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self", NULL
12966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= result
;
12983 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxFileType
*arg1
= (wxFileType
*) 0 ;
12986 wxString
*arg2
= 0 ;
12987 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12988 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12990 bool temp2
= False
;
12991 bool temp3
= False
;
12992 PyObject
* obj0
= 0 ;
12993 PyObject
* obj1
= 0 ;
12994 PyObject
* obj2
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13003 arg2
= wxString_in_helper(obj1
);
13004 if (arg2
== NULL
) SWIG_fail
;
13009 arg3
= wxString_in_helper(obj2
);
13010 if (arg3
== NULL
) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= result
;
13044 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxFileType
*arg1
= (wxFileType
*) 0 ;
13047 wxString
*arg2
= 0 ;
13048 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13049 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13051 bool temp2
= False
;
13052 bool temp3
= False
;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 PyObject
* obj2
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13064 arg2
= wxString_in_helper(obj1
);
13065 if (arg2
== NULL
) SWIG_fail
;
13070 arg3
= wxString_in_helper(obj2
);
13071 if (arg3
== NULL
) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 resultobj
= result
;
13105 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxFileType
*arg1
= (wxFileType
*) 0 ;
13108 wxString
*arg2
= 0 ;
13109 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13110 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13112 bool temp2
= False
;
13113 bool temp3
= False
;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 PyObject
* obj2
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 arg2
= wxString_in_helper(obj1
);
13126 if (arg2
== NULL
) SWIG_fail
;
13131 arg3
= wxString_in_helper(obj2
);
13132 if (arg3
== NULL
) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= result
;
13166 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxFileType
*arg1
= (wxFileType
*) 0 ;
13169 wxString
*arg2
= 0 ;
13170 wxString
*arg3
= 0 ;
13171 bool arg4
= (bool) True
;
13173 bool temp2
= False
;
13174 bool temp3
= False
;
13175 PyObject
* obj0
= 0 ;
13176 PyObject
* obj1
= 0 ;
13177 PyObject
* obj2
= 0 ;
13178 PyObject
* obj3
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13187 arg2
= wxString_in_helper(obj1
);
13188 if (arg2
== NULL
) SWIG_fail
;
13192 arg3
= wxString_in_helper(obj2
);
13193 if (arg3
== NULL
) SWIG_fail
;
13197 arg4
= (bool)SWIG_As_bool(obj3
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13232 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxFileType
*arg1
= (wxFileType
*) 0 ;
13235 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13236 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13237 int arg3
= (int) 0 ;
13239 bool temp2
= False
;
13240 PyObject
* obj0
= 0 ;
13241 PyObject
* obj1
= 0 ;
13242 PyObject
* obj2
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self",(char *) "cmd",(char *) "index", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 arg2
= wxString_in_helper(obj1
);
13253 if (arg2
== NULL
) SWIG_fail
;
13258 arg3
= (int)SWIG_As_int(obj2
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13285 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
;
13287 wxFileType
*arg1
= (wxFileType
*) 0 ;
13289 PyObject
* obj0
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 result
= (bool)(arg1
)->Unassociate();
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13313 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxString
*arg1
= 0 ;
13316 wxString
*arg2
= 0 ;
13317 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13318 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13320 bool temp1
= False
;
13321 bool temp2
= False
;
13322 bool temp3
= False
;
13323 PyObject
* obj0
= 0 ;
13324 PyObject
* obj1
= 0 ;
13325 PyObject
* obj2
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13332 arg1
= wxString_in_helper(obj0
);
13333 if (arg1
== NULL
) SWIG_fail
;
13337 arg2
= wxString_in_helper(obj1
);
13338 if (arg2
== NULL
) SWIG_fail
;
13343 arg3
= wxString_in_helper(obj2
);
13344 if (arg3
== NULL
) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13392 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13395 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13397 return Py_BuildValue((char *)"");
13399 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13400 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13405 static PyObject
*_wrap_TheMimeTypesManager_get() {
13408 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13413 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxString
*arg1
= 0 ;
13416 wxString
*arg2
= 0 ;
13418 bool temp1
= False
;
13419 bool temp2
= False
;
13420 PyObject
* obj0
= 0 ;
13421 PyObject
* obj1
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "mimeType",(char *) "wildcard", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13428 arg1
= wxString_in_helper(obj0
);
13429 if (arg1
== NULL
) SWIG_fail
;
13433 arg2
= wxString_in_helper(obj1
);
13434 if (arg2
== NULL
) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13469 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
;
13471 wxMimeTypesManager
*result
;
13472 char *kwnames
[] = {
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13491 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
;
13493 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13494 int arg2
= (int) wxMAILCAP_ALL
;
13495 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13496 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13497 bool temp3
= False
;
13498 PyObject
* obj0
= 0 ;
13499 PyObject
* obj1
= 0 ;
13500 PyObject
* obj2
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13509 arg2
= (int)SWIG_As_int(obj1
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13514 arg3
= wxString_in_helper(obj2
);
13515 if (arg3
== NULL
) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 Py_INCREF(Py_None
); resultobj
= Py_None
;
13541 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13544 PyObject
* obj0
= 0 ;
13545 char *kwnames
[] = {
13546 (char *) "self", NULL
13549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 (arg1
)->ClearData();
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 Py_INCREF(Py_None
); resultobj
= Py_None
;
13566 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13569 wxString
*arg2
= 0 ;
13570 wxFileType
*result
;
13571 bool temp2
= False
;
13572 PyObject
* obj0
= 0 ;
13573 PyObject
* obj1
= 0 ;
13574 char *kwnames
[] = {
13575 (char *) "self",(char *) "ext", NULL
13578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13582 arg2
= wxString_in_helper(obj1
);
13583 if (arg2
== NULL
) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13608 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13611 wxString
*arg2
= 0 ;
13612 wxFileType
*result
;
13613 bool temp2
= False
;
13614 PyObject
* obj0
= 0 ;
13615 PyObject
* obj1
= 0 ;
13616 char *kwnames
[] = {
13617 (char *) "self",(char *) "mimeType", NULL
13620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13624 arg2
= wxString_in_helper(obj1
);
13625 if (arg2
== NULL
) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13650 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13653 wxString
*arg2
= 0 ;
13654 bool arg3
= (bool) False
;
13656 bool temp2
= False
;
13657 PyObject
* obj0
= 0 ;
13658 PyObject
* obj1
= 0 ;
13659 PyObject
* obj2
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13668 arg2
= wxString_in_helper(obj1
);
13669 if (arg2
== NULL
) SWIG_fail
;
13673 arg3
= (bool)SWIG_As_bool(obj2
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13700 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13703 wxString
*arg2
= 0 ;
13705 bool temp2
= False
;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self",(char *) "filename", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13716 arg2
= wxString_in_helper(obj1
);
13717 if (arg2
== NULL
) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13744 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13748 PyObject
* obj0
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self", NULL
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= result
;
13770 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13773 wxFileTypeInfo
*arg2
= 0 ;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self",(char *) "ft", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13786 if (arg2
== NULL
) {
13787 PyErr_SetString(PyExc_TypeError
,"null reference");
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 Py_INCREF(Py_None
); resultobj
= Py_None
;
13804 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13807 wxFileTypeInfo
*arg2
= 0 ;
13808 wxFileType
*result
;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self",(char *) "ftInfo", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13821 if (arg2
== NULL
) {
13822 PyErr_SetString(PyExc_TypeError
,"null reference");
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13839 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13842 wxFileType
*arg2
= (wxFileType
*) 0 ;
13844 PyObject
* obj0
= 0 ;
13845 PyObject
* obj1
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "self",(char *) "ft", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (bool)(arg1
)->Unassociate(arg2
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13871 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
;
13873 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13874 PyObject
* obj0
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "self", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 Py_INCREF(Py_None
); resultobj
= Py_None
;
13896 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13899 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13901 return Py_BuildValue((char *)"");
13903 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13904 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13909 static PyObject
*_wrap_ART_TOOLBAR_get() {
13914 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13916 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13923 static int _wrap_ART_MENU_set(PyObject
*) {
13924 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13929 static PyObject
*_wrap_ART_MENU_get() {
13934 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13936 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13943 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13944 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13949 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13954 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13956 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13963 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13964 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13969 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13974 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13976 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13983 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
13984 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13989 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13994 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13996 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14003 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14004 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14009 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14014 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14016 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14023 static int _wrap_ART_BUTTON_set(PyObject
*) {
14024 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14029 static PyObject
*_wrap_ART_BUTTON_get() {
14034 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14036 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14043 static int _wrap_ART_OTHER_set(PyObject
*) {
14044 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14049 static PyObject
*_wrap_ART_OTHER_get() {
14054 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14056 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14063 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14064 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14069 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14074 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14076 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14083 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14084 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14089 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14094 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14096 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14103 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14104 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14109 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14114 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14116 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14123 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14124 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14129 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14134 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14136 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14143 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14144 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14149 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14154 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14156 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14163 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14164 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14169 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14174 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14176 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14183 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14184 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14189 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14194 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14196 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14203 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14204 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14209 static PyObject
*_wrap_ART_GO_BACK_get() {
14214 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14216 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14223 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14224 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14229 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14234 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14236 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14243 static int _wrap_ART_GO_UP_set(PyObject
*) {
14244 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14249 static PyObject
*_wrap_ART_GO_UP_get() {
14254 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14256 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14263 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14264 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14269 static PyObject
*_wrap_ART_GO_DOWN_get() {
14274 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14276 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14283 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14284 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14289 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14294 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14296 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14303 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14304 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14309 static PyObject
*_wrap_ART_GO_HOME_get() {
14314 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14316 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14323 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14324 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14329 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14334 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14336 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14343 static int _wrap_ART_PRINT_set(PyObject
*) {
14344 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14349 static PyObject
*_wrap_ART_PRINT_get() {
14354 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14356 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14363 static int _wrap_ART_HELP_set(PyObject
*) {
14364 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14369 static PyObject
*_wrap_ART_HELP_get() {
14374 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14376 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14383 static int _wrap_ART_TIP_set(PyObject
*) {
14384 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14389 static PyObject
*_wrap_ART_TIP_get() {
14394 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14396 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14403 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14404 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14409 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14414 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14416 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14423 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14424 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14429 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14434 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14436 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14443 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14444 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14449 static PyObject
*_wrap_ART_NEW_DIR_get() {
14454 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14456 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14463 static int _wrap_ART_FOLDER_set(PyObject
*) {
14464 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14469 static PyObject
*_wrap_ART_FOLDER_get() {
14474 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14476 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14483 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14484 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14489 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14494 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14496 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14503 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14504 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14509 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14514 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14516 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14523 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14524 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14529 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14534 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14536 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14543 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14544 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14549 static PyObject
*_wrap_ART_TICK_MARK_get() {
14554 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14556 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14563 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14564 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14569 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14574 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14576 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14583 static int _wrap_ART_ERROR_set(PyObject
*) {
14584 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14589 static PyObject
*_wrap_ART_ERROR_get() {
14594 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14596 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14603 static int _wrap_ART_QUESTION_set(PyObject
*) {
14604 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14609 static PyObject
*_wrap_ART_QUESTION_get() {
14614 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14616 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14623 static int _wrap_ART_WARNING_set(PyObject
*) {
14624 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14629 static PyObject
*_wrap_ART_WARNING_get() {
14634 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14636 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14643 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14644 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14649 static PyObject
*_wrap_ART_INFORMATION_get() {
14654 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14656 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14663 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14664 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14669 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14674 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14676 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14683 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
;
14685 wxPyArtProvider
*result
;
14686 char *kwnames
[] = {
14690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14692 if (!wxPyCheckForApp()) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14706 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14709 PyObject
*arg2
= (PyObject
*) 0 ;
14710 PyObject
*arg3
= (PyObject
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 PyObject
* obj2
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self",(char *) "self",(char *) "_class", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 Py_INCREF(Py_None
); resultobj
= Py_None
;
14737 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "provider", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 wxPyArtProvider::PushProvider(arg1
);
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 Py_INCREF(Py_None
); resultobj
= Py_None
;
14762 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14765 char *kwnames
[] = {
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (bool)wxPyArtProvider::PopProvider();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14786 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14790 PyObject
* obj0
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "provider", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14814 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxString
*arg1
= 0 ;
14817 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14818 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14819 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14820 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14822 bool temp1
= False
;
14823 bool temp2
= False
;
14825 PyObject
* obj0
= 0 ;
14826 PyObject
* obj1
= 0 ;
14827 PyObject
* obj2
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "id",(char *) "client",(char *) "size", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14834 arg1
= wxString_in_helper(obj0
);
14835 if (arg1
== NULL
) SWIG_fail
;
14840 arg2
= wxString_in_helper(obj1
);
14841 if (arg2
== NULL
) SWIG_fail
;
14848 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14852 if (!wxPyCheckForApp()) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14860 wxBitmap
* resultptr
;
14861 resultptr
= new wxBitmap((wxBitmap
&) result
);
14862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14886 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxString
*arg1
= 0 ;
14889 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14890 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14891 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14892 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14894 bool temp1
= False
;
14895 bool temp2
= False
;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 PyObject
* obj2
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "id",(char *) "client",(char *) "size", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14906 arg1
= wxString_in_helper(obj0
);
14907 if (arg1
== NULL
) SWIG_fail
;
14912 arg2
= wxString_in_helper(obj1
);
14913 if (arg2
== NULL
) SWIG_fail
;
14920 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14924 if (!wxPyCheckForApp()) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14932 wxIcon
* resultptr
;
14933 resultptr
= new wxIcon((wxIcon
&) result
);
14934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14958 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 wxPyArtProvider_Destroy(arg1
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
14985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14986 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14988 return Py_BuildValue((char *)"");
14990 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14993 PyObject
* obj0
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 Py_INCREF(Py_None
); resultobj
= Py_None
;
15015 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15018 wxConfigBase
*result
;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "config", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15041 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 bool arg1
= (bool) True
;
15044 wxConfigBase
*result
;
15045 PyObject
* obj0
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "createOnDemand", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15052 arg1
= (bool)SWIG_As_bool(obj0
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15069 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
;
15071 wxConfigBase
*result
;
15072 char *kwnames
[] = {
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= (wxConfigBase
*)wxConfigBase::Create();
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15091 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 char *kwnames
[] = {
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 wxConfigBase::DontCreateOnDemand();
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 Py_INCREF(Py_None
); resultobj
= Py_None
;
15112 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15115 wxString
*arg2
= 0 ;
15116 bool temp2
= False
;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self",(char *) "path", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15127 arg2
= wxString_in_helper(obj1
);
15128 if (arg2
== NULL
) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 (arg1
)->SetPath((wxString
const &)*arg2
);
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 Py_INCREF(Py_None
); resultobj
= Py_None
;
15153 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15169 result
= (wxString
*) &_result_ref
;
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15179 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15188 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= result
;
15214 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self",(char *) "index", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15228 arg2
= (long)SWIG_As_long(obj1
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= result
;
15244 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= result
;
15270 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self",(char *) "index", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 arg2
= (long)SWIG_As_long(obj1
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= result
;
15300 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15303 bool arg2
= (bool) False
;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self",(char *) "recursive", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 arg2
= (bool)SWIG_As_bool(obj1
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15332 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15335 bool arg2
= (bool) False
;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self",(char *) "recursive", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 arg2
= (bool)SWIG_As_bool(obj1
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15364 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15367 wxString
*arg2
= 0 ;
15369 bool temp2
= False
;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self",(char *) "name", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 arg2
= wxString_in_helper(obj1
);
15381 if (arg2
== NULL
) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15408 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15411 wxString
*arg2
= 0 ;
15413 bool temp2
= False
;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self",(char *) "name", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15424 arg2
= wxString_in_helper(obj1
);
15425 if (arg2
== NULL
) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15452 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15455 wxString
*arg2
= 0 ;
15457 bool temp2
= False
;
15458 PyObject
* obj0
= 0 ;
15459 PyObject
* obj1
= 0 ;
15460 char *kwnames
[] = {
15461 (char *) "self",(char *) "name", NULL
15464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15468 arg2
= wxString_in_helper(obj1
);
15469 if (arg2
== NULL
) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15496 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15499 wxString
*arg2
= 0 ;
15501 bool temp2
= False
;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "name", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15512 arg2
= wxString_in_helper(obj1
);
15513 if (arg2
== NULL
) SWIG_fail
;
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= SWIG_From_int((int)result
);
15538 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15541 wxString
*arg2
= 0 ;
15542 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15543 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15545 bool temp2
= False
;
15546 bool temp3
= False
;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 PyObject
* obj2
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15558 arg2
= wxString_in_helper(obj1
);
15559 if (arg2
== NULL
) SWIG_fail
;
15564 arg3
= wxString_in_helper(obj2
);
15565 if (arg3
== NULL
) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15605 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15608 wxString
*arg2
= 0 ;
15609 long arg3
= (long) 0 ;
15611 bool temp2
= False
;
15612 PyObject
* obj0
= 0 ;
15613 PyObject
* obj1
= 0 ;
15614 PyObject
* obj2
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15623 arg2
= wxString_in_helper(obj1
);
15624 if (arg2
== NULL
) SWIG_fail
;
15628 arg3
= (long)SWIG_As_long(obj2
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= SWIG_From_long((long)result
);
15653 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15656 wxString
*arg2
= 0 ;
15657 double arg3
= (double) 0.0 ;
15659 bool temp2
= False
;
15660 PyObject
* obj0
= 0 ;
15661 PyObject
* obj1
= 0 ;
15662 PyObject
* obj2
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15671 arg2
= wxString_in_helper(obj1
);
15672 if (arg2
== NULL
) SWIG_fail
;
15676 arg3
= (double)SWIG_As_double(obj2
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= SWIG_From_double((double)result
);
15701 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15704 wxString
*arg2
= 0 ;
15705 bool arg3
= (bool) False
;
15707 bool temp2
= False
;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 PyObject
* obj2
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15719 arg2
= wxString_in_helper(obj1
);
15720 if (arg2
== NULL
) SWIG_fail
;
15724 arg3
= (bool)SWIG_As_bool(obj2
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15751 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15754 wxString
*arg2
= 0 ;
15755 wxString
*arg3
= 0 ;
15757 bool temp2
= False
;
15758 bool temp3
= False
;
15759 PyObject
* obj0
= 0 ;
15760 PyObject
* obj1
= 0 ;
15761 PyObject
* obj2
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self",(char *) "key",(char *) "value", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15770 arg2
= wxString_in_helper(obj1
);
15771 if (arg2
== NULL
) SWIG_fail
;
15775 arg3
= wxString_in_helper(obj2
);
15776 if (arg3
== NULL
) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15811 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15814 wxString
*arg2
= 0 ;
15817 bool temp2
= False
;
15818 PyObject
* obj0
= 0 ;
15819 PyObject
* obj1
= 0 ;
15820 PyObject
* obj2
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "self",(char *) "key",(char *) "value", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15829 arg2
= wxString_in_helper(obj1
);
15830 if (arg2
== NULL
) SWIG_fail
;
15833 arg3
= (long)SWIG_As_long(obj2
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15859 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15862 wxString
*arg2
= 0 ;
15865 bool temp2
= False
;
15866 PyObject
* obj0
= 0 ;
15867 PyObject
* obj1
= 0 ;
15868 PyObject
* obj2
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self",(char *) "key",(char *) "value", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15877 arg2
= wxString_in_helper(obj1
);
15878 if (arg2
== NULL
) SWIG_fail
;
15881 arg3
= (double)SWIG_As_double(obj2
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15907 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
;
15909 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15910 wxString
*arg2
= 0 ;
15913 bool temp2
= False
;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 PyObject
* obj2
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self",(char *) "key",(char *) "value", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 arg2
= wxString_in_helper(obj1
);
15926 if (arg2
== NULL
) SWIG_fail
;
15929 arg3
= (bool)SWIG_As_bool(obj2
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15955 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15958 bool arg2
= (bool) False
;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self",(char *) "currentOnly", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 arg2
= (bool)SWIG_As_bool(obj1
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= (bool)(arg1
)->Flush(arg2
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15989 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15992 wxString
*arg2
= 0 ;
15993 wxString
*arg3
= 0 ;
15995 bool temp2
= False
;
15996 bool temp3
= False
;
15997 PyObject
* obj0
= 0 ;
15998 PyObject
* obj1
= 0 ;
15999 PyObject
* obj2
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16008 arg2
= wxString_in_helper(obj1
);
16009 if (arg2
== NULL
) SWIG_fail
;
16013 arg3
= wxString_in_helper(obj2
);
16014 if (arg3
== NULL
) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16052 wxString
*arg2
= 0 ;
16053 wxString
*arg3
= 0 ;
16055 bool temp2
= False
;
16056 bool temp3
= False
;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 PyObject
* obj2
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16068 arg2
= wxString_in_helper(obj1
);
16069 if (arg2
== NULL
) SWIG_fail
;
16073 arg3
= wxString_in_helper(obj2
);
16074 if (arg3
== NULL
) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16112 wxString
*arg2
= 0 ;
16113 bool arg3
= (bool) True
;
16115 bool temp2
= False
;
16116 PyObject
* obj0
= 0 ;
16117 PyObject
* obj1
= 0 ;
16118 PyObject
* obj2
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 arg2
= wxString_in_helper(obj1
);
16128 if (arg2
== NULL
) SWIG_fail
;
16132 arg3
= (bool)SWIG_As_bool(obj2
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16159 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16162 wxString
*arg2
= 0 ;
16164 bool temp2
= False
;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "key", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16175 arg2
= wxString_in_helper(obj1
);
16176 if (arg2
== NULL
) SWIG_fail
;
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16203 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16207 PyObject
* obj0
= 0 ;
16208 char *kwnames
[] = {
16209 (char *) "self", NULL
16212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= (bool)(arg1
)->DeleteAll();
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16231 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16234 bool arg2
= (bool) True
;
16235 PyObject
* obj0
= 0 ;
16236 PyObject
* obj1
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self",(char *) "doIt", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16245 arg2
= (bool)SWIG_As_bool(obj1
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 (arg1
)->SetExpandEnvVars(arg2
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 Py_INCREF(Py_None
); resultobj
= Py_None
;
16262 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16266 PyObject
* obj0
= 0 ;
16267 char *kwnames
[] = {
16268 (char *) "self", NULL
16271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16290 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16293 bool arg2
= (bool) True
;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self",(char *) "doIt", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 arg2
= (bool)SWIG_As_bool(obj1
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 (arg1
)->SetRecordDefaults(arg2
);
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16314 Py_INCREF(Py_None
); resultobj
= Py_None
;
16321 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
;
16323 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16325 PyObject
* obj0
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16349 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16352 wxString
*arg2
= 0 ;
16354 bool temp2
= False
;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 char *kwnames
[] = {
16358 (char *) "self",(char *) "str", NULL
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 arg2
= wxString_in_helper(obj1
);
16366 if (arg2
== NULL
) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16397 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16429 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16461 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
;
16463 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16464 wxString
*arg2
= 0 ;
16465 bool temp2
= False
;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "appName", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 arg2
= wxString_in_helper(obj1
);
16477 if (arg2
== NULL
) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 (arg1
)->SetAppName((wxString
const &)*arg2
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 Py_INCREF(Py_None
); resultobj
= Py_None
;
16502 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
;
16504 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16505 wxString
*arg2
= 0 ;
16506 bool temp2
= False
;
16507 PyObject
* obj0
= 0 ;
16508 PyObject
* obj1
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "self",(char *) "vendorName", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16517 arg2
= wxString_in_helper(obj1
);
16518 if (arg2
== NULL
) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 Py_INCREF(Py_None
); resultobj
= Py_None
;
16543 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self",(char *) "style", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16556 arg2
= (long)SWIG_As_long(obj1
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 (arg1
)->SetStyle(arg2
);
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 Py_INCREF(Py_None
); resultobj
= Py_None
;
16572 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= SWIG_From_long((long)result
);
16598 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16601 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16603 return Py_BuildValue((char *)"");
16605 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16608 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16609 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16610 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16611 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16612 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16613 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16614 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16615 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16617 bool temp1
= False
;
16618 bool temp2
= False
;
16619 bool temp3
= False
;
16620 bool temp4
= False
;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 PyObject
* obj2
= 0 ;
16624 PyObject
* obj3
= 0 ;
16625 PyObject
* obj4
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16633 arg1
= wxString_in_helper(obj0
);
16634 if (arg1
== NULL
) SWIG_fail
;
16640 arg2
= wxString_in_helper(obj1
);
16641 if (arg2
== NULL
) SWIG_fail
;
16647 arg3
= wxString_in_helper(obj2
);
16648 if (arg3
== NULL
) SWIG_fail
;
16654 arg4
= wxString_in_helper(obj3
);
16655 if (arg4
== NULL
) SWIG_fail
;
16660 arg5
= (long)SWIG_As_long(obj4
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16709 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxConfig
*arg1
= (wxConfig
*) 0 ;
16712 PyObject
* obj0
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "self", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 Py_INCREF(Py_None
); resultobj
= Py_None
;
16734 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16737 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16739 return Py_BuildValue((char *)"");
16741 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
;
16743 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16744 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16745 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16746 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16747 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16748 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16749 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16750 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16751 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16752 wxFileConfig
*result
;
16753 bool temp1
= False
;
16754 bool temp2
= False
;
16755 bool temp3
= False
;
16756 bool temp4
= False
;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 PyObject
* obj2
= 0 ;
16760 PyObject
* obj3
= 0 ;
16761 PyObject
* obj4
= 0 ;
16762 char *kwnames
[] = {
16763 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16769 arg1
= wxString_in_helper(obj0
);
16770 if (arg1
== NULL
) SWIG_fail
;
16776 arg2
= wxString_in_helper(obj1
);
16777 if (arg2
== NULL
) SWIG_fail
;
16783 arg3
= wxString_in_helper(obj2
);
16784 if (arg3
== NULL
) SWIG_fail
;
16790 arg4
= wxString_in_helper(obj3
);
16791 if (arg4
== NULL
) SWIG_fail
;
16796 arg5
= (long)SWIG_As_long(obj4
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16845 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16848 PyObject
* obj0
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "self", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 Py_INCREF(Py_None
); resultobj
= Py_None
;
16870 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16873 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16875 return Py_BuildValue((char *)"");
16877 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16880 wxString
*arg2
= 0 ;
16881 wxConfigPathChanger
*result
;
16882 bool temp2
= False
;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "config",(char *) "entry", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16893 arg2
= wxString_in_helper(obj1
);
16894 if (arg2
== NULL
) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16919 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
;
16921 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16922 PyObject
* obj0
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "self", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 Py_INCREF(Py_None
); resultobj
= Py_None
;
16944 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16948 PyObject
* obj0
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "self", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16960 result
= (wxString
*) &_result_ref
;
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16970 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16979 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
16981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16982 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16984 return Py_BuildValue((char *)"");
16986 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxString
*arg1
= 0 ;
16990 bool temp1
= False
;
16991 PyObject
* obj0
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "sz", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16998 arg1
= wxString_in_helper(obj0
);
16999 if (arg1
== NULL
) SWIG_fail
;
17003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17004 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17030 static int _wrap_DateFormatStr_set(PyObject
*) {
17031 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17036 static PyObject
*_wrap_DateFormatStr_get() {
17041 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17043 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17050 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17051 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17056 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17061 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17063 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17070 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "country", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17079 arg1
= (int)SWIG_As_int(obj0
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 Py_INCREF(Py_None
); resultobj
= Py_None
;
17095 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17098 char *kwnames
[] = {
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (int)wxDateTime::GetCountry();
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_From_int((int)result
);
17117 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 int arg1
= (int) wxDateTime::Country_Default
;
17121 PyObject
* obj0
= 0 ;
17122 char *kwnames
[] = {
17123 (char *) "country", NULL
17126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17128 arg1
= (int)SWIG_As_int(obj0
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17147 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 int arg1
= (int) wxDateTime::Gregorian
;
17151 PyObject
* obj0
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "cal", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17158 arg1
= (int)SWIG_As_int(obj0
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= SWIG_From_int((int)result
);
17175 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17179 PyObject
* obj0
= 0 ;
17180 char *kwnames
[] = {
17181 (char *) "year", NULL
17184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17185 arg1
= (int)SWIG_As_int(obj0
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= SWIG_From_int((int)result
);
17201 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 int arg1
= (int) wxDateTime::Gregorian
;
17205 PyObject
* obj0
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "cal", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17212 arg1
= (int)SWIG_As_int(obj0
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= SWIG_From_int((int)result
);
17229 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
;
17231 int arg1
= (int) wxDateTime::Inv_Year
;
17232 int arg2
= (int) wxDateTime::Gregorian
;
17234 PyObject
* obj0
= 0 ;
17235 PyObject
* obj1
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "year",(char *) "cal", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17242 arg1
= (int)SWIG_As_int(obj0
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17246 arg2
= (int)SWIG_As_int(obj1
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17265 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 int arg1
= (int) wxDateTime::Inv_Year
;
17269 PyObject
* obj0
= 0 ;
17270 char *kwnames
[] = {
17271 (char *) "year", NULL
17274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17276 arg1
= (int)SWIG_As_int(obj0
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (int)wxDateTime::GetCentury(arg1
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_From_int((int)result
);
17293 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17296 int arg2
= (int) wxDateTime::Gregorian
;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "year",(char *) "cal", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17305 arg1
= (int)SWIG_As_int(obj0
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 arg2
= (int)SWIG_As_int(obj1
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= SWIG_From_int((int)result
);
17325 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17328 int arg2
= (int) wxDateTime::Inv_Year
;
17329 int arg3
= (int) wxDateTime::Gregorian
;
17331 PyObject
* obj0
= 0 ;
17332 PyObject
* obj1
= 0 ;
17333 PyObject
* obj2
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "month",(char *) "year",(char *) "cal", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17339 arg1
= (int)SWIG_As_int(obj0
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 arg2
= (int)SWIG_As_int(obj1
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 arg3
= (int)SWIG_As_int(obj2
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= SWIG_From_int((int)result
);
17363 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17366 int arg2
= (int) wxDateTime::Name_Full
;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 char *kwnames
[] = {
17371 (char *) "month",(char *) "flags", NULL
17374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17375 arg1
= (int)SWIG_As_int(obj0
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 arg2
= (int)SWIG_As_int(obj1
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17401 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17404 int arg2
= (int) wxDateTime::Name_Full
;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "weekday",(char *) "flags", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17413 arg1
= (int)SWIG_As_int(obj0
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 arg2
= (int)SWIG_As_int(obj1
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17439 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 wxString
*arg1
= (wxString
*) 0 ;
17442 wxString
*arg2
= (wxString
*) 0 ;
17443 bool temp1
= False
;
17444 bool temp2
= False
;
17445 PyObject
* obj0
= 0 ;
17446 PyObject
* obj1
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17453 arg1
= wxString_in_helper(obj0
);
17454 if (arg1
== NULL
) SWIG_fail
;
17458 arg2
= wxString_in_helper(obj1
);
17459 if (arg2
== NULL
) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 Py_INCREF(Py_None
); resultobj
= Py_None
;
17492 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
;
17494 int arg1
= (int) wxDateTime::Inv_Year
;
17495 int arg2
= (int) wxDateTime::Country_Default
;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "year",(char *) "country", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17505 arg1
= (int)SWIG_As_int(obj0
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17509 arg2
= (int)SWIG_As_int(obj1
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17528 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 int arg1
= (int) wxDateTime::Inv_Year
;
17531 int arg2
= (int) wxDateTime::Country_Default
;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "year",(char *) "country", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17541 arg1
= (int)SWIG_As_int(obj0
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17545 arg2
= (int)SWIG_As_int(obj1
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17556 wxDateTime
* resultptr
;
17557 resultptr
= new wxDateTime((wxDateTime
&) result
);
17558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17566 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 int arg1
= (int) wxDateTime::Inv_Year
;
17569 int arg2
= (int) wxDateTime::Country_Default
;
17571 PyObject
* obj0
= 0 ;
17572 PyObject
* obj1
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "year",(char *) "country", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17579 arg1
= (int)SWIG_As_int(obj0
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 arg2
= (int)SWIG_As_int(obj1
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 wxDateTime
* resultptr
;
17595 resultptr
= new wxDateTime((wxDateTime
&) result
);
17596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17604 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17607 char *kwnames
[] = {
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= wxDateTime::Now();
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 wxDateTime
* resultptr
;
17621 resultptr
= new wxDateTime((wxDateTime
&) result
);
17622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17630 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17633 char *kwnames
[] = {
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= wxDateTime::UNow();
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17646 wxDateTime
* resultptr
;
17647 resultptr
= new wxDateTime((wxDateTime
&) result
);
17648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17656 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17659 char *kwnames
[] = {
17663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= wxDateTime::Today();
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 wxDateTime
* resultptr
;
17673 resultptr
= new wxDateTime((wxDateTime
&) result
);
17674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17682 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxDateTime
*result
;
17685 char *kwnames
[] = {
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (wxDateTime
*)new wxDateTime();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17704 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17707 wxDateTime
*result
;
17708 PyObject
* obj0
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "timet", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17714 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 result
= (wxDateTime
*)new wxDateTime(arg1
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17730 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17733 wxDateTime
*result
;
17734 PyObject
* obj0
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "jdn", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17740 arg1
= (double)SWIG_As_double(obj0
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (wxDateTime
*)new wxDateTime(arg1
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17756 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17759 int arg2
= (int) 0 ;
17760 int arg3
= (int) 0 ;
17761 int arg4
= (int) 0 ;
17762 wxDateTime
*result
;
17763 PyObject
* obj0
= 0 ;
17764 PyObject
* obj1
= 0 ;
17765 PyObject
* obj2
= 0 ;
17766 PyObject
* obj3
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17772 arg1
= (int)SWIG_As_int(obj0
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 arg2
= (int)SWIG_As_int(obj1
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 arg3
= (int)SWIG_As_int(obj2
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17783 arg4
= (int)SWIG_As_int(obj3
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17800 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17803 int arg2
= (int) wxDateTime::Inv_Month
;
17804 int arg3
= (int) wxDateTime::Inv_Year
;
17805 int arg4
= (int) 0 ;
17806 int arg5
= (int) 0 ;
17807 int arg6
= (int) 0 ;
17808 int arg7
= (int) 0 ;
17809 wxDateTime
*result
;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 PyObject
* obj2
= 0 ;
17813 PyObject
* obj3
= 0 ;
17814 PyObject
* obj4
= 0 ;
17815 PyObject
* obj5
= 0 ;
17816 PyObject
* obj6
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17822 arg1
= (int)SWIG_As_int(obj0
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 arg2
= (int)SWIG_As_int(obj1
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17829 arg3
= (int)SWIG_As_int(obj2
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17833 arg4
= (int)SWIG_As_int(obj3
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 arg5
= (int)SWIG_As_int(obj4
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17841 arg6
= (int)SWIG_As_int(obj5
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17845 arg7
= (int)SWIG_As_int(obj6
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17862 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17865 PyObject
* obj0
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 Py_INCREF(Py_None
); resultobj
= Py_None
;
17887 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17890 wxDateTime
*result
;
17891 PyObject
* obj0
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "self", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17903 result
= (wxDateTime
*) &_result_ref
;
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17916 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17920 wxDateTime
*result
;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self",(char *) "timet", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17930 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17936 result
= (wxDateTime
*) &_result_ref
;
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17949 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17953 wxDateTime
*result
;
17954 PyObject
* obj0
= 0 ;
17955 PyObject
* obj1
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self",(char *) "jdn", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17963 arg2
= (double)SWIG_As_double(obj1
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17969 result
= (wxDateTime
*) &_result_ref
;
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17982 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17986 int arg3
= (int) 0 ;
17987 int arg4
= (int) 0 ;
17988 int arg5
= (int) 0 ;
17989 wxDateTime
*result
;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 PyObject
* obj2
= 0 ;
17993 PyObject
* obj3
= 0 ;
17994 PyObject
* obj4
= 0 ;
17995 char *kwnames
[] = {
17996 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18002 arg2
= (int)SWIG_As_int(obj1
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 arg3
= (int)SWIG_As_int(obj2
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18009 arg4
= (int)SWIG_As_int(obj3
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18013 arg5
= (int)SWIG_As_int(obj4
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18020 result
= (wxDateTime
*) &_result_ref
;
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18033 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18037 int arg3
= (int) wxDateTime::Inv_Month
;
18038 int arg4
= (int) wxDateTime::Inv_Year
;
18039 int arg5
= (int) 0 ;
18040 int arg6
= (int) 0 ;
18041 int arg7
= (int) 0 ;
18042 int arg8
= (int) 0 ;
18043 wxDateTime
*result
;
18044 PyObject
* obj0
= 0 ;
18045 PyObject
* obj1
= 0 ;
18046 PyObject
* obj2
= 0 ;
18047 PyObject
* obj3
= 0 ;
18048 PyObject
* obj4
= 0 ;
18049 PyObject
* obj5
= 0 ;
18050 PyObject
* obj6
= 0 ;
18051 PyObject
* obj7
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18059 arg2
= (int)SWIG_As_int(obj1
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 arg3
= (int)SWIG_As_int(obj2
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18066 arg4
= (int)SWIG_As_int(obj3
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18070 arg5
= (int)SWIG_As_int(obj4
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 arg6
= (int)SWIG_As_int(obj5
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18078 arg7
= (int)SWIG_As_int(obj6
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18082 arg8
= (int)SWIG_As_int(obj7
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18089 result
= (wxDateTime
*) &_result_ref
;
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18102 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18105 wxDateTime
*result
;
18106 PyObject
* obj0
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "self", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18118 result
= (wxDateTime
*) &_result_ref
;
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18131 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18135 wxDateTime
*result
;
18136 PyObject
* obj0
= 0 ;
18137 PyObject
* obj1
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self",(char *) "year", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 arg2
= (int)SWIG_As_int(obj1
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18151 result
= (wxDateTime
*) &_result_ref
;
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18164 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18168 wxDateTime
*result
;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "month", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 arg2
= (int)SWIG_As_int(obj1
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18184 result
= (wxDateTime
*) &_result_ref
;
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18197 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18201 wxDateTime
*result
;
18202 PyObject
* obj0
= 0 ;
18203 PyObject
* obj1
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self",(char *) "day", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18211 arg2
= (int)SWIG_As_int(obj1
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18217 result
= (wxDateTime
*) &_result_ref
;
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18230 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18234 wxDateTime
*result
;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self",(char *) "hour", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18244 arg2
= (int)SWIG_As_int(obj1
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18250 result
= (wxDateTime
*) &_result_ref
;
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18263 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18267 wxDateTime
*result
;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self",(char *) "minute", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18277 arg2
= (int)SWIG_As_int(obj1
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18283 result
= (wxDateTime
*) &_result_ref
;
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18296 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18300 wxDateTime
*result
;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "second", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18310 arg2
= (int)SWIG_As_int(obj1
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18316 result
= (wxDateTime
*) &_result_ref
;
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18329 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18333 wxDateTime
*result
;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self",(char *) "millisecond", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18343 arg2
= (int)SWIG_As_int(obj1
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18349 result
= (wxDateTime
*) &_result_ref
;
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18362 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18366 int arg3
= (int) wxDateTime::Monday_First
;
18367 wxDateTime
*result
;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 PyObject
* obj2
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18378 arg2
= (int)SWIG_As_int(obj1
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 arg3
= (int)SWIG_As_int(obj2
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18388 result
= (wxDateTime
*) &_result_ref
;
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18401 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18405 int arg3
= (int) wxDateTime::Monday_First
;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 PyObject
* obj2
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 arg2
= (int)SWIG_As_int(obj1
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 arg3
= (int)SWIG_As_int(obj2
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 wxDateTime
* resultptr
;
18432 resultptr
= new wxDateTime((wxDateTime
&) result
);
18433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18441 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18445 wxDateTime
*result
;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self",(char *) "weekday", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18455 arg2
= (int)SWIG_As_int(obj1
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18461 result
= (wxDateTime
*) &_result_ref
;
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18474 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18479 PyObject
* obj0
= 0 ;
18480 PyObject
* obj1
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self",(char *) "weekday", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18488 arg2
= (int)SWIG_As_int(obj1
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18498 wxDateTime
* resultptr
;
18499 resultptr
= new wxDateTime((wxDateTime
&) result
);
18500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18508 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18512 wxDateTime
*result
;
18513 PyObject
* obj0
= 0 ;
18514 PyObject
* obj1
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self",(char *) "weekday", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18522 arg2
= (int)SWIG_As_int(obj1
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18528 result
= (wxDateTime
*) &_result_ref
;
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18541 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
;
18543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 PyObject
* obj1
= 0 ;
18548 char *kwnames
[] = {
18549 (char *) "self",(char *) "weekday", NULL
18552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 arg2
= (int)SWIG_As_int(obj1
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18565 wxDateTime
* resultptr
;
18566 resultptr
= new wxDateTime((wxDateTime
&) result
);
18567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18575 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18579 int arg3
= (int) 1 ;
18580 int arg4
= (int) wxDateTime::Inv_Month
;
18581 int arg5
= (int) wxDateTime::Inv_Year
;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 PyObject
* obj2
= 0 ;
18586 PyObject
* obj3
= 0 ;
18587 PyObject
* obj4
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18595 arg2
= (int)SWIG_As_int(obj1
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 arg3
= (int)SWIG_As_int(obj2
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18602 arg4
= (int)SWIG_As_int(obj3
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18606 arg5
= (int)SWIG_As_int(obj4
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18625 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18629 int arg3
= (int) wxDateTime::Inv_Month
;
18630 int arg4
= (int) wxDateTime::Inv_Year
;
18632 PyObject
* obj0
= 0 ;
18633 PyObject
* obj1
= 0 ;
18634 PyObject
* obj2
= 0 ;
18635 PyObject
* obj3
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18643 arg2
= (int)SWIG_As_int(obj1
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 arg3
= (int)SWIG_As_int(obj2
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 arg4
= (int)SWIG_As_int(obj3
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18669 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18673 int arg3
= (int) wxDateTime::Inv_Month
;
18674 int arg4
= (int) wxDateTime::Inv_Year
;
18676 PyObject
* obj0
= 0 ;
18677 PyObject
* obj1
= 0 ;
18678 PyObject
* obj2
= 0 ;
18679 PyObject
* obj3
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 arg2
= (int)SWIG_As_int(obj1
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 arg3
= (int)SWIG_As_int(obj2
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 arg4
= (int)SWIG_As_int(obj3
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18705 wxDateTime
* resultptr
;
18706 resultptr
= new wxDateTime((wxDateTime
&) result
);
18707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18715 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18719 int arg3
= (int) wxDateTime::Mon
;
18720 int arg4
= (int) wxDateTime::Monday_First
;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 PyObject
* obj2
= 0 ;
18725 PyObject
* obj3
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18733 arg2
= (int)SWIG_As_int(obj1
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 arg3
= (int)SWIG_As_int(obj2
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 arg4
= (int)SWIG_As_int(obj3
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18759 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18763 int arg3
= (int) wxDateTime::Mon
;
18764 int arg4
= (int) wxDateTime::Monday_First
;
18766 PyObject
* obj0
= 0 ;
18767 PyObject
* obj1
= 0 ;
18768 PyObject
* obj2
= 0 ;
18769 PyObject
* obj3
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18777 arg2
= (int)SWIG_As_int(obj1
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18780 arg3
= (int)SWIG_As_int(obj2
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18784 arg4
= (int)SWIG_As_int(obj3
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18795 wxDateTime
* resultptr
;
18796 resultptr
= new wxDateTime((wxDateTime
&) result
);
18797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18805 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18808 int arg2
= (int) wxDateTime::Inv_Month
;
18809 int arg3
= (int) wxDateTime::Inv_Year
;
18810 wxDateTime
*result
;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 PyObject
* obj2
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self",(char *) "month",(char *) "year", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 arg2
= (int)SWIG_As_int(obj1
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 arg3
= (int)SWIG_As_int(obj2
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18833 result
= (wxDateTime
*) &_result_ref
;
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18846 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18849 int arg2
= (int) wxDateTime::Inv_Month
;
18850 int arg3
= (int) wxDateTime::Inv_Year
;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 PyObject
* obj2
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "month",(char *) "year", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18863 arg2
= (int)SWIG_As_int(obj1
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18867 arg3
= (int)SWIG_As_int(obj2
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18878 wxDateTime
* resultptr
;
18879 resultptr
= new wxDateTime((wxDateTime
&) result
);
18880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18888 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
;
18890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18892 wxDateTime
*result
;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self",(char *) "yday", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18902 arg2
= (int)SWIG_As_int(obj1
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18908 result
= (wxDateTime
*) &_result_ref
;
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18921 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self",(char *) "yday", NULL
18932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18935 arg2
= (int)SWIG_As_int(obj1
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 result
= (arg1
)->GetYearDay(arg2
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18945 wxDateTime
* resultptr
;
18946 resultptr
= new wxDateTime((wxDateTime
&) result
);
18947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18955 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 result
= (double)(arg1
)->GetJulianDayNumber();
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 resultobj
= SWIG_From_double((double)result
);
18981 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= (double)(arg1
)->GetJDN();
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= SWIG_From_double((double)result
);
19007 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19009 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19011 PyObject
* obj0
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= SWIG_From_double((double)result
);
19033 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "self", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (double)(arg1
)->GetMJD();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 resultobj
= SWIG_From_double((double)result
);
19059 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (double)(arg1
)->GetRataDie();
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19078 resultobj
= SWIG_From_double((double)result
);
19085 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
;
19087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19088 wxDateTime::TimeZone
*arg2
= 0 ;
19089 bool arg3
= (bool) False
;
19091 bool temp2
= False
;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 PyObject
* obj2
= 0 ;
19095 char *kwnames
[] = {
19096 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19103 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19107 arg3
= (bool)SWIG_As_bool(obj2
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19118 wxDateTime
* resultptr
;
19119 resultptr
= new wxDateTime((wxDateTime
&) result
);
19120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19123 if (temp2
) delete arg2
;
19128 if (temp2
) delete arg2
;
19134 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19137 wxDateTime::TimeZone
*arg2
= 0 ;
19138 bool arg3
= (bool) False
;
19139 wxDateTime
*result
;
19140 bool temp2
= False
;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 PyObject
* obj2
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19152 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19156 arg3
= (bool)SWIG_As_bool(obj2
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19163 result
= (wxDateTime
*) &_result_ref
;
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19171 if (temp2
) delete arg2
;
19176 if (temp2
) delete arg2
;
19182 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19185 bool arg2
= (bool) False
;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self",(char *) "noDST", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19197 arg2
= (bool)SWIG_As_bool(obj1
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 result
= (arg1
)->ToGMT(arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19208 wxDateTime
* resultptr
;
19209 resultptr
= new wxDateTime((wxDateTime
&) result
);
19210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19218 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19221 bool arg2
= (bool) False
;
19222 wxDateTime
*result
;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "self",(char *) "noDST", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19233 arg2
= (bool)SWIG_As_bool(obj1
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19240 result
= (wxDateTime
*) &_result_ref
;
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19253 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19256 int arg2
= (int) wxDateTime::Country_Default
;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self",(char *) "country", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19268 arg2
= (int)SWIG_As_int(obj1
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= SWIG_From_int((int)result
);
19285 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19313 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19339 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19342 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19343 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19345 bool temp2
= False
;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 char *kwnames
[] = {
19349 (char *) "self",(char *) "tz", NULL
19352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19357 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19368 resultobj
= SWIG_From_int((int)result
);
19370 if (temp2
) delete arg2
;
19375 if (temp2
) delete arg2
;
19381 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19384 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19385 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19387 bool temp2
= False
;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self",(char *) "tz", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19399 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= SWIG_From_int((int)result
);
19412 if (temp2
) delete arg2
;
19417 if (temp2
) delete arg2
;
19423 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19426 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19427 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19429 bool temp2
= False
;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self",(char *) "tz", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= SWIG_From_int((int)result
);
19454 if (temp2
) delete arg2
;
19459 if (temp2
) delete arg2
;
19465 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19468 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19469 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19471 bool temp2
= False
;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self",(char *) "tz", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19483 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= SWIG_From_int((int)result
);
19496 if (temp2
) delete arg2
;
19501 if (temp2
) delete arg2
;
19507 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19510 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19511 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19513 bool temp2
= False
;
19514 PyObject
* obj0
= 0 ;
19515 PyObject
* obj1
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self",(char *) "tz", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19525 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_From_int((int)result
);
19538 if (temp2
) delete arg2
;
19543 if (temp2
) delete arg2
;
19549 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19552 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19553 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19555 bool temp2
= False
;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 char *kwnames
[] = {
19559 (char *) "self",(char *) "tz", NULL
19562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19567 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_From_int((int)result
);
19580 if (temp2
) delete arg2
;
19585 if (temp2
) delete arg2
;
19591 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19594 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19595 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19597 bool temp2
= False
;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 char *kwnames
[] = {
19601 (char *) "self",(char *) "tz", NULL
19604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19609 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= SWIG_From_int((int)result
);
19622 if (temp2
) delete arg2
;
19627 if (temp2
) delete arg2
;
19633 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19636 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19637 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19639 bool temp2
= False
;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "tz", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19651 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= SWIG_From_int((int)result
);
19664 if (temp2
) delete arg2
;
19669 if (temp2
) delete arg2
;
19675 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19678 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19679 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19681 bool temp2
= False
;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "tz", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19693 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= SWIG_From_int((int)result
);
19706 if (temp2
) delete arg2
;
19711 if (temp2
) delete arg2
;
19717 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
;
19719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19720 int arg2
= (int) wxDateTime::Monday_First
;
19721 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19722 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19724 bool temp3
= False
;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 PyObject
* obj2
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self",(char *) "flags",(char *) "tz", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19736 arg2
= (int)SWIG_As_int(obj1
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19741 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= SWIG_From_int((int)result
);
19754 if (temp3
) delete arg3
;
19759 if (temp3
) delete arg3
;
19765 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19768 int arg2
= (int) wxDateTime::Monday_First
;
19769 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19770 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19772 bool temp3
= False
;
19773 PyObject
* obj0
= 0 ;
19774 PyObject
* obj1
= 0 ;
19775 PyObject
* obj2
= 0 ;
19776 char *kwnames
[] = {
19777 (char *) "self",(char *) "flags",(char *) "tz", NULL
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19784 arg2
= (int)SWIG_As_int(obj1
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19789 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= SWIG_From_int((int)result
);
19802 if (temp3
) delete arg3
;
19807 if (temp3
) delete arg3
;
19813 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19816 int arg2
= (int) wxDateTime::Country_Default
;
19818 PyObject
* obj0
= 0 ;
19819 PyObject
* obj1
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self",(char *) "country", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19828 arg2
= (int)SWIG_As_int(obj1
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19847 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19850 wxDateTime
*arg2
= 0 ;
19852 PyObject
* obj0
= 0 ;
19853 PyObject
* obj1
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self",(char *) "datetime", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19864 if (arg2
== NULL
) {
19865 PyErr_SetString(PyExc_TypeError
,"null reference");
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19884 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19887 wxDateTime
*arg2
= 0 ;
19889 PyObject
* obj0
= 0 ;
19890 PyObject
* obj1
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self",(char *) "datetime", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19901 if (arg2
== NULL
) {
19902 PyErr_SetString(PyExc_TypeError
,"null reference");
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19921 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19924 wxDateTime
*arg2
= 0 ;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self",(char *) "datetime", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19938 if (arg2
== NULL
) {
19939 PyErr_SetString(PyExc_TypeError
,"null reference");
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19958 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19961 wxDateTime
*arg2
= 0 ;
19962 wxDateTime
*arg3
= 0 ;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 PyObject
* obj2
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self",(char *) "t1",(char *) "t2", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19977 if (arg2
== NULL
) {
19978 PyErr_SetString(PyExc_TypeError
,"null reference");
19981 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19984 if (arg3
== NULL
) {
19985 PyErr_SetString(PyExc_TypeError
,"null reference");
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20004 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
;
20006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20007 wxDateTime
*arg2
= 0 ;
20008 wxDateTime
*arg3
= 0 ;
20010 PyObject
* obj0
= 0 ;
20011 PyObject
* obj1
= 0 ;
20012 PyObject
* obj2
= 0 ;
20013 char *kwnames
[] = {
20014 (char *) "self",(char *) "t1",(char *) "t2", NULL
20017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20023 if (arg2
== NULL
) {
20024 PyErr_SetString(PyExc_TypeError
,"null reference");
20027 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20030 if (arg3
== NULL
) {
20031 PyErr_SetString(PyExc_TypeError
,"null reference");
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20050 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20053 wxDateTime
*arg2
= 0 ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self",(char *) "dt", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20067 if (arg2
== NULL
) {
20068 PyErr_SetString(PyExc_TypeError
,"null reference");
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20087 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20090 wxDateTime
*arg2
= 0 ;
20092 PyObject
* obj0
= 0 ;
20093 PyObject
* obj1
= 0 ;
20094 char *kwnames
[] = {
20095 (char *) "self",(char *) "dt", NULL
20098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20104 if (arg2
== NULL
) {
20105 PyErr_SetString(PyExc_TypeError
,"null reference");
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20124 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20127 wxDateTime
*arg2
= 0 ;
20128 wxTimeSpan
*arg3
= 0 ;
20130 PyObject
* obj0
= 0 ;
20131 PyObject
* obj1
= 0 ;
20132 PyObject
* obj2
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self",(char *) "dt",(char *) "ts", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20143 if (arg2
== NULL
) {
20144 PyErr_SetString(PyExc_TypeError
,"null reference");
20147 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20150 if (arg3
== NULL
) {
20151 PyErr_SetString(PyExc_TypeError
,"null reference");
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20170 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20173 wxTimeSpan
*arg2
= 0 ;
20174 wxDateTime
*result
;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self",(char *) "diff", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20187 if (arg2
== NULL
) {
20188 PyErr_SetString(PyExc_TypeError
,"null reference");
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20195 result
= (wxDateTime
*) &_result_ref
;
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20208 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20211 wxDateSpan
*arg2
= 0 ;
20212 wxDateTime
*result
;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 char *kwnames
[] = {
20216 (char *) "self",(char *) "diff", NULL
20219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20225 if (arg2
== NULL
) {
20226 PyErr_SetString(PyExc_TypeError
,"null reference");
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20233 result
= (wxDateTime
*) &_result_ref
;
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20246 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20249 wxTimeSpan
*arg2
= 0 ;
20250 wxDateTime
*result
;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "self",(char *) "diff", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20263 if (arg2
== NULL
) {
20264 PyErr_SetString(PyExc_TypeError
,"null reference");
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20271 result
= (wxDateTime
*) &_result_ref
;
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20284 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20287 wxDateSpan
*arg2
= 0 ;
20288 wxDateTime
*result
;
20289 PyObject
* obj0
= 0 ;
20290 PyObject
* obj1
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self",(char *) "diff", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20301 if (arg2
== NULL
) {
20302 PyErr_SetString(PyExc_TypeError
,"null reference");
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20309 result
= (wxDateTime
*) &_result_ref
;
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20322 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20323 PyObject
*resultobj
;
20324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20325 wxDateTime
*arg2
= 0 ;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self",(char *) "dt", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20337 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20339 if (arg2
== NULL
) {
20340 PyErr_SetString(PyExc_TypeError
,"null reference");
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20351 wxTimeSpan
* resultptr
;
20352 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20361 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20362 PyObject
*resultobj
;
20363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20364 wxTimeSpan
*arg2
= 0 ;
20365 wxDateTime
*result
;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20369 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20371 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20373 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20375 if (arg2
== NULL
) {
20376 PyErr_SetString(PyExc_TypeError
,"null reference");
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20383 result
= (wxDateTime
*) &_result_ref
;
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20396 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20397 PyObject
*resultobj
;
20398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20399 wxDateSpan
*arg2
= 0 ;
20400 wxDateTime
*result
;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20404 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20406 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20410 if (arg2
== NULL
) {
20411 PyErr_SetString(PyExc_TypeError
,"null reference");
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20418 result
= (wxDateTime
*) &_result_ref
;
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20431 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20436 argc
= PyObject_Length(args
);
20437 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20438 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20444 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20454 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20462 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20470 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20480 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20488 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20493 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20498 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20499 PyObject
*resultobj
;
20500 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20501 wxTimeSpan
*arg2
= 0 ;
20502 wxDateTime
*result
;
20503 PyObject
* obj0
= 0 ;
20504 PyObject
* obj1
= 0 ;
20506 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20508 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20512 if (arg2
== NULL
) {
20513 PyErr_SetString(PyExc_TypeError
,"null reference");
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20520 result
= (wxDateTime
*) &_result_ref
;
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20533 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20534 PyObject
*resultobj
;
20535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20536 wxDateSpan
*arg2
= 0 ;
20537 wxDateTime
*result
;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20541 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20543 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20547 if (arg2
== NULL
) {
20548 PyErr_SetString(PyExc_TypeError
,"null reference");
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20555 result
= (wxDateTime
*) &_result_ref
;
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20568 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20573 argc
= PyObject_Length(args
);
20574 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20575 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20581 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20591 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20599 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20607 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20617 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20625 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20630 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20635 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20636 PyObject
*resultobj
;
20637 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20638 wxTimeSpan
*arg2
= 0 ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20643 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20649 if (arg2
== NULL
) {
20650 PyErr_SetString(PyExc_TypeError
,"null reference");
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20661 wxDateTime
* resultptr
;
20662 resultptr
= new wxDateTime((wxDateTime
&) result
);
20663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20671 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20672 PyObject
*resultobj
;
20673 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20674 wxDateSpan
*arg2
= 0 ;
20676 PyObject
* obj0
= 0 ;
20677 PyObject
* obj1
= 0 ;
20679 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20685 if (arg2
== NULL
) {
20686 PyErr_SetString(PyExc_TypeError
,"null reference");
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20697 wxDateTime
* resultptr
;
20698 resultptr
= new wxDateTime((wxDateTime
&) result
);
20699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20707 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20712 argc
= PyObject_Length(args
);
20713 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20714 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20720 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20730 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20738 return _wrap_DateTime___add____SWIG_0(self
,args
);
20746 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20756 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20764 return _wrap_DateTime___add____SWIG_1(self
,args
);
20769 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20774 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20775 PyObject
*resultobj
;
20776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20777 wxDateTime
*arg2
= 0 ;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20782 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20788 if (arg2
== NULL
) {
20789 PyErr_SetString(PyExc_TypeError
,"null reference");
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 wxTimeSpan
* resultptr
;
20801 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20810 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20811 PyObject
*resultobj
;
20812 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20813 wxTimeSpan
*arg2
= 0 ;
20815 PyObject
* obj0
= 0 ;
20816 PyObject
* obj1
= 0 ;
20818 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20824 if (arg2
== NULL
) {
20825 PyErr_SetString(PyExc_TypeError
,"null reference");
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20836 wxDateTime
* resultptr
;
20837 resultptr
= new wxDateTime((wxDateTime
&) result
);
20838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20846 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20847 PyObject
*resultobj
;
20848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20849 wxDateSpan
*arg2
= 0 ;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20854 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20860 if (arg2
== NULL
) {
20861 PyErr_SetString(PyExc_TypeError
,"null reference");
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20872 wxDateTime
* resultptr
;
20873 resultptr
= new wxDateTime((wxDateTime
&) result
);
20874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20882 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20887 argc
= PyObject_Length(args
);
20888 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20889 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20895 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20905 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20913 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20921 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20931 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20939 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20947 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20957 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20965 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20970 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20975 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
20976 PyObject
*resultobj
;
20977 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20978 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 PyObject
* obj1
= 0 ;
20983 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21004 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21005 PyObject
*resultobj
;
21006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21007 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21009 PyObject
* obj0
= 0 ;
21010 PyObject
* obj1
= 0 ;
21012 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21033 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21034 PyObject
*resultobj
;
21035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21036 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21041 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21062 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21063 PyObject
*resultobj
;
21064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21065 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21067 PyObject
* obj0
= 0 ;
21068 PyObject
* obj1
= 0 ;
21070 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21091 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21092 PyObject
*resultobj
;
21093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21094 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21096 PyObject
* obj0
= 0 ;
21097 PyObject
* obj1
= 0 ;
21099 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21120 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21121 PyObject
*resultobj
;
21122 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21123 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21128 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21149 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21152 wxString
*arg2
= 0 ;
21154 bool temp2
= False
;
21155 PyObject
* obj0
= 0 ;
21156 PyObject
* obj1
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self",(char *) "date", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21165 arg2
= wxString_in_helper(obj1
);
21166 if (arg2
== NULL
) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 resultobj
= SWIG_From_int((int)result
);
21191 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21194 wxString
*arg2
= 0 ;
21195 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21196 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21197 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21198 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21200 bool temp2
= False
;
21201 bool temp3
= False
;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 PyObject
* obj2
= 0 ;
21205 PyObject
* obj3
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21214 arg2
= wxString_in_helper(obj1
);
21215 if (arg2
== NULL
) SWIG_fail
;
21220 arg3
= wxString_in_helper(obj2
);
21221 if (arg3
== NULL
) SWIG_fail
;
21226 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21229 if (arg4
== NULL
) {
21230 PyErr_SetString(PyExc_TypeError
,"null reference");
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 resultobj
= SWIG_From_int((int)result
);
21264 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21267 wxString
*arg2
= 0 ;
21269 bool temp2
= False
;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self",(char *) "datetime", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21280 arg2
= wxString_in_helper(obj1
);
21281 if (arg2
== NULL
) SWIG_fail
;
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21291 resultobj
= SWIG_From_int((int)result
);
21306 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
;
21308 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21309 wxString
*arg2
= 0 ;
21311 bool temp2
= False
;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self",(char *) "date", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 arg2
= wxString_in_helper(obj1
);
21323 if (arg2
== NULL
) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= SWIG_From_int((int)result
);
21348 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21351 wxString
*arg2
= 0 ;
21353 bool temp2
= False
;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self",(char *) "time", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21364 arg2
= wxString_in_helper(obj1
);
21365 if (arg2
== NULL
) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_From_int((int)result
);
21390 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21393 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21394 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21395 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21396 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21398 bool temp2
= False
;
21399 bool temp3
= False
;
21400 PyObject
* obj0
= 0 ;
21401 PyObject
* obj1
= 0 ;
21402 PyObject
* obj2
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self",(char *) "format",(char *) "tz", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21412 arg2
= wxString_in_helper(obj1
);
21413 if (arg2
== NULL
) SWIG_fail
;
21419 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21442 if (temp3
) delete arg3
;
21451 if (temp3
) delete arg3
;
21457 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21461 PyObject
* obj0
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21489 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
;
21491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21493 PyObject
* obj0
= 0 ;
21494 char *kwnames
[] = {
21495 (char *) "self", NULL
21498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21521 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
;
21523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21553 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21554 PyObject
*resultobj
;
21555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21557 PyObject
* obj0
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21585 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21588 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21590 return Py_BuildValue((char *)"");
21592 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21596 PyObject
* obj0
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "sec", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21602 arg1
= (long)SWIG_As_long(obj0
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= wxTimeSpan::Seconds(arg1
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21612 wxTimeSpan
* resultptr
;
21613 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21622 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21625 char *kwnames
[] = {
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= wxTimeSpan::Second();
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21638 wxTimeSpan
* resultptr
;
21639 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21648 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21652 PyObject
* obj0
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "min", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21658 arg1
= (long)SWIG_As_long(obj0
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= wxTimeSpan::Minutes(arg1
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21668 wxTimeSpan
* resultptr
;
21669 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21678 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21681 char *kwnames
[] = {
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= wxTimeSpan::Minute();
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21694 wxTimeSpan
* resultptr
;
21695 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21704 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
;
21708 PyObject
* obj0
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "hours", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21714 arg1
= (long)SWIG_As_long(obj0
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= wxTimeSpan::Hours(arg1
);
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21724 wxTimeSpan
* resultptr
;
21725 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21734 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21737 char *kwnames
[] = {
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= wxTimeSpan::Hour();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 wxTimeSpan
* resultptr
;
21751 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21760 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21761 PyObject
*resultobj
;
21764 PyObject
* obj0
= 0 ;
21765 char *kwnames
[] = {
21766 (char *) "days", NULL
21769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21770 arg1
= (long)SWIG_As_long(obj0
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 result
= wxTimeSpan::Days(arg1
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21780 wxTimeSpan
* resultptr
;
21781 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21790 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21793 char *kwnames
[] = {
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 result
= wxTimeSpan::Day();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21806 wxTimeSpan
* resultptr
;
21807 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21816 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21820 PyObject
* obj0
= 0 ;
21821 char *kwnames
[] = {
21822 (char *) "days", NULL
21825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21826 arg1
= (long)SWIG_As_long(obj0
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= wxTimeSpan::Weeks(arg1
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21836 wxTimeSpan
* resultptr
;
21837 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21846 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21849 char *kwnames
[] = {
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 result
= wxTimeSpan::Week();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21862 wxTimeSpan
* resultptr
;
21863 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21872 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 long arg1
= (long) 0 ;
21875 long arg2
= (long) 0 ;
21876 long arg3
= (long) 0 ;
21877 long arg4
= (long) 0 ;
21878 wxTimeSpan
*result
;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 PyObject
* obj2
= 0 ;
21882 PyObject
* obj3
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21889 arg1
= (long)SWIG_As_long(obj0
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21893 arg2
= (long)SWIG_As_long(obj1
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21897 arg3
= (long)SWIG_As_long(obj2
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21901 arg4
= (long)SWIG_As_long(obj3
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21918 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
;
21920 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 Py_INCREF(Py_None
); resultobj
= Py_None
;
21943 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21946 wxTimeSpan
*arg2
= 0 ;
21947 wxTimeSpan
*result
;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self",(char *) "diff", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21960 if (arg2
== NULL
) {
21961 PyErr_SetString(PyExc_TypeError
,"null reference");
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21968 result
= (wxTimeSpan
*) &_result_ref
;
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21981 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21983 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21984 wxTimeSpan
*arg2
= 0 ;
21985 wxTimeSpan
*result
;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "self",(char *) "diff", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21998 if (arg2
== NULL
) {
21999 PyErr_SetString(PyExc_TypeError
,"null reference");
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22006 result
= (wxTimeSpan
*) &_result_ref
;
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22019 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
;
22021 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22023 wxTimeSpan
*result
;
22024 PyObject
* obj0
= 0 ;
22025 PyObject
* obj1
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self",(char *) "n", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 arg2
= (int)SWIG_As_int(obj1
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22039 result
= (wxTimeSpan
*) &_result_ref
;
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22052 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22055 wxTimeSpan
*result
;
22056 PyObject
* obj0
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
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_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 char *kwnames
[] = {
22087 (char *) "self", NULL
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22101 wxTimeSpan
* resultptr
;
22102 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22111 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22114 wxTimeSpan
*arg2
= 0 ;
22115 wxTimeSpan
*result
;
22116 PyObject
* obj0
= 0 ;
22117 PyObject
* obj1
= 0 ;
22118 char *kwnames
[] = {
22119 (char *) "self",(char *) "diff", NULL
22122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22124 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22128 if (arg2
== NULL
) {
22129 PyErr_SetString(PyExc_TypeError
,"null reference");
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22136 result
= (wxTimeSpan
*) &_result_ref
;
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22149 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22152 wxTimeSpan
*arg2
= 0 ;
22153 wxTimeSpan
*result
;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 char *kwnames
[] = {
22157 (char *) "self",(char *) "diff", NULL
22160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22162 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22166 if (arg2
== NULL
) {
22167 PyErr_SetString(PyExc_TypeError
,"null reference");
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22174 result
= (wxTimeSpan
*) &_result_ref
;
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22187 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22191 wxTimeSpan
*result
;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 char *kwnames
[] = {
22195 (char *) "self",(char *) "n", NULL
22198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22200 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22201 arg2
= (int)SWIG_As_int(obj1
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22207 result
= (wxTimeSpan
*) &_result_ref
;
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22220 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22223 wxTimeSpan
*result
;
22224 PyObject
* obj0
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22236 result
= (wxTimeSpan
*) &_result_ref
;
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22249 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22252 wxTimeSpan
*arg2
= 0 ;
22254 PyObject
* obj0
= 0 ;
22255 PyObject
* obj1
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self",(char *) "other", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22266 if (arg2
== NULL
) {
22267 PyErr_SetString(PyExc_TypeError
,"null reference");
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22278 wxTimeSpan
* resultptr
;
22279 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22288 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22291 wxTimeSpan
*arg2
= 0 ;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self",(char *) "other", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22305 if (arg2
== NULL
) {
22306 PyErr_SetString(PyExc_TypeError
,"null reference");
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22317 wxTimeSpan
* resultptr
;
22318 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22327 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22332 PyObject
* obj0
= 0 ;
22333 PyObject
* obj1
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self",(char *) "n", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22341 arg2
= (int)SWIG_As_int(obj1
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= wxTimeSpan___mul__(arg1
,arg2
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22351 wxTimeSpan
* resultptr
;
22352 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22361 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
;
22363 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22366 PyObject
* obj0
= 0 ;
22367 PyObject
* obj1
= 0 ;
22368 char *kwnames
[] = {
22369 (char *) "self",(char *) "n", NULL
22372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22375 arg2
= (int)SWIG_As_int(obj1
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22385 wxTimeSpan
* resultptr
;
22386 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22395 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
;
22397 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22398 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22400 PyObject
* obj0
= 0 ;
22401 PyObject
* obj1
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self",(char *) "other", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22427 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22430 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "other", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22459 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22462 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self",(char *) "other", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22491 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22492 PyObject
*resultobj
;
22493 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22494 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "other", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22523 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22526 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22528 PyObject
* obj0
= 0 ;
22529 PyObject
* obj1
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self",(char *) "other", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22555 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22558 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22562 char *kwnames
[] = {
22563 (char *) "self",(char *) "other", NULL
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22587 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22615 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22619 PyObject
* obj0
= 0 ;
22620 char *kwnames
[] = {
22621 (char *) "self", NULL
22624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22643 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22647 PyObject
* obj0
= 0 ;
22648 char *kwnames
[] = {
22649 (char *) "self", NULL
22652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22671 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22674 wxTimeSpan
*arg2
= 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self",(char *) "ts", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22688 if (arg2
== NULL
) {
22689 PyErr_SetString(PyExc_TypeError
,"null reference");
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22708 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22711 wxTimeSpan
*arg2
= 0 ;
22713 PyObject
* obj0
= 0 ;
22714 PyObject
* obj1
= 0 ;
22715 char *kwnames
[] = {
22716 (char *) "self",(char *) "ts", NULL
22719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22725 if (arg2
== NULL
) {
22726 PyErr_SetString(PyExc_TypeError
,"null reference");
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22745 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22748 wxTimeSpan
*arg2
= 0 ;
22750 PyObject
* obj0
= 0 ;
22751 PyObject
* obj1
= 0 ;
22752 char *kwnames
[] = {
22753 (char *) "self",(char *) "t", NULL
22756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22762 if (arg2
== NULL
) {
22763 PyErr_SetString(PyExc_TypeError
,"null reference");
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22782 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22786 PyObject
* obj0
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22796 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= SWIG_From_int((int)result
);
22808 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
;
22810 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22812 PyObject
* obj0
= 0 ;
22813 char *kwnames
[] = {
22814 (char *) "self", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22827 resultobj
= SWIG_From_int((int)result
);
22834 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
;
22836 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22838 PyObject
* obj0
= 0 ;
22839 char *kwnames
[] = {
22840 (char *) "self", NULL
22843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_From_int((int)result
);
22860 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22864 PyObject
* obj0
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= SWIG_From_int((int)result
);
22886 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22890 PyObject
* obj0
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22906 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22907 hi
= PyLong_FromLong( (&result
)->GetHi() );
22908 lo
= PyLong_FromLong( (&result
)->GetLo() );
22909 shifter
= PyLong_FromLong(32);
22910 shifted
= PyNumber_Lshift(hi
, shifter
);
22911 resultobj
= PyNumber_Or(shifted
, lo
);
22914 Py_DECREF(shifter
);
22915 Py_DECREF(shifted
);
22923 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
;
22925 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22927 PyObject
* obj0
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22943 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22944 hi
= PyLong_FromLong( (&result
)->GetHi() );
22945 lo
= PyLong_FromLong( (&result
)->GetLo() );
22946 shifter
= PyLong_FromLong(32);
22947 shifted
= PyNumber_Lshift(hi
, shifter
);
22948 resultobj
= PyNumber_Or(shifted
, lo
);
22951 Py_DECREF(shifter
);
22952 Py_DECREF(shifted
);
22960 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22963 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22964 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22966 bool temp2
= False
;
22967 PyObject
* obj0
= 0 ;
22968 PyObject
* obj1
= 0 ;
22969 char *kwnames
[] = {
22970 (char *) "self",(char *) "format", NULL
22973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 arg2
= wxString_in_helper(obj1
);
22979 if (arg2
== NULL
) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23011 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23014 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23016 return Py_BuildValue((char *)"");
23018 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 int arg1
= (int) 0 ;
23021 int arg2
= (int) 0 ;
23022 int arg3
= (int) 0 ;
23023 int arg4
= (int) 0 ;
23024 wxDateSpan
*result
;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 PyObject
* obj2
= 0 ;
23028 PyObject
* obj3
= 0 ;
23029 char *kwnames
[] = {
23030 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23035 arg1
= (int)SWIG_As_int(obj0
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23039 arg2
= (int)SWIG_As_int(obj1
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 arg3
= (int)SWIG_As_int(obj2
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23047 arg4
= (int)SWIG_As_int(obj3
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23064 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23066 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 Py_INCREF(Py_None
); resultobj
= Py_None
;
23089 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23093 PyObject
* obj0
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "days", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23099 arg1
= (int)SWIG_As_int(obj0
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= wxDateSpan::Days(arg1
);
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 wxDateSpan
* resultptr
;
23110 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23119 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
;
23122 char *kwnames
[] = {
23126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 result
= wxDateSpan::Day();
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23135 wxDateSpan
* resultptr
;
23136 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23145 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23149 PyObject
* obj0
= 0 ;
23150 char *kwnames
[] = {
23151 (char *) "weeks", NULL
23154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23155 arg1
= (int)SWIG_As_int(obj0
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= wxDateSpan::Weeks(arg1
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23165 wxDateSpan
* resultptr
;
23166 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23175 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23178 char *kwnames
[] = {
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 result
= wxDateSpan::Week();
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23191 wxDateSpan
* resultptr
;
23192 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23201 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23205 PyObject
* obj0
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "mon", NULL
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23211 arg1
= (int)SWIG_As_int(obj0
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= wxDateSpan::Months(arg1
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23221 wxDateSpan
* resultptr
;
23222 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23231 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23234 char *kwnames
[] = {
23238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 result
= wxDateSpan::Month();
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23247 wxDateSpan
* resultptr
;
23248 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23257 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
;
23261 PyObject
* obj0
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "years", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23267 arg1
= (int)SWIG_As_int(obj0
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 result
= wxDateSpan::Years(arg1
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23277 wxDateSpan
* resultptr
;
23278 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23287 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
;
23290 char *kwnames
[] = {
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= wxDateSpan::Year();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23303 wxDateSpan
* resultptr
;
23304 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23313 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
;
23315 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23317 wxDateSpan
*result
;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self",(char *) "n", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23327 arg2
= (int)SWIG_As_int(obj1
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23333 result
= (wxDateSpan
*) &_result_ref
;
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23346 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23350 wxDateSpan
*result
;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self",(char *) "n", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23360 arg2
= (int)SWIG_As_int(obj1
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23366 result
= (wxDateSpan
*) &_result_ref
;
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23379 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23383 wxDateSpan
*result
;
23384 PyObject
* obj0
= 0 ;
23385 PyObject
* obj1
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self",(char *) "n", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23393 arg2
= (int)SWIG_As_int(obj1
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23399 result
= (wxDateSpan
*) &_result_ref
;
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23412 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23416 wxDateSpan
*result
;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self",(char *) "n", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23426 arg2
= (int)SWIG_As_int(obj1
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23432 result
= (wxDateSpan
*) &_result_ref
;
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23445 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
;
23447 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23449 PyObject
* obj0
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23464 resultobj
= SWIG_From_int((int)result
);
23471 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
;
23473 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23475 PyObject
* obj0
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= SWIG_From_int((int)result
);
23497 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23499 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23501 PyObject
* obj0
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_From_int((int)result
);
23523 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_From_int((int)result
);
23549 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "self", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= SWIG_From_int((int)result
);
23575 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23578 wxDateSpan
*arg2
= 0 ;
23579 wxDateSpan
*result
;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 char *kwnames
[] = {
23583 (char *) "self",(char *) "other", NULL
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23592 if (arg2
== NULL
) {
23593 PyErr_SetString(PyExc_TypeError
,"null reference");
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23600 result
= (wxDateSpan
*) &_result_ref
;
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23613 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
;
23615 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23616 wxDateSpan
*arg2
= 0 ;
23617 wxDateSpan
*result
;
23618 PyObject
* obj0
= 0 ;
23619 PyObject
* obj1
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self",(char *) "other", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23630 if (arg2
== NULL
) {
23631 PyErr_SetString(PyExc_TypeError
,"null reference");
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23638 result
= (wxDateSpan
*) &_result_ref
;
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23651 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23654 wxDateSpan
*result
;
23655 PyObject
* obj0
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23667 result
= (wxDateSpan
*) &_result_ref
;
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23680 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23684 wxDateSpan
*result
;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "factor", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23694 arg2
= (int)SWIG_As_int(obj1
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 wxDateSpan
&_result_ref
= (arg1
)->Multiply(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___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23716 wxDateSpan
*arg2
= 0 ;
23717 wxDateSpan
*result
;
23718 PyObject
* obj0
= 0 ;
23719 PyObject
* obj1
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self",(char *) "other", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23726 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23730 if (arg2
== NULL
) {
23731 PyErr_SetString(PyExc_TypeError
,"null reference");
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23738 result
= (wxDateSpan
*) &_result_ref
;
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23751 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23754 wxDateSpan
*arg2
= 0 ;
23755 wxDateSpan
*result
;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self",(char *) "other", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23764 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23768 if (arg2
== NULL
) {
23769 PyErr_SetString(PyExc_TypeError
,"null reference");
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23776 result
= (wxDateSpan
*) &_result_ref
;
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23789 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23792 wxDateSpan
*result
;
23793 PyObject
* obj0
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23805 result
= (wxDateSpan
*) &_result_ref
;
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23818 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23822 wxDateSpan
*result
;
23823 PyObject
* obj0
= 0 ;
23824 PyObject
* obj1
= 0 ;
23825 char *kwnames
[] = {
23826 (char *) "self",(char *) "factor", NULL
23829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23831 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23832 arg2
= (int)SWIG_As_int(obj1
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 wxDateSpan
&_result_ref
= (arg1
)->operator *=(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___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23854 wxDateSpan
*arg2
= 0 ;
23856 PyObject
* obj0
= 0 ;
23857 PyObject
* obj1
= 0 ;
23858 char *kwnames
[] = {
23859 (char *) "self",(char *) "other", NULL
23862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23868 if (arg2
== NULL
) {
23869 PyErr_SetString(PyExc_TypeError
,"null reference");
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23880 wxDateSpan
* resultptr
;
23881 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23890 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23893 wxDateSpan
*arg2
= 0 ;
23895 PyObject
* obj0
= 0 ;
23896 PyObject
* obj1
= 0 ;
23897 char *kwnames
[] = {
23898 (char *) "self",(char *) "other", NULL
23901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23907 if (arg2
== NULL
) {
23908 PyErr_SetString(PyExc_TypeError
,"null reference");
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23919 wxDateSpan
* resultptr
;
23920 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23929 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "self",(char *) "n", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23943 arg2
= (int)SWIG_As_int(obj1
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 result
= wxDateSpan___mul__(arg1
,arg2
);
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23953 wxDateSpan
* resultptr
;
23954 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23963 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
;
23965 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self",(char *) "n", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23977 arg2
= (int)SWIG_As_int(obj1
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= wxDateSpan___rmul__(arg1
,arg2
);
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23987 wxDateSpan
* resultptr
;
23988 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23997 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24000 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char *kwnames
[] = {
24005 (char *) "self",(char *) "other", NULL
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24029 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24032 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self",(char *) "other", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24061 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24064 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24066 return Py_BuildValue((char *)"");
24068 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24071 char *kwnames
[] = {
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 result
= (long)wxGetLocalTime();
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= SWIG_From_long((long)result
);
24090 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
;
24093 char *kwnames
[] = {
24097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 result
= (long)wxGetUTCTime();
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= SWIG_From_long((long)result
);
24112 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24115 char *kwnames
[] = {
24119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (long)wxGetCurrentTime();
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= SWIG_From_long((long)result
);
24134 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24137 char *kwnames
[] = {
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= wxGetLocalTimeMillis();
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24150 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24151 hi
= PyLong_FromLong( (&result
)->GetHi() );
24152 lo
= PyLong_FromLong( (&result
)->GetLo() );
24153 shifter
= PyLong_FromLong(32);
24154 shifted
= PyNumber_Lshift(hi
, shifter
);
24155 resultobj
= PyNumber_Or(shifted
, lo
);
24158 Py_DECREF(shifter
);
24159 Py_DECREF(shifted
);
24167 static int _wrap_DefaultDateTime_set(PyObject
*) {
24168 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24173 static PyObject
*_wrap_DefaultDateTime_get() {
24176 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24181 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
;
24184 wxDataFormat
*result
;
24185 PyObject
* obj0
= 0 ;
24186 char *kwnames
[] = {
24187 (char *) "type", NULL
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24191 arg1
= (int)SWIG_As_int(obj0
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24207 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
;
24209 wxString
*arg1
= 0 ;
24210 wxDataFormat
*result
;
24211 bool temp1
= False
;
24212 PyObject
* obj0
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "format", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24219 arg1
= wxString_in_helper(obj0
);
24220 if (arg1
== NULL
) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24245 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 Py_INCREF(Py_None
); resultobj
= Py_None
;
24270 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24271 PyObject
*resultobj
;
24272 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24278 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24281 arg2
= (int)SWIG_As_int(obj1
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24299 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24300 PyObject
*resultobj
;
24301 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24304 PyObject
* obj0
= 0 ;
24305 PyObject
* obj1
= 0 ;
24307 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24310 arg2
= (int)SWIG_As_int(obj1
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24328 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24329 PyObject
*resultobj
;
24330 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24331 wxDataFormat
*arg2
= 0 ;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24336 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24342 if (arg2
== NULL
) {
24343 PyErr_SetString(PyExc_TypeError
,"null reference");
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24362 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24367 argc
= PyObject_Length(args
);
24368 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24369 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24375 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24385 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24393 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24401 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24409 _v
= SWIG_Check_int(argv
[1]);
24411 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24416 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24421 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24422 PyObject
*resultobj
;
24423 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24424 wxDataFormat
*arg2
= 0 ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24429 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24435 if (arg2
== NULL
) {
24436 PyErr_SetString(PyExc_TypeError
,"null reference");
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24455 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24460 argc
= PyObject_Length(args
);
24461 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24462 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24468 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24478 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24486 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24494 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24502 _v
= SWIG_Check_int(argv
[1]);
24504 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24509 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24514 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char *kwnames
[] = {
24521 (char *) "self",(char *) "format", NULL
24524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 arg2
= (int)SWIG_As_int(obj1
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 (arg1
)->SetType((wxDataFormatId
)arg2
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 Py_INCREF(Py_None
); resultobj
= Py_None
;
24543 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24547 PyObject
* obj0
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= SWIG_From_int((int)result
);
24569 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= ((wxDataFormat
const *)arg1
)->GetId();
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24601 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24604 wxString
*arg2
= 0 ;
24605 bool temp2
= False
;
24606 PyObject
* obj0
= 0 ;
24607 PyObject
* obj1
= 0 ;
24608 char *kwnames
[] = {
24609 (char *) "self",(char *) "format", NULL
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 arg2
= wxString_in_helper(obj1
);
24617 if (arg2
== NULL
) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 (arg1
)->SetId((wxString
const &)*arg2
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 Py_INCREF(Py_None
); resultobj
= Py_None
;
24642 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24645 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24647 return Py_BuildValue((char *)"");
24649 static int _wrap_FormatInvalid_set(PyObject
*) {
24650 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24655 static PyObject
*_wrap_FormatInvalid_get() {
24658 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24663 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24666 PyObject
* obj0
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 Py_INCREF(Py_None
); resultobj
= Py_None
;
24688 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24691 int arg2
= (int) wxDataObject::Get
;
24692 SwigValueWrapper
< wxDataFormat
> result
;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self",(char *) "dir", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24703 arg2
= (int)SWIG_As_int(obj1
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24714 wxDataFormat
* resultptr
;
24715 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24724 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
;
24726 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24727 int arg2
= (int) wxDataObject::Get
;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "self",(char *) "dir", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24739 arg2
= (int)SWIG_As_int(obj1
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24756 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24759 wxDataFormat
*arg2
= 0 ;
24760 int arg3
= (int) wxDataObject::Get
;
24762 PyObject
* obj0
= 0 ;
24763 PyObject
* obj1
= 0 ;
24764 PyObject
* obj2
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "format",(char *) "dir", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24775 if (arg2
== NULL
) {
24776 PyErr_SetString(PyExc_TypeError
,"null reference");
24780 arg3
= (int)SWIG_As_int(obj2
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24799 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24802 wxDataFormat
*arg2
= 0 ;
24804 PyObject
* obj0
= 0 ;
24805 PyObject
* obj1
= 0 ;
24806 char *kwnames
[] = {
24807 (char *) "self",(char *) "format", NULL
24810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24816 if (arg2
== NULL
) {
24817 PyErr_SetString(PyExc_TypeError
,"null reference");
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24834 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24837 int arg2
= (int) wxDataObject::Get
;
24839 PyObject
* obj0
= 0 ;
24840 PyObject
* obj1
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self",(char *) "dir", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 arg2
= (int)SWIG_As_int(obj1
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= result
;
24866 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
;
24868 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24869 wxDataFormat
*arg2
= 0 ;
24871 PyObject
* obj0
= 0 ;
24872 PyObject
* obj1
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self",(char *) "format", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24883 if (arg2
== NULL
) {
24884 PyErr_SetString(PyExc_TypeError
,"null reference");
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= result
;
24901 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
;
24903 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24904 wxDataFormat
*arg2
= 0 ;
24905 PyObject
*arg3
= (PyObject
*) 0 ;
24907 PyObject
* obj0
= 0 ;
24908 PyObject
* obj1
= 0 ;
24909 PyObject
* obj2
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "format",(char *) "data", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24920 if (arg2
== NULL
) {
24921 PyErr_SetString(PyExc_TypeError
,"null reference");
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24941 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
24943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24944 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24946 return Py_BuildValue((char *)"");
24948 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24951 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24952 wxDataObjectSimple
*result
;
24953 PyObject
* obj0
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "format", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24963 if (arg1
== NULL
) {
24964 PyErr_SetString(PyExc_TypeError
,"null reference");
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24982 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24985 wxDataFormat
*result
;
24986 PyObject
* obj0
= 0 ;
24987 char *kwnames
[] = {
24988 (char *) "self", NULL
24991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24998 result
= (wxDataFormat
*) &_result_ref
;
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25011 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25014 wxDataFormat
*arg2
= 0 ;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self",(char *) "format", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25027 if (arg2
== NULL
) {
25028 PyErr_SetString(PyExc_TypeError
,"null reference");
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25038 Py_INCREF(Py_None
); resultobj
= Py_None
;
25045 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25049 PyObject
* obj0
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25064 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25071 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25072 PyObject
*resultobj
;
25073 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 char *kwnames
[] = {
25077 (char *) "self", NULL
25080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= result
;
25097 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25100 PyObject
*arg2
= (PyObject
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self",(char *) "data", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25128 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25131 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25133 return Py_BuildValue((char *)"");
25135 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25136 PyObject
*resultobj
;
25137 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25138 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25139 wxPyDataObjectSimple
*result
;
25140 PyObject
* obj0
= 0 ;
25141 char *kwnames
[] = {
25142 (char *) "format", NULL
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25150 if (arg1
== NULL
) {
25151 PyErr_SetString(PyExc_TypeError
,"null reference");
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25169 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
;
25171 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25172 PyObject
*arg2
= (PyObject
*) 0 ;
25173 PyObject
*arg3
= (PyObject
*) 0 ;
25174 PyObject
* obj0
= 0 ;
25175 PyObject
* obj1
= 0 ;
25176 PyObject
* obj2
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "self",(char *) "self",(char *) "_class", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 Py_INCREF(Py_None
); resultobj
= Py_None
;
25200 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25203 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25205 return Py_BuildValue((char *)"");
25207 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxDataObjectComposite
*result
;
25210 char *kwnames
[] = {
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25229 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
;
25231 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25232 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25233 bool arg3
= (bool) False
;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 PyObject
* obj2
= 0 ;
25237 char *kwnames
[] = {
25238 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25245 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25247 arg3
= (bool)SWIG_As_bool(obj2
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 (arg1
)->Add(arg2
,arg3
);
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 Py_INCREF(Py_None
); resultobj
= Py_None
;
25264 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25267 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25269 return Py_BuildValue((char *)"");
25271 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25274 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25275 wxTextDataObject
*result
;
25276 bool temp1
= False
;
25277 PyObject
* obj0
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "text", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25285 arg1
= wxString_in_helper(obj0
);
25286 if (arg1
== NULL
) SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25312 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25316 PyObject
* obj0
= 0 ;
25317 char *kwnames
[] = {
25318 (char *) "self", NULL
25321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= (size_t)(arg1
)->GetTextLength();
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25338 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25339 PyObject
*resultobj
;
25340 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25342 PyObject
* obj0
= 0 ;
25343 char *kwnames
[] = {
25344 (char *) "self", NULL
25347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= (arg1
)->GetText();
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25370 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25371 PyObject
*resultobj
;
25372 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25373 wxString
*arg2
= 0 ;
25374 bool temp2
= False
;
25375 PyObject
* obj0
= 0 ;
25376 PyObject
* obj1
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "self",(char *) "text", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25385 arg2
= wxString_in_helper(obj1
);
25386 if (arg2
== NULL
) SWIG_fail
;
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 (arg1
)->SetText((wxString
const &)*arg2
);
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25396 Py_INCREF(Py_None
); resultobj
= Py_None
;
25411 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25414 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25416 return Py_BuildValue((char *)"");
25418 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25421 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25422 wxPyTextDataObject
*result
;
25423 bool temp1
= False
;
25424 PyObject
* obj0
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "text", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25432 arg1
= wxString_in_helper(obj0
);
25433 if (arg1
== NULL
) SWIG_fail
;
25438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25439 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25459 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
;
25461 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25462 PyObject
*arg2
= (PyObject
*) 0 ;
25463 PyObject
*arg3
= (PyObject
*) 0 ;
25464 PyObject
* obj0
= 0 ;
25465 PyObject
* obj1
= 0 ;
25466 PyObject
* obj2
= 0 ;
25467 char *kwnames
[] = {
25468 (char *) "self",(char *) "self",(char *) "_class", NULL
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25483 Py_INCREF(Py_None
); resultobj
= Py_None
;
25490 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25493 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25495 return Py_BuildValue((char *)"");
25497 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
;
25499 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25500 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25501 wxBitmapDataObject
*result
;
25502 PyObject
* obj0
= 0 ;
25503 char *kwnames
[] = {
25504 (char *) "bitmap", NULL
25507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25512 if (arg1
== NULL
) {
25513 PyErr_SetString(PyExc_TypeError
,"null reference");
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25531 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25532 PyObject
*resultobj
;
25533 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25535 PyObject
* obj0
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25551 wxBitmap
* resultptr
;
25552 resultptr
= new wxBitmap((wxBitmap
&) result
);
25553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25561 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25564 wxBitmap
*arg2
= 0 ;
25565 PyObject
* obj0
= 0 ;
25566 PyObject
* obj1
= 0 ;
25567 char *kwnames
[] = {
25568 (char *) "self",(char *) "bitmap", NULL
25571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25577 if (arg2
== NULL
) {
25578 PyErr_SetString(PyExc_TypeError
,"null reference");
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 Py_INCREF(Py_None
); resultobj
= Py_None
;
25595 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25598 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25600 return Py_BuildValue((char *)"");
25602 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
;
25604 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25605 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25606 wxPyBitmapDataObject
*result
;
25607 PyObject
* obj0
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "bitmap", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25617 if (arg1
== NULL
) {
25618 PyErr_SetString(PyExc_TypeError
,"null reference");
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25636 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25639 PyObject
*arg2
= (PyObject
*) 0 ;
25640 PyObject
*arg3
= (PyObject
*) 0 ;
25641 PyObject
* obj0
= 0 ;
25642 PyObject
* obj1
= 0 ;
25643 PyObject
* obj2
= 0 ;
25644 char *kwnames
[] = {
25645 (char *) "self",(char *) "self",(char *) "_class", NULL
25648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 Py_INCREF(Py_None
); resultobj
= Py_None
;
25667 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25670 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25672 return Py_BuildValue((char *)"");
25674 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxFileDataObject
*result
;
25677 char *kwnames
[] = {
25681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= (wxFileDataObject
*)new wxFileDataObject();
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25696 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25699 wxArrayString
*result
;
25700 PyObject
* obj0
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25712 result
= (wxArrayString
*) &_result_ref
;
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= wxArrayString2PyList_helper(*result
);
25727 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25730 wxString
*arg2
= 0 ;
25731 bool temp2
= False
;
25732 PyObject
* obj0
= 0 ;
25733 PyObject
* obj1
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self",(char *) "filename", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25742 arg2
= wxString_in_helper(obj1
);
25743 if (arg2
== NULL
) SWIG_fail
;
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 (arg1
)->AddFile((wxString
const &)*arg2
);
25750 wxPyEndAllowThreads(__tstate
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 Py_INCREF(Py_None
); resultobj
= Py_None
;
25768 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25771 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25773 return Py_BuildValue((char *)"");
25775 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
;
25777 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25778 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25779 wxCustomDataObject
*result
;
25780 PyObject
* obj0
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "format", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25790 if (arg1
== NULL
) {
25791 PyErr_SetString(PyExc_TypeError
,"null reference");
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25797 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25809 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25812 PyObject
*arg2
= (PyObject
*) 0 ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 char *kwnames
[] = {
25817 (char *) "self",(char *) "data", NULL
25820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25840 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25841 PyObject
*resultobj
;
25842 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25844 PyObject
* obj0
= 0 ;
25845 char *kwnames
[] = {
25846 (char *) "self", NULL
25849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 result
= (size_t)(arg1
)->GetSize();
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25866 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25870 PyObject
* obj0
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 resultobj
= result
;
25892 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25895 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25897 return Py_BuildValue((char *)"");
25899 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxURLDataObject
*result
;
25902 char *kwnames
[] = {
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 result
= (wxURLDataObject
*)new wxURLDataObject();
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25921 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 result
= (arg1
)->GetURL();
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25953 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25956 wxString
*arg2
= 0 ;
25957 bool temp2
= False
;
25958 PyObject
* obj0
= 0 ;
25959 PyObject
* obj1
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self",(char *) "url", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25968 arg2
= wxString_in_helper(obj1
);
25969 if (arg2
== NULL
) SWIG_fail
;
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 (arg1
)->SetURL((wxString
const &)*arg2
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 Py_INCREF(Py_None
); resultobj
= Py_None
;
25994 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
25996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25997 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25999 return Py_BuildValue((char *)"");
26001 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
;
26003 wxMetafileDataObject
*result
;
26004 char *kwnames
[] = {
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26023 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26026 wxMetafile
*arg2
= 0 ;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "self",(char *) "metafile", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
26034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
26037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26039 if (arg2
== NULL
) {
26040 PyErr_SetString(PyExc_TypeError
,"null reference");
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 Py_INCREF(Py_None
); resultobj
= Py_None
;
26057 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26061 PyObject
* obj0
= 0 ;
26062 char *kwnames
[] = {
26063 (char *) "self", NULL
26066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
26067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26077 wxMetafile
* resultptr
;
26078 resultptr
= new wxMetafile((wxMetafile
&) result
);
26079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
26087 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26090 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26092 return Py_BuildValue((char *)"");
26094 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
;
26098 PyObject
* obj0
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "res", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26104 arg1
= (int)SWIG_As_int(obj0
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26122 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
;
26124 wxWindow
*arg1
= (wxWindow
*) 0 ;
26125 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26126 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26127 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26128 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26129 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26130 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26131 wxPyDropSource
*result
;
26132 PyObject
* obj0
= 0 ;
26133 PyObject
* obj1
= 0 ;
26134 PyObject
* obj2
= 0 ;
26135 PyObject
* obj3
= 0 ;
26136 char *kwnames
[] = {
26137 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26147 if (arg2
== NULL
) {
26148 PyErr_SetString(PyExc_TypeError
,"null reference");
26153 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26156 if (arg3
== NULL
) {
26157 PyErr_SetString(PyExc_TypeError
,"null reference");
26162 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26165 if (arg4
== NULL
) {
26166 PyErr_SetString(PyExc_TypeError
,"null reference");
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26184 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26187 PyObject
*arg2
= (PyObject
*) 0 ;
26188 PyObject
*arg3
= (PyObject
*) 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 PyObject
* obj2
= 0 ;
26193 PyObject
* obj3
= 0 ;
26194 char *kwnames
[] = {
26195 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26203 arg4
= (int)SWIG_As_int(obj3
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 Py_INCREF(Py_None
); resultobj
= Py_None
;
26219 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
;
26221 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 Py_INCREF(Py_None
); resultobj
= Py_None
;
26244 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26247 wxDataObject
*arg2
= 0 ;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self",(char *) "data", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26260 if (arg2
== NULL
) {
26261 PyErr_SetString(PyExc_TypeError
,"null reference");
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 (arg1
)->SetData(*arg2
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 Py_INCREF(Py_None
); resultobj
= Py_None
;
26278 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26281 wxDataObject
*result
;
26282 PyObject
* obj0
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "self", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26304 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26308 wxCursor
*arg3
= 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 PyObject
* obj2
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self",(char *) "res",(char *) "cursor", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26319 arg2
= (int)SWIG_As_int(obj1
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26321 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26324 if (arg3
== NULL
) {
26325 PyErr_SetString(PyExc_TypeError
,"null reference");
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 Py_INCREF(Py_None
); resultobj
= Py_None
;
26342 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26345 int arg2
= (int) wxDrag_CopyOnly
;
26347 PyObject
* obj0
= 0 ;
26348 PyObject
* obj1
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self",(char *) "flags", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26357 arg2
= (int)SWIG_As_int(obj1
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (int)(arg1
)->DoDragDrop(arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_From_int((int)result
);
26374 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
;
26376 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self",(char *) "effect", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26388 arg2
= (int)SWIG_As_int(obj1
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26406 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26409 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26411 return Py_BuildValue((char *)"");
26413 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26416 wxPyDropTarget
*result
;
26417 PyObject
* obj0
= 0 ;
26418 char *kwnames
[] = {
26419 (char *) "dataObject", NULL
26422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26425 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26441 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
;
26443 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26444 PyObject
*arg2
= (PyObject
*) 0 ;
26445 PyObject
*arg3
= (PyObject
*) 0 ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 PyObject
* obj2
= 0 ;
26449 char *kwnames
[] = {
26450 (char *) "self",(char *) "self",(char *) "_class", NULL
26453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26460 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 Py_INCREF(Py_None
); resultobj
= Py_None
;
26472 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26475 PyObject
* obj0
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self", NULL
26480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26490 Py_INCREF(Py_None
); resultobj
= Py_None
;
26497 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26498 PyObject
*resultobj
;
26499 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26500 wxDataObject
*result
;
26501 PyObject
* obj0
= 0 ;
26502 char *kwnames
[] = {
26503 (char *) "self", NULL
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26523 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
;
26525 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26526 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26527 PyObject
* obj0
= 0 ;
26528 PyObject
* obj1
= 0 ;
26529 char *kwnames
[] = {
26530 (char *) "self",(char *) "dataObject", NULL
26533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26537 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 (arg1
)->SetDataObject(arg2
);
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 Py_INCREF(Py_None
); resultobj
= Py_None
;
26552 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
;
26554 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 PyObject
* obj2
= 0 ;
26562 PyObject
* obj3
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26570 arg2
= (int)SWIG_As_int(obj1
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26572 arg3
= (int)SWIG_As_int(obj2
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26574 arg4
= (int)SWIG_As_int(obj3
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 resultobj
= SWIG_From_int((int)result
);
26590 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26597 PyObject
* obj0
= 0 ;
26598 PyObject
* obj1
= 0 ;
26599 PyObject
* obj2
= 0 ;
26600 PyObject
* obj3
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26608 arg2
= (int)SWIG_As_int(obj1
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26610 arg3
= (int)SWIG_As_int(obj2
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26612 arg4
= (int)SWIG_As_int(obj3
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= SWIG_From_int((int)result
);
26628 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 (arg1
)->base_OnLeave();
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 Py_INCREF(Py_None
); resultobj
= Py_None
;
26653 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 PyObject
* obj2
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self",(char *) "x",(char *) "y", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26669 arg2
= (int)SWIG_As_int(obj1
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26671 arg3
= (int)SWIG_As_int(obj2
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26689 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26693 PyObject
* obj0
= 0 ;
26694 char *kwnames
[] = {
26695 (char *) "self", NULL
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",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 result
= (bool)(arg1
)->GetData();
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26717 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26720 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26722 return Py_BuildValue((char *)"");
26724 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26725 PyObject
*resultobj
;
26726 wxPyTextDropTarget
*result
;
26727 char *kwnames
[] = {
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26746 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
;
26748 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26749 PyObject
*arg2
= (PyObject
*) 0 ;
26750 PyObject
*arg3
= (PyObject
*) 0 ;
26751 PyObject
* obj0
= 0 ;
26752 PyObject
* obj1
= 0 ;
26753 PyObject
* obj2
= 0 ;
26754 char *kwnames
[] = {
26755 (char *) "self",(char *) "self",(char *) "_class", NULL
26758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26770 Py_INCREF(Py_None
); resultobj
= Py_None
;
26777 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
;
26779 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26784 PyObject
* obj0
= 0 ;
26785 PyObject
* obj1
= 0 ;
26786 PyObject
* obj2
= 0 ;
26787 PyObject
* obj3
= 0 ;
26788 char *kwnames
[] = {
26789 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26795 arg2
= (int)SWIG_As_int(obj1
);
26796 if (PyErr_Occurred()) SWIG_fail
;
26797 arg3
= (int)SWIG_As_int(obj2
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26799 arg4
= (int)SWIG_As_int(obj3
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26803 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= SWIG_From_int((int)result
);
26815 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26816 PyObject
*resultobj
;
26817 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 PyObject
* obj2
= 0 ;
26825 PyObject
* obj3
= 0 ;
26826 char *kwnames
[] = {
26827 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26833 arg2
= (int)SWIG_As_int(obj1
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26835 arg3
= (int)SWIG_As_int(obj2
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26837 arg4
= (int)SWIG_As_int(obj3
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= SWIG_From_int((int)result
);
26853 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
;
26855 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26856 PyObject
* obj0
= 0 ;
26857 char *kwnames
[] = {
26858 (char *) "self", NULL
26861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 (arg1
)->base_OnLeave();
26868 wxPyEndAllowThreads(__tstate
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26871 Py_INCREF(Py_None
); resultobj
= Py_None
;
26878 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
;
26880 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 PyObject
* obj2
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self",(char *) "x",(char *) "y", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26894 arg2
= (int)SWIG_As_int(obj1
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26896 arg3
= (int)SWIG_As_int(obj2
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26900 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26914 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26921 PyObject
* obj0
= 0 ;
26922 PyObject
* obj1
= 0 ;
26923 PyObject
* obj2
= 0 ;
26924 PyObject
* obj3
= 0 ;
26925 char *kwnames
[] = {
26926 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26932 arg2
= (int)SWIG_As_int(obj1
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26934 arg3
= (int)SWIG_As_int(obj2
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26936 arg4
= (int)SWIG_As_int(obj3
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26945 resultobj
= SWIG_From_int((int)result
);
26952 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26955 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26957 return Py_BuildValue((char *)"");
26959 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
;
26961 wxPyFileDropTarget
*result
;
26962 char *kwnames
[] = {
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26981 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26984 PyObject
*arg2
= (PyObject
*) 0 ;
26985 PyObject
*arg3
= (PyObject
*) 0 ;
26986 PyObject
* obj0
= 0 ;
26987 PyObject
* obj1
= 0 ;
26988 PyObject
* obj2
= 0 ;
26989 char *kwnames
[] = {
26990 (char *) "self",(char *) "self",(char *) "_class", NULL
26993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27005 Py_INCREF(Py_None
); resultobj
= Py_None
;
27012 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
;
27014 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27019 PyObject
* obj0
= 0 ;
27020 PyObject
* obj1
= 0 ;
27021 PyObject
* obj2
= 0 ;
27022 PyObject
* obj3
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27030 arg2
= (int)SWIG_As_int(obj1
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27032 arg3
= (int)SWIG_As_int(obj2
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27034 arg4
= (int)SWIG_As_int(obj3
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= SWIG_From_int((int)result
);
27050 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 PyObject
* obj2
= 0 ;
27060 PyObject
* obj3
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27068 arg2
= (int)SWIG_As_int(obj1
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27070 arg3
= (int)SWIG_As_int(obj2
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27072 arg4
= (int)SWIG_As_int(obj3
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27078 wxPyEndAllowThreads(__tstate
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27081 resultobj
= SWIG_From_int((int)result
);
27088 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
;
27090 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27091 PyObject
* obj0
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self", NULL
27096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 (arg1
)->base_OnLeave();
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27106 Py_INCREF(Py_None
); resultobj
= Py_None
;
27113 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27119 PyObject
* obj0
= 0 ;
27120 PyObject
* obj1
= 0 ;
27121 PyObject
* obj2
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self",(char *) "x",(char *) "y", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27129 arg2
= (int)SWIG_As_int(obj1
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27131 arg3
= (int)SWIG_As_int(obj2
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27149 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27150 PyObject
*resultobj
;
27151 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 PyObject
* obj2
= 0 ;
27159 PyObject
* obj3
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27167 arg2
= (int)SWIG_As_int(obj1
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27169 arg3
= (int)SWIG_As_int(obj2
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27171 arg4
= (int)SWIG_As_int(obj3
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= SWIG_From_int((int)result
);
27187 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27190 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27192 return Py_BuildValue((char *)"");
27194 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
;
27196 wxClipboard
*result
;
27197 char *kwnames
[] = {
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 result
= (wxClipboard
*)new wxClipboard();
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27216 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27219 PyObject
* obj0
= 0 ;
27220 char *kwnames
[] = {
27221 (char *) "self", NULL
27224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 Py_INCREF(Py_None
); resultobj
= Py_None
;
27241 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
;
27243 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "self", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 result
= (bool)(arg1
)->Open();
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27269 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
;
27271 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27272 PyObject
* obj0
= 0 ;
27273 char *kwnames
[] = {
27274 (char *) "self", NULL
27277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 Py_INCREF(Py_None
); resultobj
= Py_None
;
27294 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27298 PyObject
* obj0
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27322 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27325 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27327 PyObject
* obj0
= 0 ;
27328 PyObject
* obj1
= 0 ;
27329 char *kwnames
[] = {
27330 (char *) "self",(char *) "data", NULL
27333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27337 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 result
= (bool)(arg1
)->AddData(arg2
);
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27354 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
;
27356 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27357 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27359 PyObject
* obj0
= 0 ;
27360 PyObject
* obj1
= 0 ;
27361 char *kwnames
[] = {
27362 (char *) "self",(char *) "data", NULL
27365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27369 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 result
= (bool)(arg1
)->SetData(arg2
);
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27386 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
;
27388 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27389 wxDataFormat
*arg2
= 0 ;
27391 PyObject
* obj0
= 0 ;
27392 PyObject
* obj1
= 0 ;
27393 char *kwnames
[] = {
27394 (char *) "self",(char *) "format", NULL
27397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27403 if (arg2
== NULL
) {
27404 PyErr_SetString(PyExc_TypeError
,"null reference");
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27423 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27426 wxDataObject
*arg2
= 0 ;
27428 PyObject
* obj0
= 0 ;
27429 PyObject
* obj1
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "self",(char *) "data", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27440 if (arg2
== NULL
) {
27441 PyErr_SetString(PyExc_TypeError
,"null reference");
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= (bool)(arg1
)->GetData(*arg2
);
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27460 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27463 PyObject
* obj0
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 Py_INCREF(Py_None
); resultobj
= Py_None
;
27485 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27489 PyObject
* obj0
= 0 ;
27490 char *kwnames
[] = {
27491 (char *) "self", NULL
27494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (bool)(arg1
)->Flush();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27513 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27516 bool arg2
= (bool) True
;
27517 PyObject
* obj0
= 0 ;
27518 PyObject
* obj1
= 0 ;
27519 char *kwnames
[] = {
27520 (char *) "self",(char *) "primary", NULL
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27527 arg2
= (bool)SWIG_As_bool(obj1
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 (arg1
)->UsePrimarySelection(arg2
);
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 Py_INCREF(Py_None
); resultobj
= Py_None
;
27544 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
;
27546 wxClipboard
*result
;
27547 char *kwnames
[] = {
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 result
= (wxClipboard
*)wxClipboard::Get();
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27566 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27569 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27571 return Py_BuildValue((char *)"");
27573 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27576 wxClipboardLocker
*result
;
27577 PyObject
* obj0
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "clipboard", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27601 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
;
27603 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27604 PyObject
* obj0
= 0 ;
27605 char *kwnames
[] = {
27606 (char *) "self", NULL
27609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 Py_INCREF(Py_None
); resultobj
= Py_None
;
27626 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27630 PyObject
* obj0
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "self", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27654 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27657 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27659 return Py_BuildValue((char *)"");
27661 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27662 PyObject
*resultobj
;
27663 int arg1
= (int) 0 ;
27664 int arg2
= (int) 0 ;
27665 int arg3
= (int) 0 ;
27666 int arg4
= (int) 0 ;
27667 wxVideoMode
*result
;
27668 PyObject
* obj0
= 0 ;
27669 PyObject
* obj1
= 0 ;
27670 PyObject
* obj2
= 0 ;
27671 PyObject
* obj3
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27678 arg1
= (int)SWIG_As_int(obj0
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27682 arg2
= (int)SWIG_As_int(obj1
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27686 arg3
= (int)SWIG_As_int(obj2
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27690 arg4
= (int)SWIG_As_int(obj3
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27707 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
;
27709 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27710 PyObject
* obj0
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "self", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 wxPyEndAllowThreads(__tstate
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27725 Py_INCREF(Py_None
); resultobj
= Py_None
;
27732 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27733 PyObject
*resultobj
;
27734 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27735 wxVideoMode
*arg2
= 0 ;
27737 PyObject
* obj0
= 0 ;
27738 PyObject
* obj1
= 0 ;
27739 char *kwnames
[] = {
27740 (char *) "self",(char *) "other", NULL
27743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27749 if (arg2
== NULL
) {
27750 PyErr_SetString(PyExc_TypeError
,"null reference");
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27769 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27773 PyObject
* obj0
= 0 ;
27774 char *kwnames
[] = {
27775 (char *) "self", NULL
27778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= SWIG_From_int((int)result
);
27795 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
;
27797 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27799 PyObject
* obj0
= 0 ;
27800 char *kwnames
[] = {
27801 (char *) "self", NULL
27804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27809 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 resultobj
= SWIG_From_int((int)result
);
27821 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27825 PyObject
* obj0
= 0 ;
27826 char *kwnames
[] = {
27827 (char *) "self", NULL
27830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= SWIG_From_int((int)result
);
27847 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27851 PyObject
* obj0
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27875 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
;
27877 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27878 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27880 PyObject
* obj0
= 0 ;
27881 PyObject
* obj1
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self",(char *) "other", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27893 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27895 wxPyEndAllowThreads(__tstate
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27907 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
;
27909 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27910 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27912 PyObject
* obj0
= 0 ;
27913 PyObject
* obj1
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self",(char *) "other", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27939 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27943 PyObject
* obj0
= 0 ;
27944 PyObject
* obj1
= 0 ;
27945 char *kwnames
[] = {
27946 (char *) "self",(char *) "w", NULL
27949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27952 arg2
= (int)SWIG_As_int(obj1
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27954 if (arg1
) (arg1
)->w
= arg2
;
27956 Py_INCREF(Py_None
); resultobj
= Py_None
;
27963 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
;
27965 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27967 PyObject
* obj0
= 0 ;
27968 char *kwnames
[] = {
27969 (char *) "self", NULL
27972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27975 result
= (int) ((arg1
)->w
);
27977 resultobj
= SWIG_From_int((int)result
);
27984 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27988 PyObject
* obj0
= 0 ;
27989 PyObject
* obj1
= 0 ;
27990 char *kwnames
[] = {
27991 (char *) "self",(char *) "h", NULL
27994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27997 arg2
= (int)SWIG_As_int(obj1
);
27998 if (PyErr_Occurred()) SWIG_fail
;
27999 if (arg1
) (arg1
)->h
= arg2
;
28001 Py_INCREF(Py_None
); resultobj
= Py_None
;
28008 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28009 PyObject
*resultobj
;
28010 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28012 PyObject
* obj0
= 0 ;
28013 char *kwnames
[] = {
28014 (char *) "self", NULL
28017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28020 result
= (int) ((arg1
)->h
);
28022 resultobj
= SWIG_From_int((int)result
);
28029 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28030 PyObject
*resultobj
;
28031 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 char *kwnames
[] = {
28036 (char *) "self",(char *) "bpp", NULL
28039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28042 arg2
= (int)SWIG_As_int(obj1
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28044 if (arg1
) (arg1
)->bpp
= arg2
;
28046 Py_INCREF(Py_None
); resultobj
= Py_None
;
28053 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28065 result
= (int) ((arg1
)->bpp
);
28067 resultobj
= SWIG_From_int((int)result
);
28074 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
;
28076 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28078 PyObject
* obj0
= 0 ;
28079 PyObject
* obj1
= 0 ;
28080 char *kwnames
[] = {
28081 (char *) "self",(char *) "refresh", NULL
28084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28087 arg2
= (int)SWIG_As_int(obj1
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28089 if (arg1
) (arg1
)->refresh
= arg2
;
28091 Py_INCREF(Py_None
); resultobj
= Py_None
;
28098 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "self", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28110 result
= (int) ((arg1
)->refresh
);
28112 resultobj
= SWIG_From_int((int)result
);
28119 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28122 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28124 return Py_BuildValue((char *)"");
28126 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28127 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28132 static PyObject
*_wrap_DefaultVideoMode_get() {
28135 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28140 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 size_t arg1
= (size_t) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 char *kwnames
[] = {
28146 (char *) "index", NULL
28149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28151 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 result
= (wxDisplay
*)new wxDisplay(arg1
);
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28168 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
;
28170 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28171 PyObject
* obj0
= 0 ;
28172 char *kwnames
[] = {
28173 (char *) "self", NULL
28176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28186 Py_INCREF(Py_None
); resultobj
= Py_None
;
28193 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
;
28196 char *kwnames
[] = {
28200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 result
= (size_t)wxDisplay::GetCount();
28205 wxPyEndAllowThreads(__tstate
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28215 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxPoint
*arg1
= 0 ;
28220 PyObject
* obj0
= 0 ;
28221 char *kwnames
[] = {
28222 (char *) "pt", NULL
28225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28228 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28232 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28237 resultobj
= SWIG_From_int((int)result
);
28244 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28245 PyObject
*resultobj
;
28246 wxWindow
*arg1
= (wxWindow
*) 0 ;
28248 PyObject
* obj0
= 0 ;
28249 char *kwnames
[] = {
28250 (char *) "window", NULL
28253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28258 result
= (int)Display_GetFromWindow(arg1
);
28260 wxPyEndAllowThreads(__tstate
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28263 resultobj
= SWIG_From_int((int)result
);
28270 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28271 PyObject
*resultobj
;
28272 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28274 PyObject
* obj0
= 0 ;
28275 char *kwnames
[] = {
28276 (char *) "self", NULL
28279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28298 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28302 PyObject
* obj0
= 0 ;
28303 char *kwnames
[] = {
28304 (char *) "self", NULL
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28318 wxRect
* resultptr
;
28319 resultptr
= new wxRect((wxRect
&) result
);
28320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28328 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28329 PyObject
*resultobj
;
28330 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 result
= ((wxDisplay
const *)arg1
)->GetName();
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28360 static PyObject
*_wrap_Display_IsPrimary(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_IsPrimary",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
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28388 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
;
28390 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28391 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28392 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28394 PyObject
* obj0
= 0 ;
28395 PyObject
* obj1
= 0 ;
28396 char *kwnames
[] = {
28397 (char *) "self",(char *) "mode", NULL
28400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28407 if (arg2
== NULL
) {
28408 PyErr_SetString(PyExc_TypeError
,"null reference");
28413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28414 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= result
;
28426 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
;
28428 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28429 wxVideoMode result
;
28430 PyObject
* obj0
= 0 ;
28431 char *kwnames
[] = {
28432 (char *) "self", NULL
28435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28440 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28446 wxVideoMode
* resultptr
;
28447 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28456 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
;
28458 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28459 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28460 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28462 PyObject
* obj0
= 0 ;
28463 PyObject
* obj1
= 0 ;
28464 char *kwnames
[] = {
28465 (char *) "self",(char *) "mode", NULL
28468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28475 if (arg2
== NULL
) {
28476 PyErr_SetString(PyExc_TypeError
,"null reference");
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28496 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28499 PyObject
* obj0
= 0 ;
28500 char *kwnames
[] = {
28501 (char *) "self", NULL
28504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 (arg1
)->ResetMode();
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 Py_INCREF(Py_None
); resultobj
= Py_None
;
28521 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28524 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28526 return Py_BuildValue((char *)"");
28528 static PyMethodDef SwigMethods
[] = {
28529 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28530 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28531 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28532 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28533 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28534 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28535 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
28536 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28537 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28538 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28539 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28540 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28541 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28542 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
28543 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28544 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28545 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28546 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28547 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28548 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28549 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28550 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28551 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28552 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28553 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28554 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28555 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28556 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28557 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28558 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28559 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28560 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28561 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28562 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28563 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28564 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28565 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28566 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28567 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28568 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28569 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28570 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28571 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28572 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28573 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28574 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28575 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28576 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28577 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28578 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28579 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28580 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28581 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28582 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28583 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28584 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28585 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28586 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28587 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28588 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28589 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28590 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28591 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28592 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28593 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28594 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28595 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28596 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28597 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28598 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28599 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28600 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28601 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28602 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28603 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28604 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28605 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28606 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
28607 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28608 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28609 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28610 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28611 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28612 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28613 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28614 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
28615 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28616 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28617 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28618 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28619 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28620 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28621 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28622 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28623 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28624 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28625 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28626 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28627 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28628 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28629 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28630 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
28631 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28632 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28633 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28634 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28635 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
28636 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28637 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28638 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
28639 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28640 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28641 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
28642 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28643 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28644 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28645 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28646 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28647 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
28648 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28649 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28650 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28651 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28652 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28653 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28654 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28655 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28656 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28657 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28658 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28659 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28660 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28661 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
28662 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28663 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28664 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28665 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28666 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28667 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
28668 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28669 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28670 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28671 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28672 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28673 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
28674 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28675 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28676 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
28677 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28678 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28679 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28680 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28681 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28682 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28683 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28684 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28685 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28686 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28687 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28688 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28689 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28690 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
28691 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28692 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28693 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
28694 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
28695 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28696 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28697 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
28698 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28699 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28700 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28701 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28702 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28703 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28704 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28705 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28706 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28707 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28708 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28709 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28710 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28711 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28712 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28713 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28714 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28715 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28716 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28717 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28718 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28719 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28720 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28721 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28722 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28723 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28724 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
28725 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28726 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
28727 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28728 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
28729 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28730 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
28731 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28732 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28733 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28734 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28735 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28736 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28737 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
28738 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28739 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28740 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28741 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28742 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28743 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
28744 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28745 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28746 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28747 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28748 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28749 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28750 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28751 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28752 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28753 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28754 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28755 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28756 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
28757 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28758 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28759 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28760 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28761 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
28762 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28763 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28764 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
28765 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28766 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28767 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28768 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28769 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28770 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28771 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28772 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28773 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28774 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28775 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28776 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28777 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28778 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28779 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28780 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28781 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
28782 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28783 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28784 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28785 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28786 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28787 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28788 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28789 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
28790 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28791 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28792 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28793 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28794 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28795 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28796 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28797 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28798 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28799 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28800 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28801 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28802 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28803 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28804 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28805 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28806 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28807 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28808 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28809 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28810 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28811 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28812 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28813 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28814 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28815 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28816 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28817 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28818 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28819 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28820 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28821 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28822 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28823 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28824 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28825 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28826 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28827 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28828 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28829 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28830 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28831 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28832 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28833 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28834 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28835 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
28836 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28837 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28838 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28839 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28840 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28841 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28842 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28843 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28844 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28845 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28846 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28847 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28848 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28849 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28850 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28851 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28852 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28853 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28854 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28855 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28856 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28857 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28858 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28859 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28860 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28861 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28862 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28863 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
28864 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28865 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28866 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28867 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28868 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28869 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28870 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28871 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28872 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28873 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
28874 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28875 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28876 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28877 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28878 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28879 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28880 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28881 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28882 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28883 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28884 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28885 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28886 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28887 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28888 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28889 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
28890 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28891 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28892 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28893 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28894 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28895 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28896 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28897 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28898 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28899 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28900 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28901 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28902 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28903 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28904 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28905 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
28906 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28907 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28908 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28909 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28910 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28911 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28912 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28913 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28914 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28915 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28916 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28917 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28918 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28919 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
28920 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28921 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28922 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28923 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28924 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28925 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28926 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28927 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28928 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
28929 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28930 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28931 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28932 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28933 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28934 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28935 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28936 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28937 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28938 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28939 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28940 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28941 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28942 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28943 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28944 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28945 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28946 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28947 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28948 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28949 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28950 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28951 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28952 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28953 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28954 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28955 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28956 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28957 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28958 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28959 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28960 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28961 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28962 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28963 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28964 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28965 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28966 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28967 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28968 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28969 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28970 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28971 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
28972 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28973 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28974 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
28975 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28976 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28977 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
28978 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28979 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28980 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28981 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
28982 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28983 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28984 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28985 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28986 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28987 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28988 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28989 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28990 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28991 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28992 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28993 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28994 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28995 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28996 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28997 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28998 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28999 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29000 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29001 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29002 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29003 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29004 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29005 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29006 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29007 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29008 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29009 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29010 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29011 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29012 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29013 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29014 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29015 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29016 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29017 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29018 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29019 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29020 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29021 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29022 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29023 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29024 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29025 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29026 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29027 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29028 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29029 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29030 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29031 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29032 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29033 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29034 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29035 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29036 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29037 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29038 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29039 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29040 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29041 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29042 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29043 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29044 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29045 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29046 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29047 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29048 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29049 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29050 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29051 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29052 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29053 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29054 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29055 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29056 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29057 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29058 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29059 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29060 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29061 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29062 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29063 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29064 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29065 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29066 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29067 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29068 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29069 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29070 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29071 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29072 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29073 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29074 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29075 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29076 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29077 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29078 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29079 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29080 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29081 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29082 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29083 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29084 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29085 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29086 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29087 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29088 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29089 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29090 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29091 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29092 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29093 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29094 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29095 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29096 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29097 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29098 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29099 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29100 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29101 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29102 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29103 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29104 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29105 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29106 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29107 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29108 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29109 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29110 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29111 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29112 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29113 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29114 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29115 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29116 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29117 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29118 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29119 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29120 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29121 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29122 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29123 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29124 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29125 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29126 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29127 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29128 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29129 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29133 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29136 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29138 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29139 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29141 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29145 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29159 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29162 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29166 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29169 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29173 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29174 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29176 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29177 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29181 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29182 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29187 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29196 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29203 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29206 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29209 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29214 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29217 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29221 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29224 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29228 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29233 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29235 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29237 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29241 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29251 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29255 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29257 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29262 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29269 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29270 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29272 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29278 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29284 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29287 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29288 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29289 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29290 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29291 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29292 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29296 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29303 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29314 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29318 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29320 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29322 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29324 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29328 { NULL
, NULL
, 0, NULL
}
29332 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29334 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29335 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29337 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29338 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29340 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29341 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29343 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29344 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29346 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29347 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29349 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29350 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29352 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29353 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29355 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29356 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29358 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29359 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29361 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29362 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29364 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29365 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29367 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29368 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29370 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29371 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29373 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29374 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29376 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29377 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29379 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29380 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29382 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29383 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29385 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29386 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29388 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29389 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29391 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29392 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29394 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29395 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29397 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29398 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29400 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29401 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29403 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29404 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29406 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29407 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29409 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29410 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29412 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29413 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29415 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29416 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29418 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29419 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29421 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29422 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29424 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29425 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29427 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29428 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29430 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29431 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29433 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29434 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29436 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29437 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29439 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29440 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29442 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29443 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29445 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29446 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29448 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29449 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29451 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29452 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29454 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29455 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29457 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29458 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29460 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29461 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29463 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29464 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29466 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29467 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29469 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29470 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29472 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29473 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29475 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29476 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29478 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29479 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29481 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29482 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29484 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29485 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29487 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29488 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29490 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29491 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29493 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29494 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29496 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29497 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29499 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29500 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29502 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29503 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29505 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29506 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29508 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29509 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29511 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29512 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29514 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29515 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29517 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29518 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29520 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29521 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29523 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29524 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29526 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29529 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29530 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29532 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29533 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29535 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29536 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29538 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29539 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29541 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29542 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29544 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29545 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29547 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29548 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29550 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29551 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29553 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29554 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29556 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29557 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29559 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29560 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29562 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29565 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29566 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29568 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29569 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29571 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29572 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29574 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29575 return (void *)((wxObject
*) ((wxSizer
*) x
));
29577 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29578 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29580 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29581 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29583 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29584 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29586 static void *_p_wxEventTo_p_wxObject(void *x
) {
29587 return (void *)((wxObject
*) ((wxEvent
*) x
));
29589 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29590 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29592 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29593 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29595 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29596 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29598 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29599 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29601 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29602 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29604 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29605 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29607 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29608 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29610 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29611 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29613 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29614 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29616 static void *_p_wxControlTo_p_wxObject(void *x
) {
29617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29619 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29620 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29622 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29623 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29625 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29626 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29628 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29629 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29631 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29632 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29634 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29635 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29637 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29640 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29641 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29643 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29644 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29646 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29647 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29649 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29650 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29652 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29655 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29656 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29658 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29659 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29661 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29662 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29664 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29665 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29667 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29668 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29670 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29671 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29673 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29674 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29676 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29679 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29680 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29682 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29683 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29685 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29686 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29688 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29689 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29691 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29692 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29694 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29695 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29697 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29698 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29700 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29701 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29703 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29704 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29706 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29709 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29710 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29712 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29713 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29715 static void *_p_wxImageTo_p_wxObject(void *x
) {
29716 return (void *)((wxObject
*) ((wxImage
*) x
));
29718 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29719 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29721 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29722 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29724 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29725 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29727 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29730 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29731 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29733 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29734 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29736 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29737 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29739 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29740 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29742 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29745 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29746 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29748 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29749 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29751 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29754 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29755 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29757 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29758 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29760 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29761 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29763 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29764 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29766 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29767 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29769 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29770 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29772 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29775 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29776 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29778 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29779 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29781 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29782 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29784 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29785 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29787 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29788 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29790 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29793 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29796 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29797 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29799 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29800 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29802 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29803 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29805 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29806 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29808 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29809 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29811 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29812 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29814 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29815 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29817 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29818 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29820 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29821 return (void *)((wxWindow
*) ((wxControl
*) x
));
29823 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29824 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29826 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29827 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29829 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29830 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29832 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29833 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29835 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}};
29836 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}};
29837 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}};
29838 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}};
29839 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}};
29840 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}};
29841 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}};
29842 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}};
29843 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}};
29844 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}};
29845 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}};
29846 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}};
29847 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}};
29848 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}};
29849 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}};
29850 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}};
29851 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}};
29852 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}};
29853 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}};
29854 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}};
29855 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}};
29856 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}};
29857 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}};
29858 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}};
29859 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}};
29860 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}};
29861 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}};
29862 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}};
29863 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}};
29864 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}};
29865 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}};
29866 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}};
29867 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}};
29868 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}};
29869 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}};
29870 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}};
29871 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}};
29872 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}};
29873 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}};
29874 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}};
29875 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}};
29876 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}};
29877 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}};
29878 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}};
29879 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}};
29880 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}};
29881 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}};
29882 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}};
29883 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}};
29884 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}};
29885 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}};
29886 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}};
29887 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}};
29888 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}};
29889 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}};
29890 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}};
29891 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}};
29892 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}};
29893 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}};
29894 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}};
29895 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}};
29896 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}};
29897 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}};
29898 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}};
29899 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}};
29900 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}};
29901 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}};
29902 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}};
29903 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}};
29904 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}};
29905 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}};
29906 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}};
29907 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}};
29908 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}};
29909 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}};
29910 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}};
29911 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}};
29912 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}};
29913 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}};
29914 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}};
29915 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}};
29916 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}};
29917 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}};
29918 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}};
29919 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}};
29920 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}};
29922 static swig_type_info
*swig_types_initial
[] = {
29923 _swigt__p_wxLogChain
,
29924 _swigt__p_wxMutexGuiLocker
,
29925 _swigt__p_wxMetafile
,
29926 _swigt__p_wxFileHistory
,
29928 _swigt__p_wxDateTime__TimeZone
,
29931 _swigt__p_wxConfigBase
,
29932 _swigt__p_wxDisplay
,
29933 _swigt__p_wxFileType
,
29934 _swigt__p_wxLogGui
,
29936 _swigt__p_wxDataFormat
,
29937 _swigt__p_wxTimerEvent
,
29941 _swigt__p_wxClipboard
,
29942 _swigt__p_wxStopWatch
,
29944 _swigt__p_wxClipboardLocker
,
29946 _swigt__p_wxLogStderr
,
29947 _swigt__p_wxLogTextCtrl
,
29948 _swigt__p_wxTextCtrl
,
29949 _swigt__p_wxBusyCursor
,
29950 _swigt__p_wxPyBitmapDataObject
,
29951 _swigt__p_wxPyTextDataObject
,
29952 _swigt__p_wxBitmapDataObject
,
29953 _swigt__p_wxTextDataObject
,
29954 _swigt__p_wxDataObject
,
29955 _swigt__p_wxFileDataObject
,
29956 _swigt__p_wxCustomDataObject
,
29957 _swigt__p_wxURLDataObject
,
29958 _swigt__p_wxMetafileDataObject
,
29960 _swigt__p_wxTimerRunner
,
29961 _swigt__p_wxLogWindow
,
29962 _swigt__p_wxTimeSpan
,
29963 _swigt__p_wxArrayString
,
29964 _swigt__p_wxWindowDisabler
,
29965 _swigt__p_wxToolTip
,
29966 _swigt__p_wxDataObjectComposite
,
29967 _swigt__p_wxFileConfig
,
29968 _swigt__p_wxSystemSettings
,
29969 _swigt__p_wxVideoMode
,
29970 _swigt__p_wxPyDataObjectSimple
,
29971 _swigt__p_wxDataObjectSimple
,
29972 _swigt__p_wxEvtHandler
,
29975 _swigt__p_wxSingleInstanceChecker
,
29976 _swigt__p_wxFileTypeInfo
,
29979 _swigt__p_wxMimeTypesManager
,
29980 _swigt__p_wxPyArtProvider
,
29981 _swigt__p_wxPyTipProvider
,
29982 _swigt__p_wxTipProvider
,
29983 _swigt__p_wxJoystick
,
29984 _swigt__p_wxSystemOptions
,
29986 _swigt__p_wxJoystickEvent
,
29987 _swigt__p_wxCursor
,
29988 _swigt__p_wxObject
,
29989 _swigt__p_wxOutputStream
,
29990 _swigt__p_wxDateTime
,
29991 _swigt__p_wxPyDropSource
,
29992 _swigt__p_wxWindow
,
29993 _swigt__p_wxString
,
29994 _swigt__p_wxPyProcess
,
29995 _swigt__p_wxBitmap
,
29996 _swigt__p_wxConfig
,
29998 _swigt__p_wxBusyInfo
,
29999 _swigt__p_wxPyDropTarget
,
30000 _swigt__p_wxPyTextDropTarget
,
30001 _swigt__p_wxPyFileDropTarget
,
30002 _swigt__p_wxProcessEvent
,
30004 _swigt__p_wxLogNull
,
30005 _swigt__p_wxColour
,
30006 _swigt__p_wxConfigPathChanger
,
30007 _swigt__p_wxPyTimer
,
30008 _swigt__p_wxDateSpan
,
30013 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30015 static swig_const_info swig_const_table
[] = {
30016 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30017 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30018 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30019 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30020 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30021 {0, 0, 0, 0.0, 0, 0}};
30030 SWIGEXPORT(void) SWIG_init(void) {
30031 static PyObject
*SWIG_globals
= 0;
30032 static int typeinit
= 0;
30035 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30036 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30037 d
= PyModule_GetDict(m
);
30040 for (i
= 0; swig_types_initial
[i
]; i
++) {
30041 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30045 SWIG_InstallConstants(d
,swig_const_table
);
30047 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30048 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30049 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30050 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30051 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30052 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30053 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30054 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30055 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30056 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30057 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30058 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30059 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30060 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30061 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30062 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30063 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30064 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30065 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30066 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30067 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30068 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30069 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30070 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30071 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30072 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30073 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30074 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30075 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30076 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30077 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30078 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30079 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30080 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30081 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30082 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30083 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30084 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30085 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30086 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30087 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30088 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30089 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30090 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30091 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30092 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30093 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30094 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30095 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30096 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30097 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30098 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30099 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30100 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30101 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30102 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30103 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30104 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30105 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30106 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30107 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30108 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30109 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30110 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30111 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30112 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30113 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30114 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30115 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30116 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30117 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30118 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30119 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30120 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30121 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30122 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30123 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30124 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30125 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30126 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30127 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30128 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30129 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30130 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30131 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30132 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30133 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30134 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30135 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30136 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30137 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30138 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30139 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30140 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30141 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30142 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30143 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30144 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30145 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30146 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30148 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30150 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30151 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30152 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30153 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30154 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30155 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30156 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30157 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30158 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30159 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30160 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30161 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30162 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30163 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30164 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30165 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30166 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30167 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30168 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30169 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30170 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30171 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30172 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30173 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30174 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30175 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30176 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30177 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30178 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30179 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30180 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30181 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30182 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30183 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30184 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30185 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30186 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30187 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30188 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30189 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30190 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30191 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30192 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30193 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30194 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30195 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30196 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30197 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30198 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30199 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30201 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30203 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30204 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30205 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30206 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30207 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30208 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30209 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30210 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30211 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30212 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30213 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30214 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30215 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30216 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30217 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30218 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30219 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30220 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30221 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30222 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30223 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30224 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30225 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30226 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30227 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30228 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30229 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30230 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30231 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30232 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30233 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30234 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30235 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30236 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30237 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30238 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30239 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30240 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30241 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30242 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30243 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30244 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30245 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30246 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30247 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30248 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30249 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30250 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30251 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30252 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30253 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30254 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30255 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30256 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30257 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30258 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30259 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30260 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30261 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30263 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30265 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30266 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30267 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30268 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30269 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30270 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30271 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30272 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30273 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30274 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30275 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30276 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30277 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30278 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30279 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30280 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30281 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30282 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30283 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30284 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30285 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30286 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30287 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30288 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30289 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30290 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30291 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30292 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30293 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30294 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30295 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30296 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30297 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30298 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30299 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30300 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30301 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30302 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30303 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30304 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30305 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30306 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30307 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30308 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30309 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30310 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30311 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30312 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30313 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30314 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30315 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30316 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30317 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30318 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30319 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30320 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30321 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30322 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30323 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30324 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30325 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30326 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30327 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30328 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30329 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30330 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30331 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30332 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30333 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30334 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30335 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30336 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30337 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30338 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30339 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30340 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30341 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30342 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30343 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30344 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30345 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30346 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30347 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30348 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30349 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30350 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30351 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30352 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30353 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30354 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30355 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30356 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30357 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30358 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30359 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30360 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30361 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30362 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30363 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30364 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30365 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30366 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30367 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30368 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30369 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30370 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30371 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30372 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30373 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30374 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30375 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30376 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30377 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
30378 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
30379 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
30380 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
30381 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
30382 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
30383 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
30384 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
30385 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
30386 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
30387 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
30388 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
30389 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
30390 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
30391 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
30392 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
30393 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
30394 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
30395 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
30396 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
30397 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
30398 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
30399 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
30400 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
30401 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
30402 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
30403 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
30404 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
30405 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
30406 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
30407 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
30408 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
30409 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
30410 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
30411 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
30412 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
30413 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
30414 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
30415 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
30416 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
30417 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
30418 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
30419 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
30420 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
30421 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
30422 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
30423 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
30424 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
30425 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
30426 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
30427 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
30428 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
30429 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
30430 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
30431 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30432 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
30433 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
30434 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
30435 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
30436 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
30437 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
30438 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
30439 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
30440 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
30441 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
30442 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
30443 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
30444 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
30445 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
30446 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
30447 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
30448 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
30449 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
30450 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
30451 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
30452 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30453 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
30454 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
30455 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
30456 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
30457 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
30458 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
30459 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
30460 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
30461 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
30462 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
30463 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
30464 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
30466 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30467 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30468 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30469 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30471 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);