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_wxPyTextDataObject swig_types[27]
239 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
240 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
241 #define SWIGTYPE_p_wxDataObject swig_types[30]
242 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
243 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
244 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
245 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
246 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
247 #define SWIGTYPE_p_wxSound swig_types[36]
248 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
249 #define SWIGTYPE_p_wxLogWindow swig_types[38]
250 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
251 #define SWIGTYPE_p_wxArrayString swig_types[40]
252 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
253 #define SWIGTYPE_p_wxToolTip swig_types[42]
254 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
255 #define SWIGTYPE_p_wxFileConfig swig_types[44]
256 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
257 #define SWIGTYPE_p_wxVideoMode swig_types[46]
258 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
259 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
260 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
261 #define SWIGTYPE_p_wxRect swig_types[50]
262 #define SWIGTYPE_p_char swig_types[51]
263 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
264 #define SWIGTYPE_p_wxStandardPaths swig_types[53]
265 #define SWIGTYPE_p_wxFileTypeInfo swig_types[54]
266 #define SWIGTYPE_p_wxFrame swig_types[55]
267 #define SWIGTYPE_p_wxTimer swig_types[56]
268 #define SWIGTYPE_p_wxMimeTypesManager swig_types[57]
269 #define SWIGTYPE_p_wxPyArtProvider swig_types[58]
270 #define SWIGTYPE_p_wxPyTipProvider swig_types[59]
271 #define SWIGTYPE_p_wxTipProvider swig_types[60]
272 #define SWIGTYPE_p_wxJoystick swig_types[61]
273 #define SWIGTYPE_p_wxSystemOptions swig_types[62]
274 #define SWIGTYPE_p_wxPoint swig_types[63]
275 #define SWIGTYPE_p_wxJoystickEvent swig_types[64]
276 #define SWIGTYPE_p_wxCursor swig_types[65]
277 #define SWIGTYPE_p_wxObject swig_types[66]
278 #define SWIGTYPE_p_wxOutputStream swig_types[67]
279 #define SWIGTYPE_p_wxDateTime swig_types[68]
280 #define SWIGTYPE_p_wxPyDropSource swig_types[69]
281 #define SWIGTYPE_p_wxKillError swig_types[70]
282 #define SWIGTYPE_p_wxWindow swig_types[71]
283 #define SWIGTYPE_p_wxString swig_types[72]
284 #define SWIGTYPE_p_wxPyProcess swig_types[73]
285 #define SWIGTYPE_p_wxBitmap swig_types[74]
286 #define SWIGTYPE_p_wxConfig swig_types[75]
287 #define SWIGTYPE_p_wxChar swig_types[76]
288 #define SWIGTYPE_p_wxBusyInfo swig_types[77]
289 #define SWIGTYPE_p_wxPyDropTarget swig_types[78]
290 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[79]
291 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[80]
292 #define SWIGTYPE_p_wxProcessEvent swig_types[81]
293 #define SWIGTYPE_p_wxPyLog swig_types[82]
294 #define SWIGTYPE_p_wxLogNull swig_types[83]
295 #define SWIGTYPE_p_wxColour swig_types[84]
296 #define SWIGTYPE_p_wxConfigPathChanger swig_types[85]
297 #define SWIGTYPE_p_wxPyTimer swig_types[86]
298 #define SWIGTYPE_p_wxDateSpan swig_types[87]
299 static swig_type_info
*swig_types
[89];
301 /* -------- TYPES TABLE (END) -------- */
304 /*-----------------------------------------------
305 @(target):= _misc_.so
306 ------------------------------------------------*/
307 #define SWIG_init init_misc_
309 #define SWIG_name "_misc_"
311 /* Auxiliar swig macros that appear in the header */
313 #define SWIG_OLDOBJ 1
314 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
315 #define SWIG_PYSTR SWIG_NEWOBJ + 1
318 #define SWIGSTATICINLINE(a) static inline a
319 #define SWIGSTATIC(a) static a
320 #define swig_new_array(size,Type) (new Type[(size)])
321 #define swig_delete(cptr) delete cptr
322 #define swig_delete_array(cptr) delete[] cptr
323 #define swig_const_cast(a,Type) const_cast<Type >(a)
324 #define swig_static_cast(a,Type) static_cast<Type >(a)
325 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
326 #define swig_new_copy(ptr,Type) (new Type(*ptr))
327 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
331 #define SWIGSTATICINLINE(a) static a
332 #define SWIGSTATIC(a) static a
333 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
334 #define swig_delete(cptr) free((char*)cptr)
335 #define swig_delete_array(cptr) free((char*)cptr)
336 #define swig_const_cast(a,Type) (Type)(a)
337 #define swig_static_cast(a,Type) (Type)(a)
338 #define swig_reinterpret_cast(a,Type) (Type)(a)
339 #define swig_numeric_cast(a,Type) (Type)(a)
340 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
342 #endif /* __cplusplus */
345 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
346 #define SWIG_From_signed_SS_char PyInt_FromLong
348 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
349 #define SWIG_From_unsigned_SS_char PyInt_FromLong
351 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
352 #define SWIG_From_short PyInt_FromLong
354 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
355 #define SWIG_From_unsigned_SS_short PyInt_FromLong
357 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
358 #define SWIG_From_int PyInt_FromLong
360 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
361 #define SWIG_From_long PyInt_FromLong
363 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
364 #define SWIG_From_float PyFloat_FromDouble
366 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
367 #define SWIG_From_double PyFloat_FromDouble
371 #include "wx/wxPython/wxPython.h"
372 #include "wx/wxPython/pyclasses.h"
373 #include "wx/wxPython/pyistream.h"
375 static const wxString
wxPyEmptyString(wxEmptyString
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(int)
470 SWIG_Check_int(PyObject
* obj
)
472 return SWIG_AsVal_int(obj
, (int*)0);
475 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
477 #include <wx/stockitem.h>
479 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
480 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
481 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
483 SWIGSTATICINLINE(long)
484 SWIG_As_long(PyObject
* obj
)
487 if (!SWIG_AsVal_long(obj
, &v
)) {
489 this is needed to make valgrind/purify happier. the other
490 solution is throw an exception, but since this code should work
493 memset((void*)&v
, 0, sizeof(long));
499 SWIGSTATICINLINE(int)
500 SWIG_Check_long(PyObject
* obj
)
502 return SWIG_AsVal_long(obj
, (long*)0);
506 SWIGSTATICINLINE(int)
507 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
509 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
510 if (obj
== Py_True
) {
511 if (val
) *val
= true;
514 if (obj
== Py_False
) {
515 if (val
) *val
= false;
519 if (SWIG_AsVal_int(obj
, &res
)) {
520 if (val
) *val
= (bool)res
;
524 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
530 SWIGSTATICINLINE(bool)
531 SWIG_As_bool(PyObject
* obj
)
534 if (!SWIG_AsVal_bool(obj
, &v
)) {
536 this is needed to make valgrind/purify happier. the other
537 solution is throw an exception, but since this code should work
540 memset((void*)&v
, 0, sizeof(bool));
546 SWIGSTATICINLINE(int)
547 SWIG_Check_bool(PyObject
* obj
)
549 return SWIG_AsVal_bool(obj
, (bool*)0);
553 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
559 } else if (target
== Py_None
) {
563 if (!PyTuple_Check(target
)) {
565 target
= PyTuple_New(1);
566 PyTuple_SetItem(target
, 0, o2
);
569 PyTuple_SetItem(o3
, 0, o
);
572 target
= PySequence_Concat(o2
, o3
);
581 // See my_fragments.i
582 SWIGSTATICINLINE(int)
583 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
586 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
587 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
591 *val
= (unsigned long)v
;
596 SWIGSTATICINLINE(unsigned long)
597 SWIG_As_unsigned_SS_long(PyObject
* obj
)
600 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
602 this is needed to make valgrind/purify happier. the other
603 solution is throw an exception, but since this code should work
606 memset((void*)&v
, 0, sizeof(unsigned long));
612 SWIGSTATICINLINE(int)
613 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
615 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
619 SWIGSTATICINLINE(PyObject
* )
620 SWIG_From_unsigned_SS_long(unsigned long value
)
622 return (value
> LONG_MAX
) ?
623 PyLong_FromUnsignedLong(value
)
624 : PyInt_FromLong(swig_numeric_cast(value
,long));
628 bool wxThread_IsMain() {
629 #ifdef WXP_WITH_THREAD
630 return wxThread::IsMain();
637 int wxCaret_GetBlinkTime() {
638 return wxCaret::GetBlinkTime();
641 void wxCaret_SetBlinkTime(int milliseconds
) {
642 wxCaret::SetBlinkTime(milliseconds
);
646 #include <wx/snglinst.h>
650 #include <wx/msw/private.h>
651 #include <wx/dynload.h>
656 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
663 // This one only partially works. Appears to be an undocumented
664 // "standard" convention that not all widgets adhear to. For
665 // example, for some widgets backgrounds or non-client areas may
667 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
671 // This one works much better, except for on XP. On Win2k nearly
672 // all widgets and their children are captured correctly[**]. On
673 // XP with Themes activated most native widgets draw only
674 // partially, if at all. Without themes it works just like on
677 // ** For example the radio buttons in a wxRadioBox are not its
678 // children by default, but you can capture it via the panel
679 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
680 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
681 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
682 PRF_ERASEBKGND
| PRF_OWNED
);
686 // This one is only defined in the latest SDK and is only
687 // available on XP. MSDN says it is similar to sending WM_PRINT
688 // so I expect that it will work similar to the above. Since it
689 // is avaialble only on XP, it can't be compiled like this and
690 // will have to be loaded dynamically.
691 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
696 // Use PrintWindow if available, or fallback to WM_PRINT
697 // otherwise. Unfortunately using PrintWindow is even worse than
698 // WM_PRINT. For most native widgets nothing is drawn to the dc
699 // at all, with or without Themes.
700 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
701 static bool s_triedToLoad
= false;
702 static PrintWindow_t pfnPrintWindow
= NULL
;
703 if ( !s_triedToLoad
)
706 s_triedToLoad
= true;
707 wxDynamicLibrary
dllUser32(_T("user32.dll"));
708 if ( dllUser32
.IsLoaded() )
710 wxLogNull nolog
; // Don't report errors here
711 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
716 printf("Using PrintWindow\n");
717 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
721 printf("Using WM_PRINT\n");
722 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
723 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
731 #include <wx/tipdlg.h>
734 class wxPyTipProvider
: public wxTipProvider
{
736 wxPyTipProvider(size_t currentTip
)
737 : wxTipProvider(currentTip
) {}
739 DEC_PYCALLBACK_STRING__pure(GetTip
);
740 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
744 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
745 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
748 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
750 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
752 void wxPyTimer::Notify() {
754 bool blocked
= wxPyBeginBlockThreads();
755 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
756 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
757 wxPyEndBlockThreads(blocked
);
761 void wxPyTimer::base_Notify() {
767 SWIGSTATICINLINE(PyObject
*)
768 SWIG_FromCharPtr(const char* cptr
)
771 size_t size
= strlen(cptr
);
772 if (size
> INT_MAX
) {
773 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
774 SWIG_TypeQuery("char *"), 0);
777 return PyString_FromStringAndSize(cptr
, size
);
779 return PyString_FromString(cptr
);
788 SWIGSTATICINLINE(int)
789 SWIG_CheckUnsignedLongInRange(unsigned long value
,
790 unsigned long max_value
,
793 if (value
> max_value
) {
795 PyErr_Format(PyExc_OverflowError
,
796 "value %ld is greater than '%s' minimum %ld",
797 value
, errmsg
, max_value
);
805 #if UINT_MAX != ULONG_MAX
806 SWIGSTATICINLINE(int)
807 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
809 const char* errmsg
= val
? "unsigned int" : 0;
811 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
812 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
813 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
820 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
825 SWIGSTATICINLINE(unsigned int)
826 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
828 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
833 SWIGSTATICINLINE(unsigned int)
834 SWIG_As_unsigned_SS_int(PyObject
* obj
)
837 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
839 this is needed to make valgrind/purify happier. the other
840 solution is throw an exception, but since this code should work
843 memset((void*)&v
, 0, sizeof(unsigned int));
849 SWIGSTATICINLINE(int)
850 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
852 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
855 wxString
Log_TimeStamp(){
857 wxLog::TimeStamp(&msg
);
860 void wxLog_Destroy(wxLog
*self
){ delete self
; }
861 // Make somce wrappers that double any % signs so they are 'escaped'
862 void wxPyLogFatalError(const wxString
& msg
)
865 m
.Replace(wxT("%"), wxT("%%"));
869 void wxPyLogError(const wxString
& msg
)
872 m
.Replace(wxT("%"), wxT("%%"));
876 void wxPyLogWarning(const wxString
& msg
)
879 m
.Replace(wxT("%"), wxT("%%"));
883 void wxPyLogMessage(const wxString
& msg
)
886 m
.Replace(wxT("%"), wxT("%%"));
890 void wxPyLogInfo(const wxString
& msg
)
893 m
.Replace(wxT("%"), wxT("%%"));
897 void wxPyLogDebug(const wxString
& msg
)
900 m
.Replace(wxT("%"), wxT("%%"));
904 void wxPyLogVerbose(const wxString
& msg
)
907 m
.Replace(wxT("%"), wxT("%%"));
911 void wxPyLogStatus(const wxString
& msg
)
914 m
.Replace(wxT("%"), wxT("%%"));
918 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
921 m
.Replace(wxT("%"), wxT("%%"));
922 wxLogStatus(pFrame
, m
);
925 void wxPyLogSysError(const wxString
& msg
)
928 m
.Replace(wxT("%"), wxT("%%"));
932 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
935 m
.Replace(wxT("%"), wxT("%%"));
936 wxLogGeneric(level
, m
);
939 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
942 m
.Replace(wxT("%"), wxT("%%"));
946 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
949 m
.Replace(wxT("%"), wxT("%%"));
955 // A wxLog class that can be derived from in wxPython
956 class wxPyLog
: public wxLog
{
958 wxPyLog() : wxLog() {}
960 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
962 bool blocked
= wxPyBeginBlockThreads();
963 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
964 PyObject
* s
= wx2PyString(szString
);
965 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
968 wxPyEndBlockThreads(blocked
);
970 wxLog::DoLog(level
, szString
, t
);
973 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
975 bool blocked
= wxPyBeginBlockThreads();
976 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
977 PyObject
* s
= wx2PyString(szString
);
978 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
981 wxPyEndBlockThreads(blocked
);
983 wxLog::DoLogString(szString
, t
);
992 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
995 #include <wx/joystick.h>
998 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
999 // A C++ stub class for wxJoystick for platforms that don't have it.
1000 class wxJoystick
: public wxObject
{
1002 wxJoystick(int joystick
= wxJOYSTICK1
) {
1003 bool blocked
= wxPyBeginBlockThreads();
1004 PyErr_SetString(PyExc_NotImplementedError
,
1005 "wxJoystick is not available on this platform.");
1006 wxPyEndBlockThreads(blocked
);
1008 wxPoint
GetPosition() { return wxPoint(-1,-1); }
1009 int GetZPosition() { return -1; }
1010 int GetButtonState() { return -1; }
1011 int GetPOVPosition() { return -1; }
1012 int GetPOVCTSPosition() { return -1; }
1013 int GetRudderPosition() { return -1; }
1014 int GetUPosition() { return -1; }
1015 int GetVPosition() { return -1; }
1016 int GetMovementThreshold() { return -1; }
1017 void SetMovementThreshold(int threshold
) {}
1019 bool IsOk(void) { return false; }
1020 int GetNumberJoysticks() { return -1; }
1021 int GetManufacturerId() { return -1; }
1022 int GetProductId() { return -1; }
1023 wxString
GetProductName() { return wxEmptyString
; }
1024 int GetXMin() { return -1; }
1025 int GetYMin() { return -1; }
1026 int GetZMin() { return -1; }
1027 int GetXMax() { return -1; }
1028 int GetYMax() { return -1; }
1029 int GetZMax() { return -1; }
1030 int GetNumberButtons() { return -1; }
1031 int GetNumberAxes() { return -1; }
1032 int GetMaxButtons() { return -1; }
1033 int GetMaxAxes() { return -1; }
1034 int GetPollingMin() { return -1; }
1035 int GetPollingMax() { return -1; }
1036 int GetRudderMin() { return -1; }
1037 int GetRudderMax() { return -1; }
1038 int GetUMin() { return -1; }
1039 int GetUMax() { return -1; }
1040 int GetVMin() { return -1; }
1041 int GetVMax() { return -1; }
1043 bool HasRudder() { return false; }
1044 bool HasZ() { return false; }
1045 bool HasU() { return false; }
1046 bool HasV() { return false; }
1047 bool HasPOV() { return false; }
1048 bool HasPOV4Dir() { return false; }
1049 bool HasPOVCTS() { return false; }
1051 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
1052 bool ReleaseCapture() { return false; }
1057 #include <wx/sound.h>
1061 // A C++ stub class for wxWave for platforms that don't have it.
1062 class wxSound
: public wxObject
1066 bool blocked
= wxPyBeginBlockThreads();
1067 PyErr_SetString(PyExc_NotImplementedError
,
1068 "wxSound is not available on this platform.");
1069 wxPyEndBlockThreads(blocked
);
1071 wxSound(const wxString
&/*, bool*/) {
1072 bool blocked
= wxPyBeginBlockThreads();
1073 PyErr_SetString(PyExc_NotImplementedError
,
1074 "wxSound is not available on this platform.");
1075 wxPyEndBlockThreads(blocked
);
1077 wxSound(int, const wxByte
*) {
1078 bool blocked
= wxPyBeginBlockThreads();
1079 PyErr_SetString(PyExc_NotImplementedError
,
1080 "wxSound is not available on this platform.");
1081 wxPyEndBlockThreads(blocked
);
1086 bool Create(const wxString
&/*, bool*/) { return false; }
1087 bool Create(int, const wxByte
*) { return false; };
1088 bool IsOk() { return false; };
1089 bool Play(unsigned) const { return false; }
1090 static bool Play(const wxString
&, unsigned) { return false; }
1091 static void Stop() {}
1096 wxSound
*new_wxSound(wxString
const &fileName
){
1097 if (fileName
.Length() == 0)
1100 return new wxSound(fileName
);
1102 wxSound
*new_wxSound(PyObject
*data
){
1103 unsigned char* buffer
; int size
;
1104 wxSound
*sound
= NULL
;
1106 bool blocked
= wxPyBeginBlockThreads();
1107 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1109 sound
= new wxSound(size
, buffer
);
1111 wxPyEndBlockThreads(blocked
);
1114 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1116 unsigned char* buffer
;
1120 bool blocked
= wxPyBeginBlockThreads();
1121 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1123 rv
= self
->Create(size
, buffer
);
1125 wxPyEndBlockThreads(blocked
);
1128 bool blocked
= wxPyBeginBlockThreads();
1129 PyErr_SetString(PyExc_NotImplementedError
,
1130 "Create from data is not available on this platform.");
1131 wxPyEndBlockThreads(blocked
);
1136 #include <wx/mimetype.h>
1138 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1140 if (self
->GetMimeType(&str
))
1141 return wx2PyString(str
);
1145 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1147 if (self
->GetMimeTypes(arr
))
1148 return wxArrayString2PyList_helper(arr
);
1152 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1154 if (self
->GetExtensions(arr
))
1155 return wxArrayString2PyList_helper(arr
);
1159 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1161 if (self
->GetIcon(&loc
))
1162 return new wxIcon(loc
);
1166 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1168 if (self
->GetIcon(&loc
)) {
1169 wxString iconFile
= loc
.GetFileName();
1172 iconIndex
= loc
.GetIndex();
1174 // Make a tuple and put the values in it
1175 bool blocked
= wxPyBeginBlockThreads();
1176 PyObject
* tuple
= PyTuple_New(3);
1177 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1178 wxT("wxIcon"), true));
1179 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1180 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1181 wxPyEndBlockThreads(blocked
);
1187 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1189 if (self
->GetDescription(&str
))
1190 return wx2PyString(str
);
1194 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1196 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1197 return wx2PyString(str
);
1201 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1203 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1204 return wx2PyString(str
);
1208 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1209 wxArrayString verbs
;
1210 wxArrayString commands
;
1211 if (self
->GetAllCommands(&verbs
, &commands
,
1212 wxFileType::MessageParameters(filename
, mimetype
))) {
1213 bool blocked
= wxPyBeginBlockThreads();
1214 PyObject
* tuple
= PyTuple_New(2);
1215 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1216 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1217 wxPyEndBlockThreads(blocked
);
1223 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1224 return wxFileType::ExpandCommand(command
,
1225 wxFileType::MessageParameters(filename
, mimetype
));
1227 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1229 self
->EnumAllFileTypes(arr
);
1230 return wxArrayString2PyList_helper(arr
);
1233 #include <wx/artprov.h>
1235 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1236 static const wxString
wxPyART_MENU(wxART_MENU
);
1237 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1238 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1239 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1240 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1241 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1242 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1243 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1244 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1245 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1246 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1247 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1248 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1249 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1250 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1251 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1252 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1253 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1254 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1255 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1256 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1257 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1258 static const wxString
wxPyART_HELP(wxART_HELP
);
1259 static const wxString
wxPyART_TIP(wxART_TIP
);
1260 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1261 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1262 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1263 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
1264 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
1265 static const wxString
wxPyART_CDROM(wxART_CDROM
);
1266 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
1267 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1268 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
1269 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1270 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1271 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1272 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1273 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1274 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1275 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1276 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1277 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1278 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1279 // Python aware wxArtProvider
1280 class wxPyArtProvider
: public wxArtProvider
{
1283 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1284 const wxArtClient
& client
,
1285 const wxSize
& size
) {
1286 wxBitmap rval
= wxNullBitmap
;
1287 bool blocked
= wxPyBeginBlockThreads();
1288 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1289 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1293 s1
= wx2PyString(id
);
1294 s2
= wx2PyString(client
);
1295 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1300 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1305 wxPyEndBlockThreads(blocked
);
1312 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1316 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1317 PyObject
* ret
= PyTuple_New(3);
1319 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1320 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1321 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1326 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1331 cont
= self
->GetFirstGroup(value
, index
);
1332 return __EnumerationHelper(cont
, value
, index
);
1334 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1338 cont
= self
->GetNextGroup(value
, index
);
1339 return __EnumerationHelper(cont
, value
, index
);
1341 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1346 cont
= self
->GetFirstEntry(value
, index
);
1347 return __EnumerationHelper(cont
, value
, index
);
1349 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1353 cont
= self
->GetNextEntry(value
, index
);
1354 return __EnumerationHelper(cont
, value
, index
);
1356 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1358 self
->Read(key
, &rv
, defaultVal
);
1362 // See my_fragments.i
1363 SWIGSTATICINLINE(int)
1364 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1366 if (PyNumber_Check(obj
)) {
1367 if (val
) *val
= PyFloat_AsDouble(obj
);
1371 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1372 obj
->ob_type
->tp_name
);
1373 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1380 SWIGSTATICINLINE(double)
1381 SWIG_As_double(PyObject
* obj
)
1384 if (!SWIG_AsVal_double(obj
, &v
)) {
1386 this is needed to make valgrind/purify happier. the other
1387 solution is throw an exception, but since this code should work
1390 memset((void*)&v
, 0, sizeof(double));
1396 SWIGSTATICINLINE(int)
1397 SWIG_Check_double(PyObject
* obj
)
1399 return SWIG_AsVal_double(obj
, (double*)0);
1402 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1404 self
->Read(key
, &rv
, defaultVal
);
1407 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1409 self
->Read(key
, &rv
, defaultVal
);
1413 #include <wx/datetime.h>
1416 static const wxString
wxPyDateFormatStr(wxT("%c"));
1417 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1419 #define LOCAL_TZ wxDateTime::Local
1422 #if UINT_MAX < LONG_MAX
1423 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1424 #define SWIG_From_unsigned_SS_int SWIG_From_long
1427 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1428 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1432 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1433 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1434 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1435 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1436 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1437 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1438 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1439 return (*self
< *other
);
1441 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1442 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1443 return (*self
<= *other
);
1445 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1446 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1447 return (*self
> *other
);
1449 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1450 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1451 return (*self
>= *other
);
1453 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1454 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1455 return (*self
== *other
);
1457 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1458 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1459 return (*self
!= *other
);
1461 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1463 const wxChar
* _date
= date
;
1464 rv
= self
->ParseRfc822Date(_date
);
1465 if (rv
== NULL
) return -1;
1468 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1470 const wxChar
* _date
= date
;
1471 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1472 if (rv
== NULL
) return -1;
1475 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1477 const wxChar
* _datetime
= datetime
;
1478 rv
= self
->ParseDateTime(_datetime
);
1479 if (rv
== NULL
) return -1;
1480 return rv
- _datetime
;
1482 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1484 const wxChar
* _date
= date
;
1485 rv
= self
->ParseDate(_date
);
1486 if (rv
== NULL
) return -1;
1489 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1491 const wxChar
* _time
= time
;
1492 rv
= self
->ParseTime(_time
);
1493 if (rv
== NULL
) return -1;
1496 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1497 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1498 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1499 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1500 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1501 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1502 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1503 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1504 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1505 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1506 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1507 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1508 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1509 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1510 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1511 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1513 #include <wx/dataobj.h>
1515 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1516 size_t count
= self
->GetFormatCount(dir
);
1517 wxDataFormat
* formats
= new wxDataFormat
[count
];
1518 self
->GetAllFormats(formats
, dir
);
1520 bool blocked
= wxPyBeginBlockThreads();
1521 PyObject
* list
= PyList_New(count
);
1522 for (size_t i
=0; i
<count
; i
++) {
1523 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1524 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1525 PyList_Append(list
, obj
);
1528 wxPyEndBlockThreads(blocked
);
1532 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1533 PyObject
* rval
= NULL
;
1534 size_t size
= self
->GetDataSize(format
);
1535 bool blocked
= wxPyBeginBlockThreads();
1537 char* buf
= new char[size
];
1538 if (self
->GetDataHere(format
, buf
))
1539 rval
= PyString_FromStringAndSize(buf
, size
);
1546 wxPyEndBlockThreads(blocked
);
1549 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1551 bool blocked
= wxPyBeginBlockThreads();
1552 if (PyString_Check(data
)) {
1553 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1556 // raise a TypeError if not a string
1557 PyErr_SetString(PyExc_TypeError
, "String expected.");
1560 wxPyEndBlockThreads(blocked
);
1563 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1564 PyObject
* rval
= NULL
;
1565 size_t size
= self
->GetDataSize();
1566 bool blocked
= wxPyBeginBlockThreads();
1568 char* buf
= new char[size
];
1569 if (self
->GetDataHere(buf
))
1570 rval
= PyString_FromStringAndSize(buf
, size
);
1577 wxPyEndBlockThreads(blocked
);
1580 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1582 bool blocked
= wxPyBeginBlockThreads();
1583 if (PyString_Check(data
)) {
1584 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1587 // raise a TypeError if not a string
1588 PyErr_SetString(PyExc_TypeError
, "String expected.");
1591 wxPyEndBlockThreads(blocked
);
1594 // Create a new class for wxPython to use
1595 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1597 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1598 : wxDataObjectSimple(format
) {}
1600 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1601 bool GetDataHere(void *buf
) const;
1602 bool SetData(size_t len
, const void *buf
) const;
1606 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1608 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1609 // We need to get the data for this object and write it to buf. I think
1610 // the best way to do this for wxPython is to have the Python method
1611 // return either a string or None and then act appropriately with the
1615 bool blocked
= wxPyBeginBlockThreads();
1616 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1618 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1620 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1622 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1626 wxPyEndBlockThreads(blocked
);
1630 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1631 // For this one we simply need to make a string from buf and len
1632 // and send it to the Python method.
1634 bool blocked
= wxPyBeginBlockThreads();
1635 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1636 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1637 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1640 wxPyEndBlockThreads(blocked
);
1644 // Create a new class for wxPython to use
1645 class wxPyTextDataObject
: public wxTextDataObject
{
1647 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1648 : wxTextDataObject(text
) {}
1650 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1651 DEC_PYCALLBACK_STRING__const(GetText
);
1652 DEC_PYCALLBACK__STRING(SetText
);
1656 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1657 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1658 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1661 // Create a new class for wxPython to use
1662 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1664 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1665 : wxBitmapDataObject(bitmap
) {}
1667 wxBitmap
GetBitmap() const;
1668 void SetBitmap(const wxBitmap
& bitmap
);
1672 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1673 wxBitmap
* rval
= &wxNullBitmap
;
1674 bool blocked
= wxPyBeginBlockThreads();
1675 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1678 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1680 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1685 wxPyEndBlockThreads(blocked
);
1689 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1690 bool blocked
= wxPyBeginBlockThreads();
1691 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1692 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1693 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1696 wxPyEndBlockThreads(blocked
);
1699 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1701 bool blocked
= wxPyBeginBlockThreads();
1702 if (PyString_Check(data
)) {
1703 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1706 // raise a TypeError if not a string
1707 PyErr_SetString(PyExc_TypeError
, "String expected.");
1710 wxPyEndBlockThreads(blocked
);
1713 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1715 bool blocked
= wxPyBeginBlockThreads();
1716 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1717 wxPyEndBlockThreads(blocked
);
1721 #include <wx/metafile.h>
1724 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1727 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1728 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1729 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1730 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1731 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1734 class wxPyTextDropTarget
: public wxTextDropTarget
{
1736 wxPyTextDropTarget() {}
1738 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1740 DEC_PYCALLBACK__(OnLeave
);
1741 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1742 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1743 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1744 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1749 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1750 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1751 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1752 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1753 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1754 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1758 class wxPyFileDropTarget
: public wxFileDropTarget
{
1760 wxPyFileDropTarget() {}
1762 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1764 DEC_PYCALLBACK__(OnLeave
);
1765 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1766 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1767 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1768 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1773 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1774 const wxArrayString
& filenames
) {
1776 bool blocked
= wxPyBeginBlockThreads();
1777 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1778 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1779 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1782 wxPyEndBlockThreads(blocked
);
1788 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1789 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1790 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1791 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1792 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1797 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1799 #include <wx/display.h>
1801 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1802 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1804 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1806 #include <wx/dynarray.h>
1807 #include <wx/vidmode.h>
1809 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1810 #include "wx/arrimpl.cpp"
1811 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1812 const wxVideoMode wxDefaultVideoMode
;
1817 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1820 static size_t GetCount()
1821 { wxPyRaiseNotImplemented(); return 0; }
1823 static int GetFromPoint(const wxPoint
& pt
)
1824 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1825 static int GetFromWindow(wxWindow
*window
)
1826 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1828 virtual bool IsOk() const { return false; }
1829 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1830 virtual wxString
GetName() const { return wxEmptyString
; }
1831 bool IsPrimary() const { return false; }
1833 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1834 { wxArrayVideoModes a
; return a
; }
1836 virtual wxVideoMode
GetCurrentMode() const
1837 { return wxDefaultVideoMode
; }
1839 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1846 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1847 PyObject
* pyList
= NULL
;
1848 wxArrayVideoModes arr
= self
->GetModes(mode
);
1849 bool blocked
= wxPyBeginBlockThreads();
1850 pyList
= PyList_New(0);
1851 for (int i
=0; i
< arr
.GetCount(); i
++) {
1852 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1853 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1854 PyList_Append(pyList
, pyObj
);
1857 wxPyEndBlockThreads(blocked
);
1861 #include <wx/stdpaths.h>
1863 wxStandardPaths
*StandardPaths_Get(){
1864 return (wxStandardPaths
*) &wxStandardPaths::Get();
1866 void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
1867 wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
1871 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1875 PyObject
* obj0
= 0 ;
1877 (char *) "index", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1881 arg1
= (int)SWIG_As_int(obj0
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1884 if (!wxPyCheckForApp()) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1892 wxColour
* resultptr
;
1893 resultptr
= new wxColour((wxColour
&) result
);
1894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1902 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1906 PyObject
* obj0
= 0 ;
1908 (char *) "index", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1912 arg1
= (int)SWIG_As_int(obj0
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 if (!wxPyCheckForApp()) SWIG_fail
;
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1924 resultptr
= new wxFont((wxFont
&) result
);
1925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1933 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1937 PyObject
* obj0
= 0 ;
1939 (char *) "index", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1943 arg1
= (int)SWIG_As_int(obj0
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1946 if (!wxPyCheckForApp()) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 resultobj
= SWIG_From_int((int)result
);
1960 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1964 PyObject
* obj0
= 0 ;
1966 (char *) "index", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1970 arg1
= (int)SWIG_As_int(obj0
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1973 if (!wxPyCheckForApp()) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1989 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1998 if (!wxPyCheckForApp()) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 result
= (int)wxSystemSettings::GetScreenType();
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= SWIG_From_int((int)result
);
2012 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2015 PyObject
* obj0
= 0 ;
2017 (char *) "screen", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
2021 arg1
= (int)SWIG_As_int(obj0
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 if (!wxPyCheckForApp()) SWIG_fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 Py_INCREF(Py_None
); resultobj
= Py_None
;
2038 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
2040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2041 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
2043 return Py_BuildValue((char *)"");
2045 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
2046 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
2051 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
2056 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2058 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2065 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
*resultobj
;
2067 wxSystemOptions
*result
;
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 result
= (wxSystemOptions
*)new wxSystemOptions();
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
2087 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
*resultobj
;
2089 wxString
*arg1
= 0 ;
2090 wxString
*arg2
= 0 ;
2091 bool temp1
= false ;
2092 bool temp2
= false ;
2093 PyObject
* obj0
= 0 ;
2094 PyObject
* obj1
= 0 ;
2096 (char *) "name",(char *) "value", NULL
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2101 arg1
= wxString_in_helper(obj0
);
2102 if (arg1
== NULL
) SWIG_fail
;
2106 arg2
= wxString_in_helper(obj1
);
2107 if (arg2
== NULL
) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2117 Py_INCREF(Py_None
); resultobj
= Py_None
;
2140 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
*resultobj
;
2142 wxString
*arg1
= 0 ;
2144 bool temp1
= false ;
2145 PyObject
* obj0
= 0 ;
2146 PyObject
* obj1
= 0 ;
2148 (char *) "name",(char *) "value", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2153 arg1
= wxString_in_helper(obj0
);
2154 if (arg1
== NULL
) SWIG_fail
;
2157 arg2
= (int)SWIG_As_int(obj1
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2166 Py_INCREF(Py_None
); resultobj
= Py_None
;
2181 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxString
*arg1
= 0 ;
2185 bool temp1
= false ;
2186 PyObject
* obj0
= 0 ;
2188 (char *) "name", NULL
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2193 arg1
= wxString_in_helper(obj0
);
2194 if (arg1
== NULL
) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2225 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
*resultobj
;
2227 wxString
*arg1
= 0 ;
2229 bool temp1
= false ;
2230 PyObject
* obj0
= 0 ;
2232 (char *) "name", NULL
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2237 arg1
= wxString_in_helper(obj0
);
2238 if (arg1
== NULL
) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 resultobj
= SWIG_From_int((int)result
);
2263 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
*resultobj
;
2265 wxString
*arg1
= 0 ;
2267 bool temp1
= false ;
2268 PyObject
* obj0
= 0 ;
2270 (char *) "name", NULL
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2275 arg1
= wxString_in_helper(obj0
);
2276 if (arg1
== NULL
) SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2303 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2306 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2308 return Py_BuildValue((char *)"");
2310 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2311 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2316 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2321 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2323 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2330 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2331 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2336 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2341 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2343 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2350 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2351 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2356 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2361 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2363 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2370 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 result
= (long)wxNewId();
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2385 resultobj
= SWIG_From_long((long)result
);
2392 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2395 PyObject
* obj0
= 0 ;
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2401 arg1
= (long)SWIG_As_long(obj0
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2410 Py_INCREF(Py_None
); resultobj
= Py_None
;
2417 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 result
= (long)wxGetCurrentId();
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2432 resultobj
= SWIG_From_long((long)result
);
2439 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
*resultobj
;
2443 PyObject
* obj0
= 0 ;
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2449 arg1
= (int)SWIG_As_int(obj0
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 result
= (bool)wxIsStockID(arg1
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2467 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
*resultobj
;
2470 wxString
*arg2
= 0 ;
2472 bool temp2
= false ;
2473 PyObject
* obj0
= 0 ;
2474 PyObject
* obj1
= 0 ;
2476 (char *) "id",(char *) "label", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2480 arg1
= (int)SWIG_As_int(obj0
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2483 arg2
= wxString_in_helper(obj1
);
2484 if (arg2
== NULL
) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2511 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2515 PyObject
* obj0
= 0 ;
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2521 arg1
= (int)SWIG_As_int(obj0
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 result
= wxGetStockLabel(arg1
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2543 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
*resultobj
;
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2551 if (!wxPyCheckForApp()) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 Py_INCREF(Py_None
); resultobj
= Py_None
;
2565 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2573 if (!wxPyCheckForApp()) SWIG_fail
;
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2580 Py_INCREF(Py_None
); resultobj
= Py_None
;
2587 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
*resultobj
;
2589 bool arg1
= (bool) true ;
2591 PyObject
* obj0
= 0 ;
2593 (char *) "resetTimer", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2598 arg1
= (bool)SWIG_As_bool(obj0
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 result
= (long)wxGetElapsedTime(arg1
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 resultobj
= SWIG_From_long((long)result
);
2615 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 int *arg1
= (int *) 0 ;
2618 int *arg2
= (int *) 0 ;
2627 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2628 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2631 if (!wxPyCheckForApp()) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 wxGetMousePosition(arg1
,arg2
);
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2638 Py_INCREF(Py_None
); resultobj
= Py_None
;
2639 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2640 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2641 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2642 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2649 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 result
= (bool)wxIsBusy();
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2673 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2701 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
*resultobj
;
2703 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2704 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2706 bool temp1
= false ;
2707 PyObject
* obj0
= 0 ;
2709 (char *) "command", NULL
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2715 arg1
= wxString_in_helper(obj0
);
2716 if (arg1
== NULL
) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (bool)wxShell((wxString
const &)*arg1
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2744 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
*resultobj
;
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 Py_INCREF(Py_None
); resultobj
= Py_None
;
2765 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 int *arg1
= (int *) 0 ;
2768 int *arg2
= (int *) 0 ;
2778 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2779 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 result
= (int)wxGetOsVersion(arg1
,arg2
);
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2788 resultobj
= SWIG_From_int((int)result
);
2789 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2790 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2791 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2792 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2799 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 result
= wxGetOsDescription();
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2827 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
;
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 result
= (long)wxGetFreeMemory();
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 resultobj
= SWIG_From_long((long)result
);
2849 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2853 PyObject
* obj0
= 0 ;
2855 (char *) "wFlags", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2859 arg1
= (int)SWIG_As_int(obj0
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 if (!wxPyCheckForApp()) SWIG_fail
;
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2878 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2881 PyObject
* obj0
= 0 ;
2883 (char *) "secs", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2887 arg1
= (int)SWIG_As_int(obj0
);
2888 if (PyErr_Occurred()) SWIG_fail
;
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2896 Py_INCREF(Py_None
); resultobj
= Py_None
;
2903 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
*resultobj
;
2905 unsigned long arg1
;
2906 PyObject
* obj0
= 0 ;
2908 (char *) "milliseconds", NULL
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2912 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 Py_INCREF(Py_None
); resultobj
= Py_None
;
2928 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 unsigned long arg1
;
2931 PyObject
* obj0
= 0 ;
2933 (char *) "microseconds", NULL
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2937 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2946 Py_INCREF(Py_None
); resultobj
= Py_None
;
2953 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
*resultobj
;
2956 PyObject
* obj0
= 0 ;
2958 (char *) "enable", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2962 arg1
= (bool)SWIG_As_bool(obj0
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 wxEnableTopLevelWindows(arg1
);
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2971 Py_INCREF(Py_None
); resultobj
= Py_None
;
2978 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxString
*arg1
= 0 ;
2982 bool temp1
= false ;
2983 PyObject
* obj0
= 0 ;
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2990 arg1
= wxString_in_helper(obj0
);
2991 if (arg1
== NULL
) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3022 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= wxGetEmailAddress();
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3050 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 result
= wxGetHostName();
3062 wxPyEndAllowThreads(__tstate
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3078 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
*resultobj
;
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= wxGetFullHostName();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3106 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= wxGetUserId();
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3134 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 result
= wxGetUserName();
3146 wxPyEndAllowThreads(__tstate
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3162 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 result
= wxGetHomeDir();
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3190 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3193 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3195 bool temp1
= false ;
3196 PyObject
* obj0
= 0 ;
3198 (char *) "user", NULL
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3204 arg1
= wxString_in_helper(obj0
);
3205 if (arg1
== NULL
) SWIG_fail
;
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 result
= wxGetUserHome((wxString
const &)*arg1
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3237 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 unsigned long result
;
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (unsigned long)wxGetProcessId();
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3259 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 Py_INCREF(Py_None
); resultobj
= Py_None
;
3280 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3283 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3284 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3285 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3286 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3288 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3289 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3290 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3291 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3292 int arg6
= (int) 0 ;
3293 wxWindow
*arg7
= (wxWindow
*) NULL
;
3294 int arg8
= (int) -1 ;
3295 int arg9
= (int) -1 ;
3297 bool temp1
= false ;
3298 bool temp2
= false ;
3299 bool temp3
= false ;
3300 bool temp4
= false ;
3301 bool temp5
= false ;
3302 PyObject
* obj0
= 0 ;
3303 PyObject
* obj1
= 0 ;
3304 PyObject
* obj2
= 0 ;
3305 PyObject
* obj3
= 0 ;
3306 PyObject
* obj4
= 0 ;
3307 PyObject
* obj5
= 0 ;
3308 PyObject
* obj6
= 0 ;
3309 PyObject
* obj7
= 0 ;
3310 PyObject
* obj8
= 0 ;
3312 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3318 arg1
= wxString_in_helper(obj0
);
3319 if (arg1
== NULL
) SWIG_fail
;
3325 arg2
= wxString_in_helper(obj1
);
3326 if (arg2
== NULL
) SWIG_fail
;
3332 arg3
= wxString_in_helper(obj2
);
3333 if (arg3
== NULL
) SWIG_fail
;
3339 arg4
= wxString_in_helper(obj3
);
3340 if (arg4
== NULL
) SWIG_fail
;
3346 arg5
= wxString_in_helper(obj4
);
3347 if (arg5
== NULL
) SWIG_fail
;
3352 arg6
= (int)SWIG_As_int(obj5
);
3353 if (PyErr_Occurred()) SWIG_fail
;
3356 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3360 arg8
= (int)SWIG_As_int(obj7
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 arg9
= (int)SWIG_As_int(obj8
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3368 if (!wxPyCheckForApp()) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3428 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxString
*arg1
= 0 ;
3431 wxString
*arg2
= 0 ;
3432 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3433 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3434 wxWindow
*arg4
= (wxWindow
*) NULL
;
3436 bool temp1
= false ;
3437 bool temp2
= false ;
3438 bool temp3
= false ;
3439 PyObject
* obj0
= 0 ;
3440 PyObject
* obj1
= 0 ;
3441 PyObject
* obj2
= 0 ;
3442 PyObject
* obj3
= 0 ;
3444 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3449 arg1
= wxString_in_helper(obj0
);
3450 if (arg1
== NULL
) SWIG_fail
;
3454 arg2
= wxString_in_helper(obj1
);
3455 if (arg2
== NULL
) SWIG_fail
;
3460 arg3
= wxString_in_helper(obj2
);
3461 if (arg3
== NULL
) SWIG_fail
;
3466 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 if (!wxPyCheckForApp()) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3514 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxString
*arg1
= 0 ;
3517 wxString
*arg2
= 0 ;
3518 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3519 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3520 wxWindow
*arg4
= (wxWindow
*) NULL
;
3522 bool temp1
= false ;
3523 bool temp2
= false ;
3524 bool temp3
= false ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3527 PyObject
* obj2
= 0 ;
3528 PyObject
* obj3
= 0 ;
3530 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3535 arg1
= wxString_in_helper(obj0
);
3536 if (arg1
== NULL
) SWIG_fail
;
3540 arg2
= wxString_in_helper(obj1
);
3541 if (arg2
== NULL
) SWIG_fail
;
3546 arg3
= wxString_in_helper(obj2
);
3547 if (arg3
== NULL
) SWIG_fail
;
3552 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3556 if (!wxPyCheckForApp()) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3600 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
*resultobj
;
3602 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3603 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3604 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3605 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3606 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3607 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3608 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3609 wxWindow
*arg5
= (wxWindow
*) NULL
;
3611 bool temp1
= false ;
3612 bool temp2
= false ;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3616 PyObject
* obj2
= 0 ;
3617 PyObject
* obj3
= 0 ;
3618 PyObject
* obj4
= 0 ;
3620 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3626 arg1
= wxString_in_helper(obj0
);
3627 if (arg1
== NULL
) SWIG_fail
;
3633 arg2
= wxString_in_helper(obj1
);
3634 if (arg2
== NULL
) SWIG_fail
;
3639 arg3
= (long)SWIG_As_long(obj2
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3645 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3649 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3653 if (!wxPyCheckForApp()) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3689 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3691 wxString
*arg1
= 0 ;
3692 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3693 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3694 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3695 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3696 wxWindow
*arg4
= (wxWindow
*) NULL
;
3697 int arg5
= (int) -1 ;
3698 int arg6
= (int) -1 ;
3699 bool arg7
= (bool) true ;
3701 bool temp1
= false ;
3702 bool temp2
= false ;
3703 bool temp3
= false ;
3704 PyObject
* obj0
= 0 ;
3705 PyObject
* obj1
= 0 ;
3706 PyObject
* obj2
= 0 ;
3707 PyObject
* obj3
= 0 ;
3708 PyObject
* obj4
= 0 ;
3709 PyObject
* obj5
= 0 ;
3710 PyObject
* obj6
= 0 ;
3712 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3717 arg1
= wxString_in_helper(obj0
);
3718 if (arg1
== NULL
) SWIG_fail
;
3723 arg2
= wxString_in_helper(obj1
);
3724 if (arg2
== NULL
) SWIG_fail
;
3730 arg3
= wxString_in_helper(obj2
);
3731 if (arg3
== NULL
) SWIG_fail
;
3736 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 arg5
= (int)SWIG_As_int(obj4
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3744 arg6
= (int)SWIG_As_int(obj5
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3748 arg7
= (bool)SWIG_As_bool(obj6
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3752 if (!wxPyCheckForApp()) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3796 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
*resultobj
;
3798 wxString
*arg1
= 0 ;
3799 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3800 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3801 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3802 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3803 wxWindow
*arg4
= (wxWindow
*) NULL
;
3805 bool temp1
= false ;
3806 bool temp2
= false ;
3807 bool temp3
= false ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3810 PyObject
* obj2
= 0 ;
3811 PyObject
* obj3
= 0 ;
3813 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3818 arg1
= wxString_in_helper(obj0
);
3819 if (arg1
== NULL
) SWIG_fail
;
3824 arg2
= wxString_in_helper(obj1
);
3825 if (arg2
== NULL
) SWIG_fail
;
3831 arg3
= wxString_in_helper(obj2
);
3832 if (arg3
== NULL
) SWIG_fail
;
3837 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3841 if (!wxPyCheckForApp()) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3885 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxString
*arg1
= 0 ;
3888 wxString
*arg2
= 0 ;
3890 wxString
*arg4
= (wxString
*) 0 ;
3891 wxWindow
*arg5
= (wxWindow
*) NULL
;
3892 int arg6
= (int) -1 ;
3893 int arg7
= (int) -1 ;
3894 bool arg8
= (bool) true ;
3895 int arg9
= (int) 150 ;
3896 int arg10
= (int) 200 ;
3898 bool temp1
= false ;
3899 bool temp2
= false ;
3900 PyObject
* obj0
= 0 ;
3901 PyObject
* obj1
= 0 ;
3902 PyObject
* obj2
= 0 ;
3903 PyObject
* obj3
= 0 ;
3904 PyObject
* obj4
= 0 ;
3905 PyObject
* obj5
= 0 ;
3906 PyObject
* obj6
= 0 ;
3907 PyObject
* obj7
= 0 ;
3908 PyObject
* obj8
= 0 ;
3910 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3915 arg1
= wxString_in_helper(obj0
);
3916 if (arg1
== NULL
) SWIG_fail
;
3920 arg2
= wxString_in_helper(obj1
);
3921 if (arg2
== NULL
) SWIG_fail
;
3925 arg3
= PyList_Size(obj2
);
3926 arg4
= wxString_LIST_helper(obj2
);
3927 if (arg4
== NULL
) SWIG_fail
;
3930 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 arg6
= (int)SWIG_As_int(obj4
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3938 arg7
= (int)SWIG_As_int(obj5
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3942 arg8
= (bool)SWIG_As_bool(obj6
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3946 arg9
= (int)SWIG_As_int(obj7
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3950 arg10
= (int)SWIG_As_int(obj8
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3954 if (!wxPyCheckForApp()) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3977 if (arg4
) delete [] arg4
;
3990 if (arg4
) delete [] arg4
;
3996 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3998 wxString
*arg1
= 0 ;
3999 wxString
*arg2
= 0 ;
4001 wxString
*arg4
= (wxString
*) 0 ;
4002 wxWindow
*arg5
= (wxWindow
*) NULL
;
4003 int arg6
= (int) -1 ;
4004 int arg7
= (int) -1 ;
4005 bool arg8
= (bool) true ;
4006 int arg9
= (int) 150 ;
4007 int arg10
= (int) 200 ;
4009 bool temp1
= false ;
4010 bool temp2
= false ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4013 PyObject
* obj2
= 0 ;
4014 PyObject
* obj3
= 0 ;
4015 PyObject
* obj4
= 0 ;
4016 PyObject
* obj5
= 0 ;
4017 PyObject
* obj6
= 0 ;
4018 PyObject
* obj7
= 0 ;
4019 PyObject
* obj8
= 0 ;
4021 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4026 arg1
= wxString_in_helper(obj0
);
4027 if (arg1
== NULL
) SWIG_fail
;
4031 arg2
= wxString_in_helper(obj1
);
4032 if (arg2
== NULL
) SWIG_fail
;
4036 arg3
= PyList_Size(obj2
);
4037 arg4
= wxString_LIST_helper(obj2
);
4038 if (arg4
== NULL
) SWIG_fail
;
4041 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
4042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4045 arg6
= (int)SWIG_As_int(obj4
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4049 arg7
= (int)SWIG_As_int(obj5
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4053 arg8
= (bool)SWIG_As_bool(obj6
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4057 arg9
= (int)SWIG_As_int(obj7
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4061 arg10
= (int)SWIG_As_int(obj8
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 if (!wxPyCheckForApp()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= SWIG_From_int((int)result
);
4082 if (arg4
) delete [] arg4
;
4095 if (arg4
) delete [] arg4
;
4101 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxString
*arg1
= 0 ;
4104 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4105 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4106 int arg3
= (int) wxOK
|wxCENTRE
;
4107 wxWindow
*arg4
= (wxWindow
*) NULL
;
4108 int arg5
= (int) -1 ;
4109 int arg6
= (int) -1 ;
4111 bool temp1
= false ;
4112 bool temp2
= false ;
4113 PyObject
* obj0
= 0 ;
4114 PyObject
* obj1
= 0 ;
4115 PyObject
* obj2
= 0 ;
4116 PyObject
* obj3
= 0 ;
4117 PyObject
* obj4
= 0 ;
4118 PyObject
* obj5
= 0 ;
4120 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4125 arg1
= wxString_in_helper(obj0
);
4126 if (arg1
== NULL
) SWIG_fail
;
4131 arg2
= wxString_in_helper(obj1
);
4132 if (arg2
== NULL
) SWIG_fail
;
4137 arg3
= (int)SWIG_As_int(obj2
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4141 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4145 arg5
= (int)SWIG_As_int(obj4
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4149 arg6
= (int)SWIG_As_int(obj5
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4153 if (!wxPyCheckForApp()) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_From_int((int)result
);
4183 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 wxString
*arg1
= 0 ;
4186 wxString
*arg2
= 0 ;
4187 wxString
*arg3
= 0 ;
4189 long arg5
= (long) 0 ;
4190 long arg6
= (long) 100 ;
4191 wxWindow
*arg7
= (wxWindow
*) NULL
;
4192 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4193 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4195 bool temp1
= false ;
4196 bool temp2
= false ;
4197 bool temp3
= false ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4201 PyObject
* obj2
= 0 ;
4202 PyObject
* obj3
= 0 ;
4203 PyObject
* obj4
= 0 ;
4204 PyObject
* obj5
= 0 ;
4205 PyObject
* obj6
= 0 ;
4206 PyObject
* obj7
= 0 ;
4208 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4213 arg1
= wxString_in_helper(obj0
);
4214 if (arg1
== NULL
) SWIG_fail
;
4218 arg2
= wxString_in_helper(obj1
);
4219 if (arg2
== NULL
) SWIG_fail
;
4223 arg3
= wxString_in_helper(obj2
);
4224 if (arg3
== NULL
) SWIG_fail
;
4227 arg4
= (long)SWIG_As_long(obj3
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 arg5
= (long)SWIG_As_long(obj4
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4234 arg6
= (long)SWIG_As_long(obj5
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4238 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4244 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4248 if (!wxPyCheckForApp()) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_From_long((long)result
);
4286 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4295 if (!wxPyCheckForApp()) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (bool)wxColourDisplay();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4311 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4320 if (!wxPyCheckForApp()) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 result
= (int)wxDisplayDepth();
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= SWIG_From_int((int)result
);
4334 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4343 if (!wxPyCheckForApp()) SWIG_fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 result
= (int)wxGetDisplayDepth();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= SWIG_From_int((int)result
);
4357 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 int *arg1
= (int *) 0 ;
4360 int *arg2
= (int *) 0 ;
4369 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4370 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4373 if (!wxPyCheckForApp()) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 wxDisplaySize(arg1
,arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 Py_INCREF(Py_None
); resultobj
= Py_None
;
4381 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4382 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4383 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4384 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4391 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4400 if (!wxPyCheckForApp()) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= wxGetDisplaySize();
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4409 resultptr
= new wxSize((wxSize
&) result
);
4410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4418 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 int *arg1
= (int *) 0 ;
4421 int *arg2
= (int *) 0 ;
4430 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4431 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4434 if (!wxPyCheckForApp()) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 wxDisplaySizeMM(arg1
,arg2
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 Py_INCREF(Py_None
); resultobj
= Py_None
;
4442 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4443 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4444 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4445 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4452 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4461 if (!wxPyCheckForApp()) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 result
= wxGetDisplaySizeMM();
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4470 resultptr
= new wxSize((wxSize
&) result
);
4471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4479 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 int *arg1
= (int *) 0 ;
4482 int *arg2
= (int *) 0 ;
4483 int *arg3
= (int *) 0 ;
4484 int *arg4
= (int *) 0 ;
4497 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4498 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4499 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4500 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4503 if (!wxPyCheckForApp()) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 Py_INCREF(Py_None
); resultobj
= Py_None
;
4511 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4512 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4513 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4514 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4515 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4516 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4517 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4518 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4525 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4534 if (!wxPyCheckForApp()) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 result
= wxGetClientDisplayRect();
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4543 resultptr
= new wxRect((wxRect
&) result
);
4544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4552 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
;
4554 wxCursor
*arg1
= 0 ;
4555 PyObject
* obj0
= 0 ;
4557 (char *) "cursor", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4565 PyErr_SetString(PyExc_TypeError
,"null reference");
4569 if (!wxPyCheckForApp()) SWIG_fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 Py_INCREF(Py_None
); resultobj
= Py_None
;
4583 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
;
4585 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4586 PyObject
* obj0
= 0 ;
4588 (char *) "cursor", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4597 if (!wxPyCheckForApp()) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 wxBeginBusyCursor(arg1
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 Py_INCREF(Py_None
); resultobj
= Py_None
;
4611 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4620 if (!wxPyCheckForApp()) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (wxWindow
*)wxGetActiveWindow();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= wxPyMake_wxObject(result
, 0);
4636 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4641 PyObject
* obj0
= 0 ;
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4649 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= wxPyMake_wxObject(result
, 0);
4668 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4673 PyObject
* obj0
= 0 ;
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4681 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4684 if (!wxPyCheckForApp()) SWIG_fail
;
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= wxPyMake_wxObject(result
, 0);
4700 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
;
4702 wxWindow
*arg1
= (wxWindow
*) 0 ;
4704 PyObject
* obj0
= 0 ;
4706 (char *) "win", NULL
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4713 if (!wxPyCheckForApp()) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= wxPyMake_wxObject(result
, 0);
4729 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
*resultobj
;
4733 PyObject
* obj0
= 0 ;
4735 (char *) "key", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4739 arg1
= (int)SWIG_As_int(obj0
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 if (!wxPyCheckForApp()) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4758 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4766 if (!wxPyCheckForApp()) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 wxWakeUpMainThread();
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 Py_INCREF(Py_None
); resultobj
= Py_None
;
4780 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4788 if (!wxPyCheckForApp()) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 Py_INCREF(Py_None
); resultobj
= Py_None
;
4802 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4810 if (!wxPyCheckForApp()) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxMutexGuiLocker
*result
;
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4833 if (!wxPyCheckForApp()) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4847 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4849 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4850 PyObject
* obj0
= 0 ;
4852 (char *) "self", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 Py_INCREF(Py_None
); resultobj
= Py_None
;
4872 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4875 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4877 return Py_BuildValue((char *)"");
4879 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (bool)wxThread_IsMain();
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4903 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxString
*arg1
= 0 ;
4907 bool temp1
= false ;
4908 PyObject
* obj0
= 0 ;
4910 (char *) "tip", NULL
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4915 arg1
= wxString_in_helper(obj0
);
4916 if (arg1
== NULL
) SWIG_fail
;
4920 if (!wxPyCheckForApp()) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= wxPyMake_wxObject(result
, 1);
4944 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4947 wxString
*arg2
= 0 ;
4948 bool temp2
= false ;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4952 (char *) "self",(char *) "tip", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4959 arg2
= wxString_in_helper(obj1
);
4960 if (arg2
== NULL
) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 (arg1
)->SetTip((wxString
const &)*arg2
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 Py_INCREF(Py_None
); resultobj
= Py_None
;
4985 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4991 (char *) "self", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 result
= (arg1
)->GetTip();
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5017 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5023 (char *) "self", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
5028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (wxWindow
*)(arg1
)->GetWindow();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= wxPyMake_wxObject(result
, 0);
5045 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5048 PyObject
* obj0
= 0 ;
5050 (char *) "flag", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
5054 arg1
= (bool)SWIG_As_bool(obj0
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 wxToolTip::Enable(arg1
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 Py_INCREF(Py_None
); resultobj
= Py_None
;
5070 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5073 PyObject
* obj0
= 0 ;
5075 (char *) "milliseconds", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
5079 arg1
= (long)SWIG_As_long(obj0
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 wxToolTip::SetDelay(arg1
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 Py_INCREF(Py_None
); resultobj
= Py_None
;
5095 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
5097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5098 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5100 return Py_BuildValue((char *)"");
5102 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5104 wxWindow
*arg1
= (wxWindow
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5109 PyObject
* obj1
= 0 ;
5111 (char *) "window",(char *) "size", NULL
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5119 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5122 if (!wxPyCheckForApp()) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5136 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxCaret
*arg1
= (wxCaret
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "self", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 Py_INCREF(Py_None
); resultobj
= Py_None
;
5161 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxCaret
*arg1
= (wxCaret
*) 0 ;
5165 PyObject
* obj0
= 0 ;
5167 (char *) "self", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (bool)(arg1
)->IsOk();
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5189 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxCaret
*arg1
= (wxCaret
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5195 (char *) "self", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (bool)(arg1
)->IsVisible();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5217 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxCaret
*arg1
= (wxCaret
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (arg1
)->GetPosition();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5237 wxPoint
* resultptr
;
5238 resultptr
= new wxPoint((wxPoint
&) result
);
5239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5247 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
;
5249 wxCaret
*arg1
= (wxCaret
*) 0 ;
5250 int *arg2
= (int *) 0 ;
5251 int *arg3
= (int *) 0 ;
5256 PyObject
* obj0
= 0 ;
5258 (char *) "self", NULL
5261 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5262 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 (arg1
)->GetPosition(arg2
,arg3
);
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 Py_INCREF(Py_None
); resultobj
= Py_None
;
5274 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5275 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5276 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5277 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5284 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxCaret
*arg1
= (wxCaret
*) 0 ;
5288 PyObject
* obj0
= 0 ;
5290 (char *) "self", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= (arg1
)->GetSize();
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5305 resultptr
= new wxSize((wxSize
&) result
);
5306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5314 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxCaret
*arg1
= (wxCaret
*) 0 ;
5317 int *arg2
= (int *) 0 ;
5318 int *arg3
= (int *) 0 ;
5323 PyObject
* obj0
= 0 ;
5325 (char *) "self", NULL
5328 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5329 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 (arg1
)->GetSize(arg2
,arg3
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 Py_INCREF(Py_None
); resultobj
= Py_None
;
5341 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5342 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5343 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5344 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5351 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5353 wxCaret
*arg1
= (wxCaret
*) 0 ;
5355 PyObject
* obj0
= 0 ;
5357 (char *) "self", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 result
= (wxWindow
*)(arg1
)->GetWindow();
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= wxPyMake_wxObject(result
, 0);
5379 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxCaret
*arg1
= (wxCaret
*) 0 ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 PyObject
* obj2
= 0 ;
5388 (char *) "self",(char *) "x",(char *) "y", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5394 arg2
= (int)SWIG_As_int(obj1
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5396 arg3
= (int)SWIG_As_int(obj2
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 (arg1
)->Move(arg2
,arg3
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 Py_INCREF(Py_None
); resultobj
= Py_None
;
5412 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
;
5414 wxCaret
*arg1
= (wxCaret
*) 0 ;
5417 PyObject
* obj0
= 0 ;
5418 PyObject
* obj1
= 0 ;
5420 (char *) "self",(char *) "pt", NULL
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 (arg1
)->Move((wxPoint
const &)*arg2
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 Py_INCREF(Py_None
); resultobj
= Py_None
;
5444 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxCaret
*arg1
= (wxCaret
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5451 PyObject
* obj2
= 0 ;
5453 (char *) "self",(char *) "width",(char *) "height", NULL
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5459 arg2
= (int)SWIG_As_int(obj1
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5461 arg3
= (int)SWIG_As_int(obj2
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->SetSize(arg2
,arg3
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 Py_INCREF(Py_None
); resultobj
= Py_None
;
5477 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxCaret
*arg1
= (wxCaret
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5485 (char *) "self",(char *) "size", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5493 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 (arg1
)->SetSize((wxSize
const &)*arg2
);
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 Py_INCREF(Py_None
); resultobj
= Py_None
;
5509 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 wxCaret
*arg1
= (wxCaret
*) 0 ;
5512 int arg2
= (int) true ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5516 (char *) "self",(char *) "show", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5523 arg2
= (int)SWIG_As_int(obj1
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 Py_INCREF(Py_None
); resultobj
= Py_None
;
5540 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxCaret
*arg1
= (wxCaret
*) 0 ;
5543 PyObject
* obj0
= 0 ;
5545 (char *) "self", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 Py_INCREF(Py_None
); resultobj
= Py_None
;
5565 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5568 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5570 return Py_BuildValue((char *)"");
5572 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (int)wxCaret_GetBlinkTime();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= SWIG_From_int((int)result
);
5594 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5597 PyObject
* obj0
= 0 ;
5599 (char *) "milliseconds", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5603 arg1
= (int)SWIG_As_int(obj0
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 wxCaret_SetBlinkTime(arg1
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 Py_INCREF(Py_None
); resultobj
= Py_None
;
5619 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5622 wxBusyCursor
*result
;
5623 PyObject
* obj0
= 0 ;
5625 (char *) "cursor", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5634 if (!wxPyCheckForApp()) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5648 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5653 (char *) "self", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 Py_INCREF(Py_None
); resultobj
= Py_None
;
5673 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5676 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5678 return Py_BuildValue((char *)"");
5680 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxWindow
*arg1
= (wxWindow
*) NULL
;
5683 wxWindowDisabler
*result
;
5684 PyObject
* obj0
= 0 ;
5686 (char *) "winToSkip", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5695 if (!wxPyCheckForApp()) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5709 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5712 PyObject
* obj0
= 0 ;
5714 (char *) "self", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 Py_INCREF(Py_None
); resultobj
= Py_None
;
5734 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5737 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5739 return Py_BuildValue((char *)"");
5741 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxString
*arg1
= 0 ;
5745 bool temp1
= false ;
5746 PyObject
* obj0
= 0 ;
5748 (char *) "message", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5753 arg1
= wxString_in_helper(obj0
);
5754 if (arg1
== NULL
) SWIG_fail
;
5758 if (!wxPyCheckForApp()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5780 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5783 PyObject
* obj0
= 0 ;
5785 (char *) "self", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5808 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5810 return Py_BuildValue((char *)"");
5812 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5814 wxStopWatch
*result
;
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= (wxStopWatch
*)new wxStopWatch();
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5834 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5837 long arg2
= (long) 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5841 (char *) "self",(char *) "t0", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5848 arg2
= (long)SWIG_As_long(obj1
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 (arg1
)->Start(arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 Py_INCREF(Py_None
); resultobj
= Py_None
;
5865 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
;
5867 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5870 (char *) "self", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 Py_INCREF(Py_None
); resultobj
= Py_None
;
5890 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5893 PyObject
* obj0
= 0 ;
5895 (char *) "self", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 Py_INCREF(Py_None
); resultobj
= Py_None
;
5915 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
;
5917 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5919 PyObject
* obj0
= 0 ;
5921 (char *) "self", NULL
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5934 resultobj
= SWIG_From_long((long)result
);
5941 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5944 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5946 return Py_BuildValue((char *)"");
5948 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 int arg1
= (int) 9 ;
5951 int arg2
= (int) wxID_FILE1
;
5952 wxFileHistory
*result
;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5956 (char *) "maxFiles",(char *) "idBase", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5961 arg1
= (int)SWIG_As_int(obj0
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5965 arg2
= (int)SWIG_As_int(obj1
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5982 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5987 (char *) "self", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 Py_INCREF(Py_None
); resultobj
= Py_None
;
6007 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
;
6009 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6010 wxString
*arg2
= 0 ;
6011 bool temp2
= false ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6015 (char *) "self",(char *) "file", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6022 arg2
= wxString_in_helper(obj1
);
6023 if (arg2
== NULL
) SWIG_fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 Py_INCREF(Py_None
); resultobj
= Py_None
;
6048 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6052 PyObject
* obj0
= 0 ;
6053 PyObject
* obj1
= 0 ;
6055 (char *) "self",(char *) "i", NULL
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6061 arg2
= (int)SWIG_As_int(obj1
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 (arg1
)->RemoveFileFromHistory(arg2
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 Py_INCREF(Py_None
); resultobj
= Py_None
;
6077 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
;
6079 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6083 (char *) "self", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_From_int((int)result
);
6103 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6106 wxMenu
*arg2
= (wxMenu
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6110 (char *) "self",(char *) "menu", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 (arg1
)->UseMenu(arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 Py_INCREF(Py_None
); resultobj
= Py_None
;
6132 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6135 wxMenu
*arg2
= (wxMenu
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6139 (char *) "self",(char *) "menu", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 (arg1
)->RemoveMenu(arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 Py_INCREF(Py_None
); resultobj
= Py_None
;
6161 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6164 wxConfigBase
*arg2
= 0 ;
6165 PyObject
* obj0
= 0 ;
6166 PyObject
* obj1
= 0 ;
6168 (char *) "self",(char *) "config", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6178 PyErr_SetString(PyExc_TypeError
,"null reference");
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 (arg1
)->Load(*arg2
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 Py_INCREF(Py_None
); resultobj
= Py_None
;
6195 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6198 wxConfigBase
*arg2
= 0 ;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6202 (char *) "self",(char *) "config", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6212 PyErr_SetString(PyExc_TypeError
,"null reference");
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 (arg1
)->Save(*arg2
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 Py_INCREF(Py_None
); resultobj
= Py_None
;
6229 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6232 PyObject
* obj0
= 0 ;
6234 (char *) "self", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 (arg1
)->AddFilesToMenu();
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 Py_INCREF(Py_None
); resultobj
= Py_None
;
6254 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
;
6256 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6257 wxMenu
*arg2
= (wxMenu
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6261 (char *) "self",(char *) "menu", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 (arg1
)->AddFilesToMenu(arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6283 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6291 (char *) "self",(char *) "i", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6297 arg2
= (int)SWIG_As_int(obj1
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6319 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6321 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6325 (char *) "self", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= SWIG_From_int((int)result
);
6345 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6348 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6350 return Py_BuildValue((char *)"");
6352 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxString
*arg1
= 0 ;
6355 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6356 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6357 wxSingleInstanceChecker
*result
;
6358 bool temp1
= false ;
6359 bool temp2
= false ;
6360 PyObject
* obj0
= 0 ;
6361 PyObject
* obj1
= 0 ;
6363 (char *) "name",(char *) "path", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6368 arg1
= wxString_in_helper(obj0
);
6369 if (arg1
== NULL
) SWIG_fail
;
6374 arg2
= wxString_in_helper(obj1
);
6375 if (arg2
== NULL
) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6409 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
;
6411 wxSingleInstanceChecker
*result
;
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6431 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6436 (char *) "self", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6459 wxString
*arg2
= 0 ;
6460 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6461 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6463 bool temp2
= false ;
6464 bool temp3
= false ;
6465 PyObject
* obj0
= 0 ;
6466 PyObject
* obj1
= 0 ;
6467 PyObject
* obj2
= 0 ;
6469 (char *) "self",(char *) "name",(char *) "path", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 arg2
= wxString_in_helper(obj1
);
6477 if (arg2
== NULL
) SWIG_fail
;
6482 arg3
= wxString_in_helper(obj2
);
6483 if (arg3
== NULL
) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6519 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6523 PyObject
* obj0
= 0 ;
6525 (char *) "self", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6547 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6550 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6552 return Py_BuildValue((char *)"");
6554 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxWindow
*arg1
= (wxWindow
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6561 PyObject
* obj2
= 0 ;
6563 (char *) "window",(char *) "dc",(char *) "method", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6573 PyErr_SetString(PyExc_TypeError
,"null reference");
6576 arg3
= (int)SWIG_As_int(obj2
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 Py_INCREF(Py_None
); resultobj
= Py_None
;
6592 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 Py_INCREF(Py_None
); resultobj
= Py_None
;
6617 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6621 PyObject
* obj0
= 0 ;
6623 (char *) "self", NULL
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (arg1
)->GetTip();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6649 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
;
6651 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6653 PyObject
* obj0
= 0 ;
6655 (char *) "self", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (size_t)(arg1
)->GetCurrentTip();
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6675 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6678 wxString
*arg2
= 0 ;
6680 bool temp2
= false ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6684 (char *) "self",(char *) "tip", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6691 arg2
= wxString_in_helper(obj1
);
6692 if (arg2
== NULL
) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6723 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6726 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6728 return Py_BuildValue((char *)"");
6730 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6733 wxPyTipProvider
*result
;
6734 PyObject
* obj0
= 0 ;
6736 (char *) "currentTip", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6740 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6756 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6759 PyObject
*arg2
= (PyObject
*) 0 ;
6760 PyObject
*arg3
= (PyObject
*) 0 ;
6761 PyObject
* obj0
= 0 ;
6762 PyObject
* obj1
= 0 ;
6763 PyObject
* obj2
= 0 ;
6765 (char *) "self",(char *) "self",(char *) "_class", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 Py_INCREF(Py_None
); resultobj
= Py_None
;
6787 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6790 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6792 return Py_BuildValue((char *)"");
6794 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxWindow
*arg1
= (wxWindow
*) 0 ;
6797 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6798 bool arg3
= (bool) true ;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6802 PyObject
* obj2
= 0 ;
6804 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6813 arg3
= (bool)SWIG_As_bool(obj2
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 if (!wxPyCheckForApp()) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6833 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxString
*arg1
= 0 ;
6837 wxTipProvider
*result
;
6838 bool temp1
= false ;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6842 (char *) "filename",(char *) "currentTip", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6847 arg1
= wxString_in_helper(obj0
);
6848 if (arg1
== NULL
) SWIG_fail
;
6851 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 if (!wxPyCheckForApp()) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6876 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6879 int arg2
= (int) -1 ;
6881 PyObject
* obj0
= 0 ;
6882 PyObject
* obj1
= 0 ;
6884 (char *) "owner",(char *) "id", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6893 arg2
= (int)SWIG_As_int(obj1
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6897 if (!wxPyCheckForApp()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6911 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6916 (char *) "self", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 Py_INCREF(Py_None
); resultobj
= Py_None
;
6936 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6938 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6939 PyObject
*arg2
= (PyObject
*) 0 ;
6940 PyObject
*arg3
= (PyObject
*) 0 ;
6941 int arg4
= (int) 1 ;
6942 PyObject
* obj0
= 0 ;
6943 PyObject
* obj1
= 0 ;
6944 PyObject
* obj2
= 0 ;
6945 PyObject
* obj3
= 0 ;
6947 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6956 arg4
= (int)SWIG_As_int(obj3
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 Py_INCREF(Py_None
); resultobj
= Py_None
;
6973 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6976 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6977 int arg3
= (int) -1 ;
6978 PyObject
* obj0
= 0 ;
6979 PyObject
* obj1
= 0 ;
6980 PyObject
* obj2
= 0 ;
6982 (char *) "self",(char *) "owner",(char *) "id", NULL
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 arg3
= (int)SWIG_As_int(obj2
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 (arg1
)->SetOwner(arg2
,arg3
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 Py_INCREF(Py_None
); resultobj
= Py_None
;
7008 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
;
7010 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7011 wxEvtHandler
*result
;
7012 PyObject
* obj0
= 0 ;
7014 (char *) "self", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
7018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= wxPyMake_wxObject(result
, 0);
7036 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
;
7038 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7039 int arg2
= (int) -1 ;
7040 bool arg3
= (bool) false ;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj1
= 0 ;
7044 PyObject
* obj2
= 0 ;
7046 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7053 arg2
= (int)SWIG_As_int(obj1
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7057 arg3
= (bool)SWIG_As_bool(obj2
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (bool)(arg1
)->Start(arg2
,arg3
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7076 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7081 (char *) "self", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 Py_INCREF(Py_None
); resultobj
= Py_None
;
7101 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7105 PyObject
* obj0
= 0 ;
7107 (char *) "self", NULL
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7129 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7131 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7133 PyObject
* obj0
= 0 ;
7135 (char *) "self", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= SWIG_From_int((int)result
);
7155 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "self", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7183 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7189 (char *) "self", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 resultobj
= SWIG_From_int((int)result
);
7209 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7212 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7214 return Py_BuildValue((char *)"");
7216 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
*resultobj
;
7218 int arg1
= (int) 0 ;
7219 int arg2
= (int) 0 ;
7220 wxTimerEvent
*result
;
7221 PyObject
* obj0
= 0 ;
7222 PyObject
* obj1
= 0 ;
7224 (char *) "timerid",(char *) "interval", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7229 arg1
= (int)SWIG_As_int(obj0
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7233 arg2
= (int)SWIG_As_int(obj1
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7250 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7254 PyObject
* obj0
= 0 ;
7256 (char *) "self", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= SWIG_From_int((int)result
);
7276 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7279 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7281 return Py_BuildValue((char *)"");
7283 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7284 PyObject
*resultobj
;
7286 wxTimerRunner
*result
;
7287 PyObject
* obj0
= 0 ;
7289 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7294 PyErr_SetString(PyExc_TypeError
,"null reference");
7298 if (!wxPyCheckForApp()) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7312 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7313 PyObject
*resultobj
;
7316 bool arg3
= (bool) false ;
7317 wxTimerRunner
*result
;
7318 PyObject
* obj0
= 0 ;
7319 PyObject
* obj1
= 0 ;
7320 PyObject
* obj2
= 0 ;
7322 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7327 PyErr_SetString(PyExc_TypeError
,"null reference");
7330 arg2
= (int)SWIG_As_int(obj1
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 arg3
= (bool)SWIG_As_bool(obj2
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7337 if (!wxPyCheckForApp()) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7351 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7356 argc
= PyObject_Length(args
);
7357 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7358 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7364 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7372 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7375 if ((argc
>= 2) && (argc
<= 3)) {
7379 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7387 _v
= SWIG_Check_int(argv
[1]);
7390 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7392 _v
= SWIG_Check_bool(argv
[2]);
7394 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7400 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7405 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7410 (char *) "self", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 Py_INCREF(Py_None
); resultobj
= Py_None
;
7430 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7434 bool arg3
= (bool) false ;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7437 PyObject
* obj2
= 0 ;
7439 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7445 arg2
= (int)SWIG_As_int(obj1
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 arg3
= (bool)SWIG_As_bool(obj2
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 (arg1
)->Start(arg2
,arg3
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 Py_INCREF(Py_None
); resultobj
= Py_None
;
7465 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7468 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7470 return Py_BuildValue((char *)"");
7472 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (wxLog
*)new wxLog();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7494 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 result
= (bool)wxLog::IsEnabled();
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7518 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
*resultobj
;
7520 bool arg1
= (bool) true ;
7522 PyObject
* obj0
= 0 ;
7524 (char *) "doIt", NULL
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7529 arg1
= (bool)SWIG_As_bool(obj0
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (bool)wxLog::EnableLogging(arg1
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7548 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7551 wxChar
*arg2
= (wxChar
*) 0 ;
7553 PyObject
* obj0
= 0 ;
7554 PyObject
* obj1
= 0 ;
7555 PyObject
* obj2
= 0 ;
7557 (char *) "level",(char *) "szString",(char *) "t", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7561 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 Py_INCREF(Py_None
); resultobj
= Py_None
;
7581 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxLog
*arg1
= (wxLog
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7586 (char *) "self", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 Py_INCREF(Py_None
); resultobj
= Py_None
;
7606 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 wxLog::FlushActive();
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (wxLog
*)wxLog::GetActiveTarget();
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7649 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxLog
*arg1
= (wxLog
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "pLogger", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7675 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 Py_INCREF(Py_None
); resultobj
= Py_None
;
7696 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 Py_INCREF(Py_None
); resultobj
= Py_None
;
7717 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 bool arg1
= (bool) true ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "bVerbose", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7727 arg1
= (bool)SWIG_As_bool(obj0
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 wxLog::SetVerbose(arg1
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7744 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7747 PyObject
* obj0
= 0 ;
7749 (char *) "logLevel", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7753 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 wxLog::SetLogLevel(arg1
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 Py_INCREF(Py_None
); resultobj
= Py_None
;
7769 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 wxLog::DontCreateOnDemand();
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 Py_INCREF(Py_None
); resultobj
= Py_None
;
7790 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7793 PyObject
* obj0
= 0 ;
7795 (char *) "ulMask", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7799 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 wxLog::SetTraceMask(arg1
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxString
*arg1
= 0 ;
7818 bool temp1
= false ;
7819 PyObject
* obj0
= 0 ;
7821 (char *) "str", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7826 arg1
= wxString_in_helper(obj0
);
7827 if (arg1
== NULL
) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 wxLog::AddTraceMask((wxString
const &)*arg1
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 Py_INCREF(Py_None
); resultobj
= Py_None
;
7852 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxString
*arg1
= 0 ;
7855 bool temp1
= false ;
7856 PyObject
* obj0
= 0 ;
7858 (char *) "str", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7863 arg1
= wxString_in_helper(obj0
);
7864 if (arg1
== NULL
) SWIG_fail
;
7868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7869 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 Py_INCREF(Py_None
); resultobj
= Py_None
;
7889 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 wxLog::ClearTraceMasks();
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 Py_INCREF(Py_None
); resultobj
= Py_None
;
7910 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
;
7912 wxArrayString
*result
;
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7922 result
= (wxArrayString
*) &_result_ref
;
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= wxArrayString2PyList_helper(*result
);
7937 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxChar
*arg1
= (wxChar
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 wxLog::SetTimestamp((wxChar
const *)arg1
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 Py_INCREF(Py_None
); resultobj
= Py_None
;
7962 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (bool)wxLog::GetVerbose();
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7986 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (wxTraceMask
)wxLog::GetTraceMask();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8008 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
;
8010 wxChar
*arg1
= (wxChar
*) 0 ;
8012 PyObject
* obj0
= 0 ;
8014 (char *) "mask", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
8018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
8019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8036 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= (wxLogLevel
)wxLog::GetLogLevel();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8058 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (wxChar
*)wxLog::GetTimestamp();
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
8080 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= Log_TimeStamp();
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8108 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxLog
*arg1
= (wxLog
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8113 (char *) "self", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 wxLog_Destroy(arg1
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 Py_INCREF(Py_None
); resultobj
= Py_None
;
8133 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8136 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8138 return Py_BuildValue((char *)"");
8140 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxLogStderr
*result
;
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (wxLogStderr
*)new wxLogStderr();
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8162 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8165 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8167 return Py_BuildValue((char *)"");
8169 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8172 wxLogTextCtrl
*result
;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "pTextCtrl", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8195 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8198 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8200 return Py_BuildValue((char *)"");
8202 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (wxLogGui
*)new wxLogGui();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8224 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8227 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8229 return Py_BuildValue((char *)"");
8231 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxFrame
*arg1
= (wxFrame
*) 0 ;
8234 wxString
*arg2
= 0 ;
8235 bool arg3
= (bool) true ;
8236 bool arg4
= (bool) true ;
8237 wxLogWindow
*result
;
8238 bool temp2
= false ;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8241 PyObject
* obj2
= 0 ;
8242 PyObject
* obj3
= 0 ;
8244 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8251 arg2
= wxString_in_helper(obj1
);
8252 if (arg2
== NULL
) SWIG_fail
;
8256 arg3
= (bool)SWIG_As_bool(obj2
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8260 arg4
= (bool)SWIG_As_bool(obj3
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8285 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8288 bool arg2
= (bool) true ;
8289 PyObject
* obj0
= 0 ;
8290 PyObject
* obj1
= 0 ;
8292 (char *) "self",(char *) "bShow", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8299 arg2
= (bool)SWIG_As_bool(obj1
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8320 PyObject
* obj0
= 0 ;
8322 (char *) "self", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= wxPyMake_wxObject(result
, 0);
8344 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8370 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8374 PyObject
* obj0
= 0 ;
8376 (char *) "self", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8398 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8403 PyObject
* obj1
= 0 ;
8405 (char *) "self",(char *) "bDoPass", NULL
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8411 arg2
= (bool)SWIG_As_bool(obj1
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 (arg1
)->PassMessages(arg2
);
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 Py_INCREF(Py_None
); resultobj
= Py_None
;
8427 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8430 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8432 return Py_BuildValue((char *)"");
8434 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxLog
*arg1
= (wxLog
*) 0 ;
8438 PyObject
* obj0
= 0 ;
8440 (char *) "logger", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (wxLogChain
*)new wxLogChain(arg1
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8460 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8463 wxLog
*arg2
= (wxLog
*) 0 ;
8464 PyObject
* obj0
= 0 ;
8465 PyObject
* obj1
= 0 ;
8467 (char *) "self",(char *) "logger", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 (arg1
)->SetLog(arg2
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 Py_INCREF(Py_None
); resultobj
= Py_None
;
8489 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8493 PyObject
* obj0
= 0 ;
8494 PyObject
* obj1
= 0 ;
8496 (char *) "self",(char *) "bDoPass", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 arg2
= (bool)SWIG_As_bool(obj1
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 (arg1
)->PassMessages(arg2
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 Py_INCREF(Py_None
); resultobj
= Py_None
;
8518 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
;
8520 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8522 PyObject
* obj0
= 0 ;
8524 (char *) "self", NULL
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (bool)(arg1
)->IsPassingMessages();
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8546 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8552 (char *) "self", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (wxLog
*)(arg1
)->GetOldLog();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8572 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8575 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8577 return Py_BuildValue((char *)"");
8579 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 unsigned long result
;
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (unsigned long)wxSysErrorCode();
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8601 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 unsigned long arg1
= (unsigned long) 0 ;
8605 PyObject
* obj0
= 0 ;
8607 (char *) "nErrCode", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8612 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= wxSysErrorMsg(arg1
);
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8635 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8637 wxString
*arg1
= 0 ;
8638 bool temp1
= false ;
8639 PyObject
* obj0
= 0 ;
8641 (char *) "msg", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8646 arg1
= wxString_in_helper(obj0
);
8647 if (arg1
== NULL
) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 wxPyLogFatalError((wxString
const &)*arg1
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 Py_INCREF(Py_None
); resultobj
= Py_None
;
8672 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxString
*arg1
= 0 ;
8675 bool temp1
= false ;
8676 PyObject
* obj0
= 0 ;
8678 (char *) "msg", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8683 arg1
= wxString_in_helper(obj0
);
8684 if (arg1
== NULL
) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 wxPyLogError((wxString
const &)*arg1
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 Py_INCREF(Py_None
); resultobj
= Py_None
;
8709 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxString
*arg1
= 0 ;
8712 bool temp1
= false ;
8713 PyObject
* obj0
= 0 ;
8715 (char *) "msg", NULL
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8720 arg1
= wxString_in_helper(obj0
);
8721 if (arg1
== NULL
) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 wxPyLogWarning((wxString
const &)*arg1
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 Py_INCREF(Py_None
); resultobj
= Py_None
;
8746 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxString
*arg1
= 0 ;
8749 bool temp1
= false ;
8750 PyObject
* obj0
= 0 ;
8752 (char *) "msg", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8757 arg1
= wxString_in_helper(obj0
);
8758 if (arg1
== NULL
) SWIG_fail
;
8762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 wxPyLogMessage((wxString
const &)*arg1
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 Py_INCREF(Py_None
); resultobj
= Py_None
;
8783 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxString
*arg1
= 0 ;
8786 bool temp1
= false ;
8787 PyObject
* obj0
= 0 ;
8789 (char *) "msg", NULL
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8794 arg1
= wxString_in_helper(obj0
);
8795 if (arg1
== NULL
) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 wxPyLogInfo((wxString
const &)*arg1
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 Py_INCREF(Py_None
); resultobj
= Py_None
;
8820 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxString
*arg1
= 0 ;
8823 bool temp1
= false ;
8824 PyObject
* obj0
= 0 ;
8826 (char *) "msg", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8831 arg1
= wxString_in_helper(obj0
);
8832 if (arg1
== NULL
) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 wxPyLogDebug((wxString
const &)*arg1
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 Py_INCREF(Py_None
); resultobj
= Py_None
;
8857 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxString
*arg1
= 0 ;
8860 bool temp1
= false ;
8861 PyObject
* obj0
= 0 ;
8863 (char *) "msg", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8868 arg1
= wxString_in_helper(obj0
);
8869 if (arg1
== NULL
) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 wxPyLogVerbose((wxString
const &)*arg1
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 Py_INCREF(Py_None
); resultobj
= Py_None
;
8894 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8896 wxString
*arg1
= 0 ;
8897 bool temp1
= false ;
8898 PyObject
* obj0
= 0 ;
8900 (char *) "msg", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8905 arg1
= wxString_in_helper(obj0
);
8906 if (arg1
== NULL
) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 wxPyLogStatus((wxString
const &)*arg1
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8931 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
;
8933 wxFrame
*arg1
= (wxFrame
*) 0 ;
8934 wxString
*arg2
= 0 ;
8935 bool temp2
= false ;
8936 PyObject
* obj0
= 0 ;
8937 PyObject
* obj1
= 0 ;
8939 (char *) "pFrame",(char *) "msg", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8946 arg2
= wxString_in_helper(obj1
);
8947 if (arg2
== NULL
) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxString
*arg1
= 0 ;
8975 bool temp1
= false ;
8976 PyObject
* obj0
= 0 ;
8978 (char *) "msg", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8983 arg1
= wxString_in_helper(obj0
);
8984 if (arg1
== NULL
) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 wxPyLogSysError((wxString
const &)*arg1
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9009 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 unsigned long arg1
;
9012 wxString
*arg2
= 0 ;
9013 bool temp2
= false ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9017 (char *) "level",(char *) "msg", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9021 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 arg2
= wxString_in_helper(obj1
);
9025 if (arg2
== NULL
) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9050 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
9051 PyObject
*resultobj
;
9052 unsigned long arg1
;
9053 wxString
*arg2
= 0 ;
9054 bool temp2
= false ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9058 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9059 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 arg2
= wxString_in_helper(obj1
);
9063 if (arg2
== NULL
) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 Py_INCREF(Py_None
); resultobj
= Py_None
;
9088 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
9089 PyObject
*resultobj
;
9090 wxString
*arg1
= 0 ;
9091 wxString
*arg2
= 0 ;
9092 bool temp1
= false ;
9093 bool temp2
= false ;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9097 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9099 arg1
= wxString_in_helper(obj0
);
9100 if (arg1
== NULL
) SWIG_fail
;
9104 arg2
= wxString_in_helper(obj1
);
9105 if (arg2
== NULL
) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 Py_INCREF(Py_None
); resultobj
= Py_None
;
9138 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9143 argc
= PyObject_Length(args
);
9144 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9145 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9150 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9154 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9157 return _wrap_LogTrace__SWIG_1(self
,args
);
9163 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9166 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9169 return _wrap_LogTrace__SWIG_0(self
,args
);
9174 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9179 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxString
*arg1
= 0 ;
9182 wxString
*arg2
= 0 ;
9183 bool temp1
= false ;
9184 bool temp2
= false ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9188 (char *) "title",(char *) "text", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9193 arg1
= wxString_in_helper(obj0
);
9194 if (arg1
== NULL
) SWIG_fail
;
9198 arg2
= wxString_in_helper(obj1
);
9199 if (arg2
== NULL
) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 Py_INCREF(Py_None
); resultobj
= Py_None
;
9232 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (wxLogNull
*)new wxLogNull();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9254 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9257 PyObject
* obj0
= 0 ;
9259 (char *) "self", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 Py_INCREF(Py_None
); resultobj
= Py_None
;
9279 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9282 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9284 return Py_BuildValue((char *)"");
9286 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (wxPyLog
*)new wxPyLog();
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9308 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
;
9310 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9311 PyObject
*arg2
= (PyObject
*) 0 ;
9312 PyObject
*arg3
= (PyObject
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9314 PyObject
* obj1
= 0 ;
9315 PyObject
* obj2
= 0 ;
9317 (char *) "self",(char *) "self",(char *) "_class", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9339 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9342 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9344 return Py_BuildValue((char *)"");
9346 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9349 int arg2
= (int) wxSIGTERM
;
9350 int arg3
= (int) wxKILL_NOCHILDREN
;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9354 PyObject
* obj2
= 0 ;
9356 (char *) "pid",(char *) "sig",(char *) "flags", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9360 arg1
= (int)SWIG_As_int(obj0
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 arg2
= (int)SWIG_As_int(obj1
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9367 arg3
= (int)SWIG_As_int(obj2
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= SWIG_From_int((int)result
);
9384 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9388 PyObject
* obj0
= 0 ;
9390 (char *) "pid", NULL
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9394 arg1
= (int)SWIG_As_int(obj0
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (bool)wxPyProcess::Exists(arg1
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9412 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
;
9414 wxString
*arg1
= 0 ;
9415 int arg2
= (int) wxEXEC_ASYNC
;
9416 wxPyProcess
*result
;
9417 bool temp1
= false ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9421 (char *) "cmd",(char *) "flags", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9426 arg1
= wxString_in_helper(obj0
);
9427 if (arg1
== NULL
) SWIG_fail
;
9431 arg2
= (int)SWIG_As_int(obj1
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9456 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9459 int arg2
= (int) -1 ;
9460 wxPyProcess
*result
;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9464 (char *) "parent",(char *) "id", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9473 arg2
= (int)SWIG_As_int(obj1
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9490 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
;
9492 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9493 PyObject
*arg2
= (PyObject
*) 0 ;
9494 PyObject
*arg3
= (PyObject
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 PyObject
* obj2
= 0 ;
9499 (char *) "self",(char *) "self",(char *) "_class", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 Py_INCREF(Py_None
); resultobj
= Py_None
;
9521 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9527 PyObject
* obj1
= 0 ;
9528 PyObject
* obj2
= 0 ;
9530 (char *) "self",(char *) "pid",(char *) "status", NULL
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9536 arg2
= (int)SWIG_As_int(obj1
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9538 arg3
= (int)SWIG_As_int(obj2
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 (arg1
)->base_OnTerminate(arg2
,arg3
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 Py_INCREF(Py_None
); resultobj
= Py_None
;
9554 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9557 PyObject
* obj0
= 0 ;
9559 (char *) "self", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 Py_INCREF(Py_None
); resultobj
= Py_None
;
9579 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9583 PyObject
* obj0
= 0 ;
9585 (char *) "self", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (bool)(arg1
)->IsRedirected();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9607 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9610 PyObject
* obj0
= 0 ;
9612 (char *) "self", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 Py_INCREF(Py_None
); resultobj
= Py_None
;
9632 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
*resultobj
;
9634 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9635 wxInputStream
*result
;
9636 PyObject
* obj0
= 0 ;
9638 (char *) "self", NULL
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9652 wxPyInputStream
* _ptr
= NULL
;
9655 _ptr
= new wxPyInputStream(result
);
9657 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9665 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
;
9667 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9668 wxInputStream
*result
;
9669 PyObject
* obj0
= 0 ;
9671 (char *) "self", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9685 wxPyInputStream
* _ptr
= NULL
;
9688 _ptr
= new wxPyInputStream(result
);
9690 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9698 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9701 wxOutputStream
*result
;
9702 PyObject
* obj0
= 0 ;
9704 (char *) "self", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9724 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9727 PyObject
* obj0
= 0 ;
9729 (char *) "self", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 (arg1
)->CloseOutput();
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 Py_INCREF(Py_None
); resultobj
= Py_None
;
9749 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9753 PyObject
* obj0
= 0 ;
9755 (char *) "self", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9777 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9783 (char *) "self", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9805 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9811 (char *) "self", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9833 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9836 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9838 return Py_BuildValue((char *)"");
9840 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 int arg1
= (int) 0 ;
9843 int arg2
= (int) 0 ;
9844 int arg3
= (int) 0 ;
9845 wxProcessEvent
*result
;
9846 PyObject
* obj0
= 0 ;
9847 PyObject
* obj1
= 0 ;
9848 PyObject
* obj2
= 0 ;
9850 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9855 arg1
= (int)SWIG_As_int(obj0
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 arg2
= (int)SWIG_As_int(obj1
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9863 arg3
= (int)SWIG_As_int(obj2
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9880 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (int)(arg1
)->GetPid();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_From_int((int)result
);
9906 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9910 PyObject
* obj0
= 0 ;
9912 (char *) "self", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (int)(arg1
)->GetExitCode();
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= SWIG_From_int((int)result
);
9932 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
;
9934 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9936 PyObject
* obj0
= 0 ;
9937 PyObject
* obj1
= 0 ;
9939 (char *) "self",(char *) "m_pid", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9945 arg2
= (int)SWIG_As_int(obj1
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9947 if (arg1
) (arg1
)->m_pid
= arg2
;
9949 Py_INCREF(Py_None
); resultobj
= Py_None
;
9956 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
;
9958 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9962 (char *) "self", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9968 result
= (int) ((arg1
)->m_pid
);
9970 resultobj
= SWIG_From_int((int)result
);
9977 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "m_exitcode", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9990 arg2
= (int)SWIG_As_int(obj1
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9992 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9994 Py_INCREF(Py_None
); resultobj
= Py_None
;
10001 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
10011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
10012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10013 result
= (int) ((arg1
)->m_exitcode
);
10015 resultobj
= SWIG_From_int((int)result
);
10022 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
10024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10025 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
10027 return Py_BuildValue((char *)"");
10029 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxString
*arg1
= 0 ;
10032 int arg2
= (int) wxEXEC_ASYNC
;
10033 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
10035 bool temp1
= false ;
10036 PyObject
* obj0
= 0 ;
10037 PyObject
* obj1
= 0 ;
10038 PyObject
* obj2
= 0 ;
10039 char *kwnames
[] = {
10040 (char *) "command",(char *) "flags",(char *) "process", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10045 arg1
= wxString_in_helper(obj0
);
10046 if (arg1
== NULL
) SWIG_fail
;
10050 arg2
= (int)SWIG_As_int(obj1
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10054 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
10055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10058 if (!wxPyCheckForApp()) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= SWIG_From_long((long)result
);
10080 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10083 int arg2
= (int) wxSIGTERM
;
10084 wxKillError
*arg3
= (wxKillError
*) 0 ;
10085 int arg4
= (int) wxKILL_NOCHILDREN
;
10087 wxKillError temp3
;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 PyObject
* obj2
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10099 arg1
= (long)SWIG_As_long(obj0
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 arg2
= (int)SWIG_As_int(obj1
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10106 arg4
= (int)SWIG_As_int(obj2
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_From_int((int)result
);
10119 o
= PyInt_FromLong((long) (*arg3
));
10120 resultobj
= t_output_helper(resultobj
, o
);
10128 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10130 int arg1
= (int) wxJOYSTICK1
;
10131 wxJoystick
*result
;
10132 PyObject
* obj0
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "joystick", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
10139 arg1
= (int)SWIG_As_int(obj0
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10143 if (!wxPyCheckForApp()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (wxJoystick
*)new wxJoystick(arg1
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10157 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10160 PyObject
* obj0
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 Py_INCREF(Py_None
); resultobj
= Py_None
;
10182 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (arg1
)->GetPosition();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10202 wxPoint
* resultptr
;
10203 resultptr
= new wxPoint((wxPoint
&) result
);
10204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10212 static PyObject
*_wrap_Joystick_GetZPosition(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_GetZPosition",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
)->GetZPosition();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_From_int((int)result
);
10238 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (int)(arg1
)->GetButtonState();
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_From_int((int)result
);
10264 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (int)(arg1
)->GetPOVPosition();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= SWIG_From_int((int)result
);
10290 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (int)(arg1
)->GetPOVCTSPosition();
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_From_int((int)result
);
10316 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
;
10318 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (int)(arg1
)->GetRudderPosition();
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_From_int((int)result
);
10342 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10346 PyObject
* obj0
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (int)(arg1
)->GetUPosition();
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= SWIG_From_int((int)result
);
10368 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (int)(arg1
)->GetVPosition();
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_From_int((int)result
);
10394 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10398 PyObject
* obj0
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (int)(arg1
)->GetMovementThreshold();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_From_int((int)result
);
10420 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 PyObject
* obj1
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "threshold", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 arg2
= (int)SWIG_As_int(obj1
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 (arg1
)->SetMovementThreshold(arg2
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 Py_INCREF(Py_None
); resultobj
= Py_None
;
10449 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10453 PyObject
* obj0
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (bool)(arg1
)->IsOk();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10477 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (int)(arg1
)->GetNumberJoysticks();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_From_int((int)result
);
10503 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10507 PyObject
* obj0
= 0 ;
10508 char *kwnames
[] = {
10509 (char *) "self", NULL
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= (int)(arg1
)->GetManufacturerId();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= SWIG_From_int((int)result
);
10529 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10533 PyObject
* obj0
= 0 ;
10534 char *kwnames
[] = {
10535 (char *) "self", NULL
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (int)(arg1
)->GetProductId();
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= SWIG_From_int((int)result
);
10555 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
;
10557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10559 PyObject
* obj0
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 result
= (arg1
)->GetProductName();
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10587 static PyObject
*_wrap_Joystick_GetXMin(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_GetXMin",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
)->GetXMin();
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_From_int((int)result
);
10613 static PyObject
*_wrap_Joystick_GetYMin(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_GetYMin",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
)->GetYMin();
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_From_int((int)result
);
10639 static PyObject
*_wrap_Joystick_GetZMin(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_GetZMin",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
)->GetZMin();
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= SWIG_From_int((int)result
);
10665 static PyObject
*_wrap_Joystick_GetXMax(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_GetXMax",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
)->GetXMax();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= SWIG_From_int((int)result
);
10691 static PyObject
*_wrap_Joystick_GetYMax(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_GetYMax",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
)->GetYMax();
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= SWIG_From_int((int)result
);
10717 static PyObject
*_wrap_Joystick_GetZMax(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_GetZMax",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
)->GetZMax();
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= SWIG_From_int((int)result
);
10743 static PyObject
*_wrap_Joystick_GetNumberButtons(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_GetNumberButtons",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
)->GetNumberButtons();
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_From_int((int)result
);
10769 static PyObject
*_wrap_Joystick_GetNumberAxes(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_GetNumberAxes",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
)->GetNumberAxes();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= SWIG_From_int((int)result
);
10795 static PyObject
*_wrap_Joystick_GetMaxButtons(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_GetMaxButtons",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
)->GetMaxButtons();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= SWIG_From_int((int)result
);
10821 static PyObject
*_wrap_Joystick_GetMaxAxes(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_GetMaxAxes",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
)->GetMaxAxes();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_From_int((int)result
);
10847 static PyObject
*_wrap_Joystick_GetPollingMin(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_GetPollingMin",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
)->GetPollingMin();
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_From_int((int)result
);
10873 static PyObject
*_wrap_Joystick_GetPollingMax(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_GetPollingMax",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
= (int)(arg1
)->GetPollingMax();
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= SWIG_From_int((int)result
);
10899 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (int)(arg1
)->GetRudderMin();
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_From_int((int)result
);
10925 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (int)(arg1
)->GetRudderMax();
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_From_int((int)result
);
10951 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (int)(arg1
)->GetUMin();
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 resultobj
= SWIG_From_int((int)result
);
10977 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10981 PyObject
* obj0
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= (int)(arg1
)->GetUMax();
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= SWIG_From_int((int)result
);
11003 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (int)(arg1
)->GetVMin();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= SWIG_From_int((int)result
);
11029 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11033 PyObject
* obj0
= 0 ;
11034 char *kwnames
[] = {
11035 (char *) "self", NULL
11038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
11039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (int)(arg1
)->GetVMax();
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= SWIG_From_int((int)result
);
11055 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
;
11057 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11059 PyObject
* obj0
= 0 ;
11060 char *kwnames
[] = {
11061 (char *) "self", NULL
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
11065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11069 result
= (bool)(arg1
)->HasRudder();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11087 PyObject
* obj0
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)(arg1
)->HasZ();
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11111 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11115 PyObject
* obj0
= 0 ;
11116 char *kwnames
[] = {
11117 (char *) "self", NULL
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
11121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 result
= (bool)(arg1
)->HasU();
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11139 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
;
11141 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11143 PyObject
* obj0
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (bool)(arg1
)->HasV();
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11167 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11171 PyObject
* obj0
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "self", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (bool)(arg1
)->HasPOV();
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11195 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
;
11197 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11199 PyObject
* obj0
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "self", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 result
= (bool)(arg1
)->HasPOV4Dir();
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11223 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
;
11225 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11227 PyObject
* obj0
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "self", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (bool)(arg1
)->HasPOVCTS();
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11251 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11254 wxWindow
*arg2
= (wxWindow
*) 0 ;
11255 int arg3
= (int) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11270 arg3
= (int)SWIG_As_int(obj2
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11289 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11293 PyObject
* obj0
= 0 ;
11294 char *kwnames
[] = {
11295 (char *) "self", NULL
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (bool)(arg1
)->ReleaseCapture();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11317 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11320 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11322 return Py_BuildValue((char *)"");
11324 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11327 wxPoint
*arg2
= (wxPoint
*) 0 ;
11328 PyObject
* obj0
= 0 ;
11329 PyObject
* obj1
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self",(char *) "m_pos", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 if (arg1
) (arg1
)->m_pos
= *arg2
;
11341 Py_INCREF(Py_None
); resultobj
= Py_None
;
11348 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11360 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11369 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self",(char *) "m_zPosition", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11382 arg2
= (int)SWIG_As_int(obj1
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11384 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11386 Py_INCREF(Py_None
); resultobj
= Py_None
;
11393 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
;
11395 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11405 result
= (int) ((arg1
)->m_zPosition
);
11407 resultobj
= SWIG_From_int((int)result
);
11414 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11418 PyObject
* obj0
= 0 ;
11419 PyObject
* obj1
= 0 ;
11420 char *kwnames
[] = {
11421 (char *) "self",(char *) "m_buttonChange", NULL
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11427 arg2
= (int)SWIG_As_int(obj1
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11429 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11431 Py_INCREF(Py_None
); resultobj
= Py_None
;
11438 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
;
11440 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11442 PyObject
* obj0
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11450 result
= (int) ((arg1
)->m_buttonChange
);
11452 resultobj
= SWIG_From_int((int)result
);
11459 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "m_buttonState", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11472 arg2
= (int)SWIG_As_int(obj1
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11474 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11476 Py_INCREF(Py_None
); resultobj
= Py_None
;
11483 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11495 result
= (int) ((arg1
)->m_buttonState
);
11497 resultobj
= SWIG_From_int((int)result
);
11504 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11508 PyObject
* obj0
= 0 ;
11509 PyObject
* obj1
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self",(char *) "m_joyStick", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11517 arg2
= (int)SWIG_As_int(obj1
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11519 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11521 Py_INCREF(Py_None
); resultobj
= Py_None
;
11528 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11532 PyObject
* obj0
= 0 ;
11533 char *kwnames
[] = {
11534 (char *) "self", NULL
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 result
= (int) ((arg1
)->m_joyStick
);
11542 resultobj
= SWIG_From_int((int)result
);
11549 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11552 int arg2
= (int) 0 ;
11553 int arg3
= (int) wxJOYSTICK1
;
11554 int arg4
= (int) 0 ;
11555 wxJoystickEvent
*result
;
11556 PyObject
* obj0
= 0 ;
11557 PyObject
* obj1
= 0 ;
11558 PyObject
* obj2
= 0 ;
11559 PyObject
* obj3
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11566 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11570 arg2
= (int)SWIG_As_int(obj1
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11574 arg3
= (int)SWIG_As_int(obj2
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11578 arg4
= (int)SWIG_As_int(obj3
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11595 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11615 wxPoint
* resultptr
;
11616 resultptr
= new wxPoint((wxPoint
&) result
);
11617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11625 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= SWIG_From_int((int)result
);
11651 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 char *kwnames
[] = {
11657 (char *) "self", NULL
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SWIG_From_int((int)result
);
11677 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11681 PyObject
* obj0
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "self", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 resultobj
= SWIG_From_int((int)result
);
11703 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11707 PyObject
* obj0
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "self", NULL
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= SWIG_From_int((int)result
);
11729 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11730 PyObject
*resultobj
;
11731 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11733 PyObject
* obj0
= 0 ;
11734 PyObject
* obj1
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self",(char *) "stick", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11742 arg2
= (int)SWIG_As_int(obj1
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 (arg1
)->SetJoystick(arg2
);
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 Py_INCREF(Py_None
); resultobj
= Py_None
;
11758 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self",(char *) "state", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11771 arg2
= (int)SWIG_As_int(obj1
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 (arg1
)->SetButtonState(arg2
);
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11780 Py_INCREF(Py_None
); resultobj
= Py_None
;
11787 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
;
11789 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11791 PyObject
* obj0
= 0 ;
11792 PyObject
* obj1
= 0 ;
11793 char *kwnames
[] = {
11794 (char *) "self",(char *) "change", NULL
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11800 arg2
= (int)SWIG_As_int(obj1
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->SetButtonChange(arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11816 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11819 wxPoint
*arg2
= 0 ;
11821 PyObject
* obj0
= 0 ;
11822 PyObject
* obj1
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "self",(char *) "pos", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 Py_INCREF(Py_None
); resultobj
= Py_None
;
11848 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self",(char *) "zPos", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11861 arg2
= (int)SWIG_As_int(obj1
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 (arg1
)->SetZPosition(arg2
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 Py_INCREF(Py_None
); resultobj
= Py_None
;
11877 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11905 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
;
11907 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11933 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
;
11935 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11937 PyObject
* obj0
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11961 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11964 int arg2
= (int) wxJOY_BUTTON_ANY
;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self",(char *) "but", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11976 arg2
= (int)SWIG_As_int(obj1
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11995 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11998 int arg2
= (int) wxJOY_BUTTON_ANY
;
12000 PyObject
* obj0
= 0 ;
12001 PyObject
* obj1
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self",(char *) "but", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
12008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12010 arg2
= (int)SWIG_As_int(obj1
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12029 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12032 int arg2
= (int) wxJOY_BUTTON_ANY
;
12034 PyObject
* obj0
= 0 ;
12035 PyObject
* obj1
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self",(char *) "but", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
12042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12044 arg2
= (int)SWIG_As_int(obj1
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12063 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
12065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12066 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
12068 return Py_BuildValue((char *)"");
12070 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxString
const &arg1_defvalue
= wxPyEmptyString
;
12073 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12075 bool temp1
= false ;
12076 PyObject
* obj0
= 0 ;
12077 char *kwnames
[] = {
12078 (char *) "fileName", NULL
12081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
12084 arg1
= wxString_in_helper(obj0
);
12085 if (arg1
== NULL
) SWIG_fail
;
12090 if (!wxPyCheckForApp()) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12112 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 PyObject
*arg1
= (PyObject
*) 0 ;
12116 PyObject
* obj0
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "data", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
12124 if (!wxPyCheckForApp()) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= (wxSound
*)new_wxSound(arg1
);
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12138 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
;
12140 wxSound
*arg1
= (wxSound
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 Py_INCREF(Py_None
); resultobj
= Py_None
;
12163 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxSound
*arg1
= (wxSound
*) 0 ;
12166 wxString
*arg2
= 0 ;
12168 bool temp2
= false ;
12169 PyObject
* obj0
= 0 ;
12170 PyObject
* obj1
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self",(char *) "fileName", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12179 arg2
= wxString_in_helper(obj1
);
12180 if (arg2
== NULL
) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12207 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxSound
*arg1
= (wxSound
*) 0 ;
12210 PyObject
*arg2
= (PyObject
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 char *kwnames
[] = {
12215 (char *) "self",(char *) "data", NULL
12218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12238 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxSound
*arg1
= (wxSound
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (bool)(arg1
)->IsOk();
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12266 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxSound
*arg1
= (wxSound
*) 0 ;
12269 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "flags", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12285 if (!wxPyCheckForApp()) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12301 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxString
*arg1
= 0 ;
12304 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12306 bool temp1
= false ;
12307 PyObject
* obj0
= 0 ;
12308 PyObject
* obj1
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "filename",(char *) "flags", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12315 arg1
= wxString_in_helper(obj0
);
12316 if (arg1
== NULL
) SWIG_fail
;
12320 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 if (!wxPyCheckForApp()) SWIG_fail
;
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12348 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 char *kwnames
[] = {
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12356 if (!wxPyCheckForApp()) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 Py_INCREF(Py_None
); resultobj
= Py_None
;
12370 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12373 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12375 return Py_BuildValue((char *)"");
12377 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxString
*arg1
= 0 ;
12380 wxString
*arg2
= 0 ;
12381 wxString
*arg3
= 0 ;
12382 wxString
*arg4
= 0 ;
12383 wxFileTypeInfo
*result
;
12384 bool temp1
= false ;
12385 bool temp2
= false ;
12386 bool temp3
= false ;
12387 bool temp4
= false ;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 PyObject
* obj2
= 0 ;
12391 PyObject
* obj3
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12398 arg1
= wxString_in_helper(obj0
);
12399 if (arg1
== NULL
) SWIG_fail
;
12403 arg2
= wxString_in_helper(obj1
);
12404 if (arg2
== NULL
) SWIG_fail
;
12408 arg3
= wxString_in_helper(obj2
);
12409 if (arg3
== NULL
) SWIG_fail
;
12413 arg4
= wxString_in_helper(obj3
);
12414 if (arg4
== NULL
) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12463 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxArrayString
*arg1
= 0 ;
12466 wxFileTypeInfo
*result
;
12467 bool temp1
= false ;
12468 PyObject
* obj0
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "sArray", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12475 if (! PySequence_Check(obj0
)) {
12476 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12479 arg1
= new wxArrayString
;
12481 int i
, len
=PySequence_Length(obj0
);
12482 for (i
=0; i
<len
; i
++) {
12483 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12485 PyObject
* str
= PyObject_Unicode(item
);
12487 PyObject
* str
= PyObject_Str(item
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12490 arg1
->Add(Py2wxString(str
));
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12504 if (temp1
) delete arg1
;
12509 if (temp1
) delete arg1
;
12515 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxFileTypeInfo
*result
;
12518 char *kwnames
[] = {
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12537 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12565 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12568 wxString
*arg2
= 0 ;
12569 int arg3
= (int) 0 ;
12570 bool temp2
= false ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 PyObject
* obj2
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 arg2
= wxString_in_helper(obj1
);
12583 if (arg2
== NULL
) SWIG_fail
;
12587 arg3
= (int)SWIG_As_int(obj2
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12612 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12615 wxString
*arg2
= 0 ;
12616 bool temp2
= false ;
12617 PyObject
* obj0
= 0 ;
12618 PyObject
* obj1
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self",(char *) "shortDesc", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12627 arg2
= wxString_in_helper(obj1
);
12628 if (arg2
== NULL
) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 Py_INCREF(Py_None
); resultobj
= Py_None
;
12653 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12669 result
= (wxString
*) &_result_ref
;
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12679 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12688 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12704 result
= (wxString
*) &_result_ref
;
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12714 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12723 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12739 result
= (wxString
*) &_result_ref
;
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12749 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12758 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12774 result
= (wxString
*) &_result_ref
;
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12784 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12793 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12797 PyObject
* obj0
= 0 ;
12798 char *kwnames
[] = {
12799 (char *) "self", NULL
12802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12809 result
= (wxString
*) &_result_ref
;
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12819 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12828 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12831 wxArrayString
*result
;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12844 result
= (wxArrayString
*) &_result_ref
;
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= wxArrayString2PyList_helper(*result
);
12859 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= SWIG_From_int((int)result
);
12885 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12889 PyObject
* obj0
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12901 result
= (wxString
*) &_result_ref
;
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12911 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12920 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12924 PyObject
* obj0
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "self", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= SWIG_From_int((int)result
);
12946 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12949 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12951 return Py_BuildValue((char *)"");
12953 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxFileTypeInfo
*arg1
= 0 ;
12956 wxFileType
*result
;
12957 PyObject
* obj0
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "ftInfo", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12966 if (arg1
== NULL
) {
12967 PyErr_SetString(PyExc_TypeError
,"null reference");
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12984 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxFileType
*arg1
= (wxFileType
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 Py_INCREF(Py_None
); resultobj
= Py_None
;
13009 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxFileType
*arg1
= (wxFileType
*) 0 ;
13013 PyObject
* obj0
= 0 ;
13014 char *kwnames
[] = {
13015 (char *) "self", NULL
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
13019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 resultobj
= result
;
13035 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxFileType
*arg1
= (wxFileType
*) 0 ;
13039 PyObject
* obj0
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 resultobj
= result
;
13061 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxFileType
*arg1
= (wxFileType
*) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= result
;
13087 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxFileType
*arg1
= (wxFileType
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
13113 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxFileType
*arg1
= (wxFileType
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= result
;
13139 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxFileType
*arg1
= (wxFileType
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= result
;
13165 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxFileType
*arg1
= (wxFileType
*) 0 ;
13168 wxString
*arg2
= 0 ;
13169 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13170 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13172 bool temp2
= false ;
13173 bool temp3
= false ;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 PyObject
* obj2
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13185 arg2
= wxString_in_helper(obj1
);
13186 if (arg2
== NULL
) SWIG_fail
;
13191 arg3
= wxString_in_helper(obj2
);
13192 if (arg3
== NULL
) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= result
;
13226 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxFileType
*arg1
= (wxFileType
*) 0 ;
13229 wxString
*arg2
= 0 ;
13230 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13231 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13233 bool temp2
= false ;
13234 bool temp3
= false ;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 PyObject
* obj2
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13246 arg2
= wxString_in_helper(obj1
);
13247 if (arg2
== NULL
) SWIG_fail
;
13252 arg3
= wxString_in_helper(obj2
);
13253 if (arg3
== NULL
) SWIG_fail
;
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= result
;
13287 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxFileType
*arg1
= (wxFileType
*) 0 ;
13290 wxString
*arg2
= 0 ;
13291 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13292 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13294 bool temp2
= false ;
13295 bool temp3
= false ;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 PyObject
* obj2
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13307 arg2
= wxString_in_helper(obj1
);
13308 if (arg2
== NULL
) SWIG_fail
;
13313 arg3
= wxString_in_helper(obj2
);
13314 if (arg3
== NULL
) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 resultobj
= result
;
13348 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
;
13350 wxFileType
*arg1
= (wxFileType
*) 0 ;
13351 wxString
*arg2
= 0 ;
13352 wxString
*arg3
= 0 ;
13353 bool arg4
= (bool) true ;
13355 bool temp2
= false ;
13356 bool temp3
= false ;
13357 PyObject
* obj0
= 0 ;
13358 PyObject
* obj1
= 0 ;
13359 PyObject
* obj2
= 0 ;
13360 PyObject
* obj3
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 arg2
= wxString_in_helper(obj1
);
13370 if (arg2
== NULL
) SWIG_fail
;
13374 arg3
= wxString_in_helper(obj2
);
13375 if (arg3
== NULL
) SWIG_fail
;
13379 arg4
= (bool)SWIG_As_bool(obj3
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13414 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxFileType
*arg1
= (wxFileType
*) 0 ;
13417 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13418 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13419 int arg3
= (int) 0 ;
13421 bool temp2
= false ;
13422 PyObject
* obj0
= 0 ;
13423 PyObject
* obj1
= 0 ;
13424 PyObject
* obj2
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self",(char *) "cmd",(char *) "index", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13434 arg2
= wxString_in_helper(obj1
);
13435 if (arg2
== NULL
) SWIG_fail
;
13440 arg3
= (int)SWIG_As_int(obj2
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13467 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxFileType
*arg1
= (wxFileType
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (bool)(arg1
)->Unassociate();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13495 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxString
*arg1
= 0 ;
13498 wxString
*arg2
= 0 ;
13499 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13500 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13502 bool temp1
= false ;
13503 bool temp2
= false ;
13504 bool temp3
= false ;
13505 PyObject
* obj0
= 0 ;
13506 PyObject
* obj1
= 0 ;
13507 PyObject
* obj2
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13514 arg1
= wxString_in_helper(obj0
);
13515 if (arg1
== NULL
) SWIG_fail
;
13519 arg2
= wxString_in_helper(obj1
);
13520 if (arg2
== NULL
) SWIG_fail
;
13525 arg3
= wxString_in_helper(obj2
);
13526 if (arg3
== NULL
) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13574 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13577 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13579 return Py_BuildValue((char *)"");
13581 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13582 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13587 static PyObject
*_wrap_TheMimeTypesManager_get() {
13590 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13595 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxString
*arg1
= 0 ;
13598 wxString
*arg2
= 0 ;
13600 bool temp1
= false ;
13601 bool temp2
= false ;
13602 PyObject
* obj0
= 0 ;
13603 PyObject
* obj1
= 0 ;
13604 char *kwnames
[] = {
13605 (char *) "mimeType",(char *) "wildcard", NULL
13608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13610 arg1
= wxString_in_helper(obj0
);
13611 if (arg1
== NULL
) SWIG_fail
;
13615 arg2
= wxString_in_helper(obj1
);
13616 if (arg2
== NULL
) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13651 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxMimeTypesManager
*result
;
13654 char *kwnames
[] = {
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13673 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13676 int arg2
= (int) wxMAILCAP_ALL
;
13677 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13678 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13679 bool temp3
= false ;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 PyObject
* obj2
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 arg2
= (int)SWIG_As_int(obj1
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13696 arg3
= wxString_in_helper(obj2
);
13697 if (arg3
== NULL
) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 Py_INCREF(Py_None
); resultobj
= Py_None
;
13723 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13726 PyObject
* obj0
= 0 ;
13727 char *kwnames
[] = {
13728 (char *) "self", NULL
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->ClearData();
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 Py_INCREF(Py_None
); resultobj
= Py_None
;
13748 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13751 wxString
*arg2
= 0 ;
13752 wxFileType
*result
;
13753 bool temp2
= false ;
13754 PyObject
* obj0
= 0 ;
13755 PyObject
* obj1
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "self",(char *) "ext", NULL
13760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13764 arg2
= wxString_in_helper(obj1
);
13765 if (arg2
== NULL
) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13790 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13793 wxString
*arg2
= 0 ;
13794 wxFileType
*result
;
13795 bool temp2
= false ;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self",(char *) "mimeType", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 arg2
= wxString_in_helper(obj1
);
13807 if (arg2
== NULL
) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13832 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13835 wxString
*arg2
= 0 ;
13836 bool arg3
= (bool) false ;
13838 bool temp2
= false ;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 PyObject
* obj2
= 0 ;
13842 char *kwnames
[] = {
13843 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13850 arg2
= wxString_in_helper(obj1
);
13851 if (arg2
== NULL
) SWIG_fail
;
13855 arg3
= (bool)SWIG_As_bool(obj2
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13882 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13885 wxString
*arg2
= 0 ;
13887 bool temp2
= false ;
13888 PyObject
* obj0
= 0 ;
13889 PyObject
* obj1
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self",(char *) "filename", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13898 arg2
= wxString_in_helper(obj1
);
13899 if (arg2
== NULL
) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13926 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
;
13928 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13930 PyObject
* obj0
= 0 ;
13931 char *kwnames
[] = {
13932 (char *) "self", NULL
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= result
;
13952 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13955 wxFileTypeInfo
*arg2
= 0 ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "ft", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13968 if (arg2
== NULL
) {
13969 PyErr_SetString(PyExc_TypeError
,"null reference");
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 Py_INCREF(Py_None
); resultobj
= Py_None
;
13986 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13989 wxFileTypeInfo
*arg2
= 0 ;
13990 wxFileType
*result
;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 char *kwnames
[] = {
13994 (char *) "self",(char *) "ftInfo", NULL
13997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
14001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14003 if (arg2
== NULL
) {
14004 PyErr_SetString(PyExc_TypeError
,"null reference");
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14021 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
;
14023 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14024 wxFileType
*arg2
= (wxFileType
*) 0 ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 char *kwnames
[] = {
14029 (char *) "self",(char *) "ft", NULL
14032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
14033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (bool)(arg1
)->Unassociate(arg2
);
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14053 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 Py_INCREF(Py_None
); resultobj
= Py_None
;
14078 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
14080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14081 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
14083 return Py_BuildValue((char *)"");
14085 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
14086 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
14091 static PyObject
*_wrap_ART_TOOLBAR_get() {
14096 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14098 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14105 static int _wrap_ART_MENU_set(PyObject
*) {
14106 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
14111 static PyObject
*_wrap_ART_MENU_get() {
14116 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14118 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14125 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
14126 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
14131 static PyObject
*_wrap_ART_FRAME_ICON_get() {
14136 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14138 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14145 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
14146 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
14151 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14156 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14158 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14165 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14166 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14171 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14176 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14178 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14185 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14186 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14191 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14196 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14198 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14205 static int _wrap_ART_BUTTON_set(PyObject
*) {
14206 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14211 static PyObject
*_wrap_ART_BUTTON_get() {
14216 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14218 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14225 static int _wrap_ART_OTHER_set(PyObject
*) {
14226 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14231 static PyObject
*_wrap_ART_OTHER_get() {
14236 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14238 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14245 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14246 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14251 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14256 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14258 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14265 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14266 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14271 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14276 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14278 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14285 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14286 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14291 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14296 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14298 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14305 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14306 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14311 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14316 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14318 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14325 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14326 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14331 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14336 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14338 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14345 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14346 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14351 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14356 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14358 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14365 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14366 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14371 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14376 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14378 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14385 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14386 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14391 static PyObject
*_wrap_ART_GO_BACK_get() {
14396 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14398 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14405 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14406 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14411 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14416 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14418 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14425 static int _wrap_ART_GO_UP_set(PyObject
*) {
14426 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14431 static PyObject
*_wrap_ART_GO_UP_get() {
14436 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14438 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14445 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14446 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14451 static PyObject
*_wrap_ART_GO_DOWN_get() {
14456 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14458 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14465 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14466 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14471 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14476 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14478 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14485 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14486 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14491 static PyObject
*_wrap_ART_GO_HOME_get() {
14496 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14498 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14505 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14506 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14511 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14516 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14518 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14525 static int _wrap_ART_PRINT_set(PyObject
*) {
14526 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14531 static PyObject
*_wrap_ART_PRINT_get() {
14536 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14538 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14545 static int _wrap_ART_HELP_set(PyObject
*) {
14546 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14551 static PyObject
*_wrap_ART_HELP_get() {
14556 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14558 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14565 static int _wrap_ART_TIP_set(PyObject
*) {
14566 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14571 static PyObject
*_wrap_ART_TIP_get() {
14576 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14578 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14585 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14586 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14591 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14596 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14598 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14605 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14606 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14611 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14616 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14618 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14625 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14626 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14631 static PyObject
*_wrap_ART_NEW_DIR_get() {
14636 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14638 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14645 static int _wrap_ART_HARDDISK_set(PyObject
*) {
14646 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
14651 static PyObject
*_wrap_ART_HARDDISK_get() {
14656 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14658 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14665 static int _wrap_ART_FLOPPY_set(PyObject
*) {
14666 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
14671 static PyObject
*_wrap_ART_FLOPPY_get() {
14676 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14678 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14685 static int _wrap_ART_CDROM_set(PyObject
*) {
14686 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
14691 static PyObject
*_wrap_ART_CDROM_get() {
14696 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14698 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14705 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
14706 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
14711 static PyObject
*_wrap_ART_REMOVABLE_get() {
14716 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14718 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14725 static int _wrap_ART_FOLDER_set(PyObject
*) {
14726 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14731 static PyObject
*_wrap_ART_FOLDER_get() {
14736 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14738 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14745 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
14746 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
14751 static PyObject
*_wrap_ART_FOLDER_OPEN_get() {
14756 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14758 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14765 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14766 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14771 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14776 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14778 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14785 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14786 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14791 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14796 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14798 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14805 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14806 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14811 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14816 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14818 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14825 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14826 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14831 static PyObject
*_wrap_ART_TICK_MARK_get() {
14836 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14838 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14845 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14846 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14851 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14856 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14858 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14865 static int _wrap_ART_ERROR_set(PyObject
*) {
14866 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14871 static PyObject
*_wrap_ART_ERROR_get() {
14876 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14878 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14885 static int _wrap_ART_QUESTION_set(PyObject
*) {
14886 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14891 static PyObject
*_wrap_ART_QUESTION_get() {
14896 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14898 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14905 static int _wrap_ART_WARNING_set(PyObject
*) {
14906 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14911 static PyObject
*_wrap_ART_WARNING_get() {
14916 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14918 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14925 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14926 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14931 static PyObject
*_wrap_ART_INFORMATION_get() {
14936 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14938 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14945 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14946 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14951 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14956 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14958 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14965 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxPyArtProvider
*result
;
14968 char *kwnames
[] = {
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14974 if (!wxPyCheckForApp()) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14988 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14991 PyObject
*arg2
= (PyObject
*) 0 ;
14992 PyObject
*arg3
= (PyObject
*) 0 ;
14993 PyObject
* obj0
= 0 ;
14994 PyObject
* obj1
= 0 ;
14995 PyObject
* obj2
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self",(char *) "self",(char *) "_class", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 Py_INCREF(Py_None
); resultobj
= Py_None
;
15019 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "provider", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
15028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 wxPyArtProvider::PushProvider(arg1
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 Py_INCREF(Py_None
); resultobj
= Py_None
;
15044 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
;
15047 char *kwnames
[] = {
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (bool)wxPyArtProvider::PopProvider();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15068 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "provider", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
15078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15096 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxString
*arg1
= 0 ;
15099 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15100 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15101 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15102 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15104 bool temp1
= false ;
15105 bool temp2
= false ;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15109 PyObject
* obj2
= 0 ;
15110 char *kwnames
[] = {
15111 (char *) "id",(char *) "client",(char *) "size", NULL
15114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15116 arg1
= wxString_in_helper(obj0
);
15117 if (arg1
== NULL
) SWIG_fail
;
15122 arg2
= wxString_in_helper(obj1
);
15123 if (arg2
== NULL
) SWIG_fail
;
15130 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15134 if (!wxPyCheckForApp()) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15142 wxBitmap
* resultptr
;
15143 resultptr
= new wxBitmap((wxBitmap
&) result
);
15144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15168 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxString
*arg1
= 0 ;
15171 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15172 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15173 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15174 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15176 bool temp1
= false ;
15177 bool temp2
= false ;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 PyObject
* obj2
= 0 ;
15182 char *kwnames
[] = {
15183 (char *) "id",(char *) "client",(char *) "size", NULL
15186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15188 arg1
= wxString_in_helper(obj0
);
15189 if (arg1
== NULL
) SWIG_fail
;
15194 arg2
= wxString_in_helper(obj1
);
15195 if (arg2
== NULL
) SWIG_fail
;
15202 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15206 if (!wxPyCheckForApp()) SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15214 wxIcon
* resultptr
;
15215 resultptr
= new wxIcon((wxIcon
&) result
);
15216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
15240 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 wxPyArtProvider_Destroy(arg1
);
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15258 Py_INCREF(Py_None
); resultobj
= Py_None
;
15265 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15268 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15270 return Py_BuildValue((char *)"");
15272 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 Py_INCREF(Py_None
); resultobj
= Py_None
;
15297 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15300 wxConfigBase
*result
;
15301 PyObject
* obj0
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "config", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15323 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 bool arg1
= (bool) true ;
15326 wxConfigBase
*result
;
15327 PyObject
* obj0
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "createOnDemand", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15334 arg1
= (bool)SWIG_As_bool(obj0
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15351 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxConfigBase
*result
;
15354 char *kwnames
[] = {
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (wxConfigBase
*)wxConfigBase::Create();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15373 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
;
15375 char *kwnames
[] = {
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 wxConfigBase::DontCreateOnDemand();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 Py_INCREF(Py_None
); resultobj
= Py_None
;
15394 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
;
15396 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15397 wxString
*arg2
= 0 ;
15398 bool temp2
= false ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self",(char *) "path", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15409 arg2
= wxString_in_helper(obj1
);
15410 if (arg2
== NULL
) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 (arg1
)->SetPath((wxString
const &)*arg2
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 Py_INCREF(Py_None
); resultobj
= Py_None
;
15435 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
;
15437 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15439 PyObject
* obj0
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15451 result
= (wxString
*) &_result_ref
;
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15461 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15470 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15474 PyObject
* obj0
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= result
;
15496 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self",(char *) "index", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15510 arg2
= (long)SWIG_As_long(obj1
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 resultobj
= result
;
15526 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15530 PyObject
* obj0
= 0 ;
15531 char *kwnames
[] = {
15532 (char *) "self", NULL
15535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= result
;
15552 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
;
15554 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15557 PyObject
* obj0
= 0 ;
15558 PyObject
* obj1
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "self",(char *) "index", NULL
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15566 arg2
= (long)SWIG_As_long(obj1
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= result
;
15582 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15585 bool arg2
= (bool) false ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "recursive", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15597 arg2
= (bool)SWIG_As_bool(obj1
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15614 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15617 bool arg2
= (bool) false ;
15619 PyObject
* obj0
= 0 ;
15620 PyObject
* obj1
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self",(char *) "recursive", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15629 arg2
= (bool)SWIG_As_bool(obj1
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15646 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15649 wxString
*arg2
= 0 ;
15651 bool temp2
= false ;
15652 PyObject
* obj0
= 0 ;
15653 PyObject
* obj1
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self",(char *) "name", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15662 arg2
= wxString_in_helper(obj1
);
15663 if (arg2
== NULL
) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15690 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15693 wxString
*arg2
= 0 ;
15695 bool temp2
= false ;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "self",(char *) "name", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15706 arg2
= wxString_in_helper(obj1
);
15707 if (arg2
== NULL
) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15734 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15737 wxString
*arg2
= 0 ;
15739 bool temp2
= false ;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self",(char *) "name", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 arg2
= wxString_in_helper(obj1
);
15751 if (arg2
== NULL
) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15778 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15781 wxString
*arg2
= 0 ;
15783 bool temp2
= false ;
15784 PyObject
* obj0
= 0 ;
15785 PyObject
* obj1
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self",(char *) "name", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15794 arg2
= wxString_in_helper(obj1
);
15795 if (arg2
== NULL
) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_From_int((int)result
);
15820 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15823 wxString
*arg2
= 0 ;
15824 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15825 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15827 bool temp2
= false ;
15828 bool temp3
= false ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15840 arg2
= wxString_in_helper(obj1
);
15841 if (arg2
== NULL
) SWIG_fail
;
15846 arg3
= wxString_in_helper(obj2
);
15847 if (arg3
== NULL
) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15887 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15890 wxString
*arg2
= 0 ;
15891 long arg3
= (long) 0 ;
15893 bool temp2
= false ;
15894 PyObject
* obj0
= 0 ;
15895 PyObject
* obj1
= 0 ;
15896 PyObject
* obj2
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15905 arg2
= wxString_in_helper(obj1
);
15906 if (arg2
== NULL
) SWIG_fail
;
15910 arg3
= (long)SWIG_As_long(obj2
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= SWIG_From_long((long)result
);
15935 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15938 wxString
*arg2
= 0 ;
15939 double arg3
= (double) 0.0 ;
15941 bool temp2
= false ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 PyObject
* obj2
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15953 arg2
= wxString_in_helper(obj1
);
15954 if (arg2
== NULL
) SWIG_fail
;
15958 arg3
= (double)SWIG_As_double(obj2
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= SWIG_From_double((double)result
);
15983 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15985 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15986 wxString
*arg2
= 0 ;
15987 bool arg3
= (bool) false ;
15989 bool temp2
= false ;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 PyObject
* obj2
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16001 arg2
= wxString_in_helper(obj1
);
16002 if (arg2
== NULL
) SWIG_fail
;
16006 arg3
= (bool)SWIG_As_bool(obj2
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16033 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16036 wxString
*arg2
= 0 ;
16037 wxString
*arg3
= 0 ;
16039 bool temp2
= false ;
16040 bool temp3
= false ;
16041 PyObject
* obj0
= 0 ;
16042 PyObject
* obj1
= 0 ;
16043 PyObject
* obj2
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self",(char *) "key",(char *) "value", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16052 arg2
= wxString_in_helper(obj1
);
16053 if (arg2
== NULL
) SWIG_fail
;
16057 arg3
= wxString_in_helper(obj2
);
16058 if (arg3
== NULL
) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16093 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16096 wxString
*arg2
= 0 ;
16099 bool temp2
= false ;
16100 PyObject
* obj0
= 0 ;
16101 PyObject
* obj1
= 0 ;
16102 PyObject
* obj2
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self",(char *) "key",(char *) "value", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 arg2
= wxString_in_helper(obj1
);
16112 if (arg2
== NULL
) SWIG_fail
;
16115 arg3
= (long)SWIG_As_long(obj2
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16141 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16144 wxString
*arg2
= 0 ;
16147 bool temp2
= false ;
16148 PyObject
* obj0
= 0 ;
16149 PyObject
* obj1
= 0 ;
16150 PyObject
* obj2
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "key",(char *) "value", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16159 arg2
= wxString_in_helper(obj1
);
16160 if (arg2
== NULL
) SWIG_fail
;
16163 arg3
= (double)SWIG_As_double(obj2
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16189 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16192 wxString
*arg2
= 0 ;
16195 bool temp2
= false ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 PyObject
* obj2
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self",(char *) "key",(char *) "value", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16207 arg2
= wxString_in_helper(obj1
);
16208 if (arg2
== NULL
) SWIG_fail
;
16211 arg3
= (bool)SWIG_As_bool(obj2
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16237 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16240 bool arg2
= (bool) false ;
16242 PyObject
* obj0
= 0 ;
16243 PyObject
* obj1
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self",(char *) "currentOnly", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 arg2
= (bool)SWIG_As_bool(obj1
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 result
= (bool)(arg1
)->Flush(arg2
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16271 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16274 wxString
*arg2
= 0 ;
16275 wxString
*arg3
= 0 ;
16277 bool temp2
= false ;
16278 bool temp3
= false ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 PyObject
* obj2
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16290 arg2
= wxString_in_helper(obj1
);
16291 if (arg2
== NULL
) SWIG_fail
;
16295 arg3
= wxString_in_helper(obj2
);
16296 if (arg3
== NULL
) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16331 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16334 wxString
*arg2
= 0 ;
16335 wxString
*arg3
= 0 ;
16337 bool temp2
= false ;
16338 bool temp3
= false ;
16339 PyObject
* obj0
= 0 ;
16340 PyObject
* obj1
= 0 ;
16341 PyObject
* obj2
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16350 arg2
= wxString_in_helper(obj1
);
16351 if (arg2
== NULL
) SWIG_fail
;
16355 arg3
= wxString_in_helper(obj2
);
16356 if (arg3
== NULL
) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16391 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16394 wxString
*arg2
= 0 ;
16395 bool arg3
= (bool) true ;
16397 bool temp2
= false ;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 PyObject
* obj2
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16409 arg2
= wxString_in_helper(obj1
);
16410 if (arg2
== NULL
) SWIG_fail
;
16414 arg3
= (bool)SWIG_As_bool(obj2
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16441 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
;
16443 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16444 wxString
*arg2
= 0 ;
16446 bool temp2
= false ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self",(char *) "key", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16457 arg2
= wxString_in_helper(obj1
);
16458 if (arg2
== NULL
) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16485 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 result
= (bool)(arg1
)->DeleteAll();
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16513 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16516 bool arg2
= (bool) true ;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self",(char *) "doIt", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16527 arg2
= (bool)SWIG_As_bool(obj1
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 (arg1
)->SetExpandEnvVars(arg2
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 Py_INCREF(Py_None
); resultobj
= Py_None
;
16544 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16572 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16575 bool arg2
= (bool) true ;
16576 PyObject
* obj0
= 0 ;
16577 PyObject
* obj1
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self",(char *) "doIt", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16586 arg2
= (bool)SWIG_As_bool(obj1
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 (arg1
)->SetRecordDefaults(arg2
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 Py_INCREF(Py_None
); resultobj
= Py_None
;
16603 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16631 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16634 wxString
*arg2
= 0 ;
16636 bool temp2
= false ;
16637 PyObject
* obj0
= 0 ;
16638 PyObject
* obj1
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "self",(char *) "str", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16647 arg2
= wxString_in_helper(obj1
);
16648 if (arg2
== NULL
) SWIG_fail
;
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16679 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16683 PyObject
* obj0
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16711 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16743 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16746 wxString
*arg2
= 0 ;
16747 bool temp2
= false ;
16748 PyObject
* obj0
= 0 ;
16749 PyObject
* obj1
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self",(char *) "appName", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 arg2
= wxString_in_helper(obj1
);
16759 if (arg2
== NULL
) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 (arg1
)->SetAppName((wxString
const &)*arg2
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 Py_INCREF(Py_None
); resultobj
= Py_None
;
16784 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16787 wxString
*arg2
= 0 ;
16788 bool temp2
= false ;
16789 PyObject
* obj0
= 0 ;
16790 PyObject
* obj1
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self",(char *) "vendorName", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16799 arg2
= wxString_in_helper(obj1
);
16800 if (arg2
== NULL
) SWIG_fail
;
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 Py_INCREF(Py_None
); resultobj
= Py_None
;
16825 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self",(char *) "style", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16838 arg2
= (long)SWIG_As_long(obj1
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 (arg1
)->SetStyle(arg2
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 Py_INCREF(Py_None
); resultobj
= Py_None
;
16854 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16858 PyObject
* obj0
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "self", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_From_long((long)result
);
16880 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16883 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16885 return Py_BuildValue((char *)"");
16887 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16890 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16891 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16892 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16893 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16894 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16895 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16896 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16897 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16899 bool temp1
= false ;
16900 bool temp2
= false ;
16901 bool temp3
= false ;
16902 bool temp4
= false ;
16903 PyObject
* obj0
= 0 ;
16904 PyObject
* obj1
= 0 ;
16905 PyObject
* obj2
= 0 ;
16906 PyObject
* obj3
= 0 ;
16907 PyObject
* obj4
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16915 arg1
= wxString_in_helper(obj0
);
16916 if (arg1
== NULL
) SWIG_fail
;
16922 arg2
= wxString_in_helper(obj1
);
16923 if (arg2
== NULL
) SWIG_fail
;
16929 arg3
= wxString_in_helper(obj2
);
16930 if (arg3
== NULL
) SWIG_fail
;
16936 arg4
= wxString_in_helper(obj3
);
16937 if (arg4
== NULL
) SWIG_fail
;
16942 arg5
= (long)SWIG_As_long(obj4
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16991 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxConfig
*arg1
= (wxConfig
*) 0 ;
16994 PyObject
* obj0
= 0 ;
16995 char *kwnames
[] = {
16996 (char *) "self", NULL
16999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
17000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
17001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17009 Py_INCREF(Py_None
); resultobj
= Py_None
;
17016 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
17018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17019 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
17021 return Py_BuildValue((char *)"");
17023 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17026 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17027 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17028 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17029 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17030 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17031 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17032 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17033 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
17034 wxFileConfig
*result
;
17035 bool temp1
= false ;
17036 bool temp2
= false ;
17037 bool temp3
= false ;
17038 bool temp4
= false ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 PyObject
* obj2
= 0 ;
17042 PyObject
* obj3
= 0 ;
17043 PyObject
* obj4
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17051 arg1
= wxString_in_helper(obj0
);
17052 if (arg1
== NULL
) SWIG_fail
;
17058 arg2
= wxString_in_helper(obj1
);
17059 if (arg2
== NULL
) SWIG_fail
;
17065 arg3
= wxString_in_helper(obj2
);
17066 if (arg3
== NULL
) SWIG_fail
;
17072 arg4
= wxString_in_helper(obj3
);
17073 if (arg4
== NULL
) SWIG_fail
;
17078 arg5
= (long)SWIG_As_long(obj4
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
17127 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
17130 PyObject
* obj0
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "self", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
17136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
17137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 Py_INCREF(Py_None
); resultobj
= Py_None
;
17152 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
17154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17155 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
17157 return Py_BuildValue((char *)"");
17159 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17161 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17162 wxString
*arg2
= 0 ;
17163 wxConfigPathChanger
*result
;
17164 bool temp2
= false ;
17165 PyObject
* obj0
= 0 ;
17166 PyObject
* obj1
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "config",(char *) "entry", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
17172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
17173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17175 arg2
= wxString_in_helper(obj1
);
17176 if (arg2
== NULL
) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
17201 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17204 PyObject
* obj0
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 Py_INCREF(Py_None
); resultobj
= Py_None
;
17226 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17230 PyObject
* obj0
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "self", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
17236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
17242 result
= (wxString
*) &_result_ref
;
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17250 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17252 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17261 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17264 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17266 return Py_BuildValue((char *)"");
17268 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 wxString
*arg1
= 0 ;
17272 bool temp1
= false ;
17273 PyObject
* obj0
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "sz", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17280 arg1
= wxString_in_helper(obj0
);
17281 if (arg1
== NULL
) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17312 static int _wrap_DateFormatStr_set(PyObject
*) {
17313 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17318 static PyObject
*_wrap_DateFormatStr_get() {
17323 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17325 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17332 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17333 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17338 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17343 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17345 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17352 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
;
17355 PyObject
* obj0
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "country", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17361 arg1
= (int)SWIG_As_int(obj0
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 Py_INCREF(Py_None
); resultobj
= Py_None
;
17377 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17380 char *kwnames
[] = {
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (int)wxDateTime::GetCountry();
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= SWIG_From_int((int)result
);
17399 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 int arg1
= (int) wxDateTime::Country_Default
;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "country", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17410 arg1
= (int)SWIG_As_int(obj0
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17429 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 int arg1
= (int) wxDateTime::Gregorian
;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "cal", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17440 arg1
= (int)SWIG_As_int(obj0
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17450 resultobj
= SWIG_From_int((int)result
);
17457 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17461 PyObject
* obj0
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "year", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17467 arg1
= (int)SWIG_As_int(obj0
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= SWIG_From_int((int)result
);
17483 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 int arg1
= (int) wxDateTime::Gregorian
;
17487 PyObject
* obj0
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "cal", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17494 arg1
= (int)SWIG_As_int(obj0
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= SWIG_From_int((int)result
);
17511 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 int arg1
= (int) wxDateTime::Inv_Year
;
17514 int arg2
= (int) wxDateTime::Gregorian
;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "year",(char *) "cal", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17524 arg1
= (int)SWIG_As_int(obj0
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17528 arg2
= (int)SWIG_As_int(obj1
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17547 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 int arg1
= (int) wxDateTime::Inv_Year
;
17551 PyObject
* obj0
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "year", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17558 arg1
= (int)SWIG_As_int(obj0
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (int)wxDateTime::GetCentury(arg1
);
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_From_int((int)result
);
17575 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17578 int arg2
= (int) wxDateTime::Gregorian
;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "year",(char *) "cal", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17587 arg1
= (int)SWIG_As_int(obj0
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 arg2
= (int)SWIG_As_int(obj1
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= SWIG_From_int((int)result
);
17607 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17610 int arg2
= (int) wxDateTime::Inv_Year
;
17611 int arg3
= (int) wxDateTime::Gregorian
;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 PyObject
* obj2
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "month",(char *) "year",(char *) "cal", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17621 arg1
= (int)SWIG_As_int(obj0
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 arg2
= (int)SWIG_As_int(obj1
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 arg3
= (int)SWIG_As_int(obj2
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= SWIG_From_int((int)result
);
17645 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
;
17648 int arg2
= (int) wxDateTime::Name_Full
;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj1
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "month",(char *) "flags", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17657 arg1
= (int)SWIG_As_int(obj0
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 arg2
= (int)SWIG_As_int(obj1
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17683 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
;
17686 int arg2
= (int) wxDateTime::Name_Full
;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "weekday",(char *) "flags", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17695 arg1
= (int)SWIG_As_int(obj0
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 arg2
= (int)SWIG_As_int(obj1
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17721 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxString
*arg1
= (wxString
*) 0 ;
17724 wxString
*arg2
= (wxString
*) 0 ;
17725 bool temp1
= false ;
17726 bool temp2
= false ;
17727 PyObject
* obj0
= 0 ;
17728 PyObject
* obj1
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17735 arg1
= wxString_in_helper(obj0
);
17736 if (arg1
== NULL
) SWIG_fail
;
17740 arg2
= wxString_in_helper(obj1
);
17741 if (arg2
== NULL
) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 Py_INCREF(Py_None
); resultobj
= Py_None
;
17774 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 int arg1
= (int) wxDateTime::Inv_Year
;
17777 int arg2
= (int) wxDateTime::Country_Default
;
17779 PyObject
* obj0
= 0 ;
17780 PyObject
* obj1
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "year",(char *) "country", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17787 arg1
= (int)SWIG_As_int(obj0
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17791 arg2
= (int)SWIG_As_int(obj1
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17810 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17811 PyObject
*resultobj
;
17812 int arg1
= (int) wxDateTime::Inv_Year
;
17813 int arg2
= (int) wxDateTime::Country_Default
;
17815 PyObject
* obj0
= 0 ;
17816 PyObject
* obj1
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "year",(char *) "country", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17823 arg1
= (int)SWIG_As_int(obj0
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17827 arg2
= (int)SWIG_As_int(obj1
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17838 wxDateTime
* resultptr
;
17839 resultptr
= new wxDateTime((wxDateTime
&) result
);
17840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17848 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 int arg1
= (int) wxDateTime::Inv_Year
;
17851 int arg2
= (int) wxDateTime::Country_Default
;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "year",(char *) "country", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17861 arg1
= (int)SWIG_As_int(obj0
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17865 arg2
= (int)SWIG_As_int(obj1
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17876 wxDateTime
* resultptr
;
17877 resultptr
= new wxDateTime((wxDateTime
&) result
);
17878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17886 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17889 char *kwnames
[] = {
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= wxDateTime::Now();
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 wxDateTime
* resultptr
;
17903 resultptr
= new wxDateTime((wxDateTime
&) result
);
17904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17912 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17915 char *kwnames
[] = {
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= wxDateTime::UNow();
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17928 wxDateTime
* resultptr
;
17929 resultptr
= new wxDateTime((wxDateTime
&) result
);
17930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17938 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17941 char *kwnames
[] = {
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 result
= wxDateTime::Today();
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17954 wxDateTime
* resultptr
;
17955 resultptr
= new wxDateTime((wxDateTime
&) result
);
17956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17964 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxDateTime
*result
;
17967 char *kwnames
[] = {
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 result
= (wxDateTime
*)new wxDateTime();
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17986 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
;
17989 wxDateTime
*result
;
17990 PyObject
* obj0
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "timet", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17996 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 result
= (wxDateTime
*)new wxDateTime(arg1
);
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18012 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18015 wxDateTime
*result
;
18016 PyObject
* obj0
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "jdn", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
18022 arg1
= (double)SWIG_As_double(obj0
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= (wxDateTime
*)new wxDateTime(arg1
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18038 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18041 int arg2
= (int) 0 ;
18042 int arg3
= (int) 0 ;
18043 int arg4
= (int) 0 ;
18044 wxDateTime
*result
;
18045 PyObject
* obj0
= 0 ;
18046 PyObject
* obj1
= 0 ;
18047 PyObject
* obj2
= 0 ;
18048 PyObject
* obj3
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18054 arg1
= (int)SWIG_As_int(obj0
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 arg2
= (int)SWIG_As_int(obj1
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18061 arg3
= (int)SWIG_As_int(obj2
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18065 arg4
= (int)SWIG_As_int(obj3
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18082 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18085 int arg2
= (int) wxDateTime::Inv_Month
;
18086 int arg3
= (int) wxDateTime::Inv_Year
;
18087 int arg4
= (int) 0 ;
18088 int arg5
= (int) 0 ;
18089 int arg6
= (int) 0 ;
18090 int arg7
= (int) 0 ;
18091 wxDateTime
*result
;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 PyObject
* obj2
= 0 ;
18095 PyObject
* obj3
= 0 ;
18096 PyObject
* obj4
= 0 ;
18097 PyObject
* obj5
= 0 ;
18098 PyObject
* obj6
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18104 arg1
= (int)SWIG_As_int(obj0
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 arg2
= (int)SWIG_As_int(obj1
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 arg3
= (int)SWIG_As_int(obj2
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18115 arg4
= (int)SWIG_As_int(obj3
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18119 arg5
= (int)SWIG_As_int(obj4
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18123 arg6
= (int)SWIG_As_int(obj5
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18127 arg7
= (int)SWIG_As_int(obj6
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18144 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
18153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 Py_INCREF(Py_None
); resultobj
= Py_None
;
18169 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18172 wxDateTime
*result
;
18173 PyObject
* obj0
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "self", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
18179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
18185 result
= (wxDateTime
*) &_result_ref
;
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18198 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18202 wxDateTime
*result
;
18203 PyObject
* obj0
= 0 ;
18204 PyObject
* obj1
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self",(char *) "timet", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18212 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18218 result
= (wxDateTime
*) &_result_ref
;
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18231 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18235 wxDateTime
*result
;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self",(char *) "jdn", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 arg2
= (double)SWIG_As_double(obj1
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18251 result
= (wxDateTime
*) &_result_ref
;
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18264 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18268 int arg3
= (int) 0 ;
18269 int arg4
= (int) 0 ;
18270 int arg5
= (int) 0 ;
18271 wxDateTime
*result
;
18272 PyObject
* obj0
= 0 ;
18273 PyObject
* obj1
= 0 ;
18274 PyObject
* obj2
= 0 ;
18275 PyObject
* obj3
= 0 ;
18276 PyObject
* obj4
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18284 arg2
= (int)SWIG_As_int(obj1
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 arg3
= (int)SWIG_As_int(obj2
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18291 arg4
= (int)SWIG_As_int(obj3
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18295 arg5
= (int)SWIG_As_int(obj4
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18302 result
= (wxDateTime
*) &_result_ref
;
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18315 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18319 int arg3
= (int) wxDateTime::Inv_Month
;
18320 int arg4
= (int) wxDateTime::Inv_Year
;
18321 int arg5
= (int) 0 ;
18322 int arg6
= (int) 0 ;
18323 int arg7
= (int) 0 ;
18324 int arg8
= (int) 0 ;
18325 wxDateTime
*result
;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 PyObject
* obj2
= 0 ;
18329 PyObject
* obj3
= 0 ;
18330 PyObject
* obj4
= 0 ;
18331 PyObject
* obj5
= 0 ;
18332 PyObject
* obj6
= 0 ;
18333 PyObject
* obj7
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18341 arg2
= (int)SWIG_As_int(obj1
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 arg3
= (int)SWIG_As_int(obj2
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18348 arg4
= (int)SWIG_As_int(obj3
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18352 arg5
= (int)SWIG_As_int(obj4
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18356 arg6
= (int)SWIG_As_int(obj5
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18360 arg7
= (int)SWIG_As_int(obj6
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18364 arg8
= (int)SWIG_As_int(obj7
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18371 result
= (wxDateTime
*) &_result_ref
;
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18384 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18387 wxDateTime
*result
;
18388 PyObject
* obj0
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18400 result
= (wxDateTime
*) &_result_ref
;
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18413 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
;
18415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18417 wxDateTime
*result
;
18418 PyObject
* obj0
= 0 ;
18419 PyObject
* obj1
= 0 ;
18420 char *kwnames
[] = {
18421 (char *) "self",(char *) "year", NULL
18424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18427 arg2
= (int)SWIG_As_int(obj1
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18433 result
= (wxDateTime
*) &_result_ref
;
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18446 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18450 wxDateTime
*result
;
18451 PyObject
* obj0
= 0 ;
18452 PyObject
* obj1
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self",(char *) "month", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18460 arg2
= (int)SWIG_As_int(obj1
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18466 result
= (wxDateTime
*) &_result_ref
;
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18479 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
;
18481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18483 wxDateTime
*result
;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self",(char *) "day", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18493 arg2
= (int)SWIG_As_int(obj1
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18499 result
= (wxDateTime
*) &_result_ref
;
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18512 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18516 wxDateTime
*result
;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self",(char *) "hour", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18526 arg2
= (int)SWIG_As_int(obj1
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18532 result
= (wxDateTime
*) &_result_ref
;
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18545 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18549 wxDateTime
*result
;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self",(char *) "minute", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 arg2
= (int)SWIG_As_int(obj1
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18565 result
= (wxDateTime
*) &_result_ref
;
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18578 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18582 wxDateTime
*result
;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self",(char *) "second", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 arg2
= (int)SWIG_As_int(obj1
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18598 result
= (wxDateTime
*) &_result_ref
;
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18611 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18615 wxDateTime
*result
;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self",(char *) "millisecond", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18625 arg2
= (int)SWIG_As_int(obj1
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18631 result
= (wxDateTime
*) &_result_ref
;
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18644 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18648 int arg3
= (int) wxDateTime::Monday_First
;
18649 wxDateTime
*result
;
18650 PyObject
* obj0
= 0 ;
18651 PyObject
* obj1
= 0 ;
18652 PyObject
* obj2
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18660 arg2
= (int)SWIG_As_int(obj1
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 arg3
= (int)SWIG_As_int(obj2
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18670 result
= (wxDateTime
*) &_result_ref
;
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18683 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18687 int arg3
= (int) wxDateTime::Monday_First
;
18689 PyObject
* obj0
= 0 ;
18690 PyObject
* obj1
= 0 ;
18691 PyObject
* obj2
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18699 arg2
= (int)SWIG_As_int(obj1
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 arg3
= (int)SWIG_As_int(obj2
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18713 wxDateTime
* resultptr
;
18714 resultptr
= new wxDateTime((wxDateTime
&) result
);
18715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18723 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18727 wxDateTime
*result
;
18728 PyObject
* obj0
= 0 ;
18729 PyObject
* obj1
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self",(char *) "weekday", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18737 arg2
= (int)SWIG_As_int(obj1
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18743 result
= (wxDateTime
*) &_result_ref
;
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18756 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self",(char *) "weekday", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 arg2
= (int)SWIG_As_int(obj1
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18780 wxDateTime
* resultptr
;
18781 resultptr
= new wxDateTime((wxDateTime
&) result
);
18782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18790 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18794 wxDateTime
*result
;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 char *kwnames
[] = {
18798 (char *) "self",(char *) "weekday", NULL
18801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18804 arg2
= (int)SWIG_As_int(obj1
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18810 result
= (wxDateTime
*) &_result_ref
;
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18823 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self",(char *) "weekday", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18837 arg2
= (int)SWIG_As_int(obj1
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18847 wxDateTime
* resultptr
;
18848 resultptr
= new wxDateTime((wxDateTime
&) result
);
18849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18857 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18861 int arg3
= (int) 1 ;
18862 int arg4
= (int) wxDateTime::Inv_Month
;
18863 int arg5
= (int) wxDateTime::Inv_Year
;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 PyObject
* obj2
= 0 ;
18868 PyObject
* obj3
= 0 ;
18869 PyObject
* obj4
= 0 ;
18870 char *kwnames
[] = {
18871 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18877 arg2
= (int)SWIG_As_int(obj1
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18880 arg3
= (int)SWIG_As_int(obj2
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18884 arg4
= (int)SWIG_As_int(obj3
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18888 arg5
= (int)SWIG_As_int(obj4
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18907 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
;
18909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18911 int arg3
= (int) wxDateTime::Inv_Month
;
18912 int arg4
= (int) wxDateTime::Inv_Year
;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 PyObject
* obj2
= 0 ;
18917 PyObject
* obj3
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18925 arg2
= (int)SWIG_As_int(obj1
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 arg3
= (int)SWIG_As_int(obj2
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18932 arg4
= (int)SWIG_As_int(obj3
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18951 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18955 int arg3
= (int) wxDateTime::Inv_Month
;
18956 int arg4
= (int) wxDateTime::Inv_Year
;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 PyObject
* obj2
= 0 ;
18961 PyObject
* obj3
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18969 arg2
= (int)SWIG_As_int(obj1
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 arg3
= (int)SWIG_As_int(obj2
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18976 arg4
= (int)SWIG_As_int(obj3
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18987 wxDateTime
* resultptr
;
18988 resultptr
= new wxDateTime((wxDateTime
&) result
);
18989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18997 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
;
18999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19001 int arg3
= (int) wxDateTime::Mon
;
19002 int arg4
= (int) wxDateTime::Monday_First
;
19004 PyObject
* obj0
= 0 ;
19005 PyObject
* obj1
= 0 ;
19006 PyObject
* obj2
= 0 ;
19007 PyObject
* obj3
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19015 arg2
= (int)SWIG_As_int(obj1
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19018 arg3
= (int)SWIG_As_int(obj2
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19022 arg4
= (int)SWIG_As_int(obj3
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19041 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19045 int arg3
= (int) wxDateTime::Mon
;
19046 int arg4
= (int) wxDateTime::Monday_First
;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 PyObject
* obj2
= 0 ;
19051 PyObject
* obj3
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19059 arg2
= (int)SWIG_As_int(obj1
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 arg3
= (int)SWIG_As_int(obj2
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19066 arg4
= (int)SWIG_As_int(obj3
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19077 wxDateTime
* resultptr
;
19078 resultptr
= new wxDateTime((wxDateTime
&) result
);
19079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19087 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19091 int arg3
= (int) wxDateTime::Mon
;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 PyObject
* obj2
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19101 arg1
= (int)SWIG_As_int(obj0
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19103 arg2
= (int)SWIG_As_int(obj1
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19106 arg3
= (int)SWIG_As_int(obj2
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19117 wxDateTime
* resultptr
;
19118 resultptr
= new wxDateTime((wxDateTime
&) result
);
19119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19127 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
;
19129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19130 int arg2
= (int) wxDateTime::Inv_Month
;
19131 int arg3
= (int) wxDateTime::Inv_Year
;
19132 wxDateTime
*result
;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 PyObject
* obj2
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self",(char *) "month",(char *) "year", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19144 arg2
= (int)SWIG_As_int(obj1
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19148 arg3
= (int)SWIG_As_int(obj2
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19155 result
= (wxDateTime
*) &_result_ref
;
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19168 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19171 int arg2
= (int) wxDateTime::Inv_Month
;
19172 int arg3
= (int) wxDateTime::Inv_Year
;
19174 PyObject
* obj0
= 0 ;
19175 PyObject
* obj1
= 0 ;
19176 PyObject
* obj2
= 0 ;
19177 char *kwnames
[] = {
19178 (char *) "self",(char *) "month",(char *) "year", NULL
19181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19185 arg2
= (int)SWIG_As_int(obj1
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19189 arg3
= (int)SWIG_As_int(obj2
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 wxDateTime
* resultptr
;
19201 resultptr
= new wxDateTime((wxDateTime
&) result
);
19202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19210 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
;
19212 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19214 wxDateTime
*result
;
19215 PyObject
* obj0
= 0 ;
19216 PyObject
* obj1
= 0 ;
19217 char *kwnames
[] = {
19218 (char *) "self",(char *) "yday", NULL
19221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19224 arg2
= (int)SWIG_As_int(obj1
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
19230 result
= (wxDateTime
*) &_result_ref
;
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19243 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19248 PyObject
* obj0
= 0 ;
19249 PyObject
* obj1
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self",(char *) "yday", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19257 arg2
= (int)SWIG_As_int(obj1
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 result
= (arg1
)->GetYearDay(arg2
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19267 wxDateTime
* resultptr
;
19268 resultptr
= new wxDateTime((wxDateTime
&) result
);
19269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19277 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
;
19279 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19281 PyObject
* obj0
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19291 result
= (double)(arg1
)->GetJulianDayNumber();
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19296 resultobj
= SWIG_From_double((double)result
);
19303 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= (double)(arg1
)->GetJDN();
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 resultobj
= SWIG_From_double((double)result
);
19329 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
;
19331 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19333 PyObject
* obj0
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= SWIG_From_double((double)result
);
19355 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 result
= (double)(arg1
)->GetMJD();
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= SWIG_From_double((double)result
);
19381 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 result
= (double)(arg1
)->GetRataDie();
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= SWIG_From_double((double)result
);
19407 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19410 wxDateTime::TimeZone
*arg2
= 0 ;
19411 bool arg3
= (bool) false ;
19413 bool temp2
= false ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 PyObject
* obj2
= 0 ;
19417 char *kwnames
[] = {
19418 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19425 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19429 arg3
= (bool)SWIG_As_bool(obj2
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19440 wxDateTime
* resultptr
;
19441 resultptr
= new wxDateTime((wxDateTime
&) result
);
19442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19445 if (temp2
) delete arg2
;
19450 if (temp2
) delete arg2
;
19456 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19459 wxDateTime::TimeZone
*arg2
= 0 ;
19460 bool arg3
= (bool) false ;
19461 wxDateTime
*result
;
19462 bool temp2
= false ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 PyObject
* obj2
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19474 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19478 arg3
= (bool)SWIG_As_bool(obj2
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19485 result
= (wxDateTime
*) &_result_ref
;
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19493 if (temp2
) delete arg2
;
19498 if (temp2
) delete arg2
;
19504 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19507 bool arg2
= (bool) false ;
19509 PyObject
* obj0
= 0 ;
19510 PyObject
* obj1
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self",(char *) "noDST", NULL
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19519 arg2
= (bool)SWIG_As_bool(obj1
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= (arg1
)->ToGMT(arg2
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19530 wxDateTime
* resultptr
;
19531 resultptr
= new wxDateTime((wxDateTime
&) result
);
19532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19540 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19543 bool arg2
= (bool) false ;
19544 wxDateTime
*result
;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self",(char *) "noDST", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19555 arg2
= (bool)SWIG_As_bool(obj1
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19562 result
= (wxDateTime
*) &_result_ref
;
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19575 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19578 int arg2
= (int) wxDateTime::Country_Default
;
19580 PyObject
* obj0
= 0 ;
19581 PyObject
* obj1
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self",(char *) "country", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19590 arg2
= (int)SWIG_As_int(obj1
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= SWIG_From_int((int)result
);
19607 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19635 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19637 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19639 PyObject
* obj0
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19661 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19664 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19665 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19667 bool temp2
= false ;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 char *kwnames
[] = {
19671 (char *) "self",(char *) "tz", NULL
19674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19679 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= SWIG_From_int((int)result
);
19692 if (temp2
) delete arg2
;
19697 if (temp2
) delete arg2
;
19703 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19706 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19707 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19709 bool temp2
= false ;
19710 PyObject
* obj0
= 0 ;
19711 PyObject
* obj1
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self",(char *) "tz", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19721 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= SWIG_From_int((int)result
);
19734 if (temp2
) delete arg2
;
19739 if (temp2
) delete arg2
;
19745 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19748 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19749 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19751 bool temp2
= false ;
19752 PyObject
* obj0
= 0 ;
19753 PyObject
* obj1
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self",(char *) "tz", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19763 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= SWIG_From_int((int)result
);
19776 if (temp2
) delete arg2
;
19781 if (temp2
) delete arg2
;
19787 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19790 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19791 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19793 bool temp2
= false ;
19794 PyObject
* obj0
= 0 ;
19795 PyObject
* obj1
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self",(char *) "tz", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19805 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= SWIG_From_int((int)result
);
19818 if (temp2
) delete arg2
;
19823 if (temp2
) delete arg2
;
19829 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19832 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19833 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19835 bool temp2
= false ;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self",(char *) "tz", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= SWIG_From_int((int)result
);
19860 if (temp2
) delete arg2
;
19865 if (temp2
) delete arg2
;
19871 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
;
19873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19874 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19875 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19877 bool temp2
= false ;
19878 PyObject
* obj0
= 0 ;
19879 PyObject
* obj1
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self",(char *) "tz", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19889 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19895 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 resultobj
= SWIG_From_int((int)result
);
19902 if (temp2
) delete arg2
;
19907 if (temp2
) delete arg2
;
19913 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19916 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19917 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19919 bool temp2
= false ;
19920 PyObject
* obj0
= 0 ;
19921 PyObject
* obj1
= 0 ;
19922 char *kwnames
[] = {
19923 (char *) "self",(char *) "tz", NULL
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19931 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= SWIG_From_int((int)result
);
19944 if (temp2
) delete arg2
;
19949 if (temp2
) delete arg2
;
19955 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19958 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19959 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19961 bool temp2
= false ;
19962 PyObject
* obj0
= 0 ;
19963 PyObject
* obj1
= 0 ;
19964 char *kwnames
[] = {
19965 (char *) "self",(char *) "tz", NULL
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19973 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 resultobj
= SWIG_From_int((int)result
);
19986 if (temp2
) delete arg2
;
19991 if (temp2
) delete arg2
;
19997 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20000 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
20001 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
20003 bool temp2
= false ;
20004 PyObject
* obj0
= 0 ;
20005 PyObject
* obj1
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "self",(char *) "tz", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= SWIG_From_int((int)result
);
20028 if (temp2
) delete arg2
;
20033 if (temp2
) delete arg2
;
20039 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20042 int arg2
= (int) wxDateTime::Monday_First
;
20043 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20044 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20046 bool temp3
= false ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 PyObject
* obj2
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self",(char *) "flags",(char *) "tz", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20058 arg2
= (int)SWIG_As_int(obj1
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20063 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20074 resultobj
= SWIG_From_int((int)result
);
20076 if (temp3
) delete arg3
;
20081 if (temp3
) delete arg3
;
20087 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20090 int arg2
= (int) wxDateTime::Monday_First
;
20091 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20092 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20094 bool temp3
= false ;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20097 PyObject
* obj2
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "flags",(char *) "tz", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20106 arg2
= (int)SWIG_As_int(obj1
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20111 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= SWIG_From_int((int)result
);
20124 if (temp3
) delete arg3
;
20129 if (temp3
) delete arg3
;
20135 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
;
20137 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20138 int arg2
= (int) wxDateTime::Country_Default
;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self",(char *) "country", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20150 arg2
= (int)SWIG_As_int(obj1
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20169 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
;
20171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20172 wxDateTime
*arg2
= 0 ;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 char *kwnames
[] = {
20177 (char *) "self",(char *) "datetime", NULL
20180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20186 if (arg2
== NULL
) {
20187 PyErr_SetString(PyExc_TypeError
,"null reference");
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20206 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20209 wxDateTime
*arg2
= 0 ;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self",(char *) "datetime", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20223 if (arg2
== NULL
) {
20224 PyErr_SetString(PyExc_TypeError
,"null reference");
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20243 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20246 wxDateTime
*arg2
= 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 char *kwnames
[] = {
20251 (char *) "self",(char *) "datetime", NULL
20254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20260 if (arg2
== NULL
) {
20261 PyErr_SetString(PyExc_TypeError
,"null reference");
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20280 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20283 wxDateTime
*arg2
= 0 ;
20284 wxDateTime
*arg3
= 0 ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 PyObject
* obj2
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self",(char *) "t1",(char *) "t2", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20299 if (arg2
== NULL
) {
20300 PyErr_SetString(PyExc_TypeError
,"null reference");
20303 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20306 if (arg3
== NULL
) {
20307 PyErr_SetString(PyExc_TypeError
,"null reference");
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20326 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
;
20328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20329 wxDateTime
*arg2
= 0 ;
20330 wxDateTime
*arg3
= 0 ;
20332 PyObject
* obj0
= 0 ;
20333 PyObject
* obj1
= 0 ;
20334 PyObject
* obj2
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "self",(char *) "t1",(char *) "t2", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20345 if (arg2
== NULL
) {
20346 PyErr_SetString(PyExc_TypeError
,"null reference");
20349 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20352 if (arg3
== NULL
) {
20353 PyErr_SetString(PyExc_TypeError
,"null reference");
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20372 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20375 wxDateTime
*arg2
= 0 ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 char *kwnames
[] = {
20380 (char *) "self",(char *) "dt", NULL
20383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20389 if (arg2
== NULL
) {
20390 PyErr_SetString(PyExc_TypeError
,"null reference");
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20409 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20412 wxDateTime
*arg2
= 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self",(char *) "dt", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20426 if (arg2
== NULL
) {
20427 PyErr_SetString(PyExc_TypeError
,"null reference");
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20446 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20448 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20449 wxDateTime
*arg2
= 0 ;
20450 wxTimeSpan
*arg3
= 0 ;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 PyObject
* obj2
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self",(char *) "dt",(char *) "ts", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20465 if (arg2
== NULL
) {
20466 PyErr_SetString(PyExc_TypeError
,"null reference");
20469 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20472 if (arg3
== NULL
) {
20473 PyErr_SetString(PyExc_TypeError
,"null reference");
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20492 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20495 wxTimeSpan
*arg2
= 0 ;
20496 wxDateTime
*result
;
20497 PyObject
* obj0
= 0 ;
20498 PyObject
* obj1
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self",(char *) "diff", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20509 if (arg2
== NULL
) {
20510 PyErr_SetString(PyExc_TypeError
,"null reference");
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20517 result
= (wxDateTime
*) &_result_ref
;
20520 wxPyEndAllowThreads(__tstate
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20530 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20531 PyObject
*resultobj
;
20532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20533 wxDateSpan
*arg2
= 0 ;
20534 wxDateTime
*result
;
20535 PyObject
* obj0
= 0 ;
20536 PyObject
* obj1
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self",(char *) "diff", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20543 SWIG_POINTER_EXCEPTION
| 0)) == -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
)->Add((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
, 0);
20568 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20571 wxTimeSpan
*arg2
= 0 ;
20572 wxDateTime
*result
;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20575 char *kwnames
[] = {
20576 (char *) "self",(char *) "diff", NULL
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20585 if (arg2
== NULL
) {
20586 PyErr_SetString(PyExc_TypeError
,"null reference");
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20593 result
= (wxDateTime
*) &_result_ref
;
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20606 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20609 wxDateSpan
*arg2
= 0 ;
20610 wxDateTime
*result
;
20611 PyObject
* obj0
= 0 ;
20612 PyObject
* obj1
= 0 ;
20613 char *kwnames
[] = {
20614 (char *) "self",(char *) "diff", NULL
20617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20623 if (arg2
== NULL
) {
20624 PyErr_SetString(PyExc_TypeError
,"null reference");
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20631 result
= (wxDateTime
*) &_result_ref
;
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20644 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20647 wxDateTime
*arg2
= 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self",(char *) "dt", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20661 if (arg2
== NULL
) {
20662 PyErr_SetString(PyExc_TypeError
,"null reference");
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20669 wxPyEndAllowThreads(__tstate
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20673 wxTimeSpan
* resultptr
;
20674 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20683 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20684 PyObject
*resultobj
;
20685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20686 wxTimeSpan
*arg2
= 0 ;
20687 wxDateTime
*result
;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20691 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20693 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20697 if (arg2
== NULL
) {
20698 PyErr_SetString(PyExc_TypeError
,"null reference");
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20705 result
= (wxDateTime
*) &_result_ref
;
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20718 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20719 PyObject
*resultobj
;
20720 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20721 wxDateSpan
*arg2
= 0 ;
20722 wxDateTime
*result
;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20726 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20728 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20732 if (arg2
== NULL
) {
20733 PyErr_SetString(PyExc_TypeError
,"null reference");
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20740 result
= (wxDateTime
*) &_result_ref
;
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20753 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20758 argc
= PyObject_Length(args
);
20759 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20760 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20766 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20776 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20784 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20792 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20802 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20810 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20815 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20820 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20821 PyObject
*resultobj
;
20822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20823 wxTimeSpan
*arg2
= 0 ;
20824 wxDateTime
*result
;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20828 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20830 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20834 if (arg2
== NULL
) {
20835 PyErr_SetString(PyExc_TypeError
,"null reference");
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20842 result
= (wxDateTime
*) &_result_ref
;
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20855 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20856 PyObject
*resultobj
;
20857 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20858 wxDateSpan
*arg2
= 0 ;
20859 wxDateTime
*result
;
20860 PyObject
* obj0
= 0 ;
20861 PyObject
* obj1
= 0 ;
20863 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20865 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20869 if (arg2
== NULL
) {
20870 PyErr_SetString(PyExc_TypeError
,"null reference");
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20877 result
= (wxDateTime
*) &_result_ref
;
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20890 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20895 argc
= PyObject_Length(args
);
20896 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20897 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20903 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20913 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20921 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20929 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20939 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20947 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20952 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20957 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20958 PyObject
*resultobj
;
20959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20960 wxTimeSpan
*arg2
= 0 ;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20965 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20971 if (arg2
== NULL
) {
20972 PyErr_SetString(PyExc_TypeError
,"null reference");
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20983 wxDateTime
* resultptr
;
20984 resultptr
= new wxDateTime((wxDateTime
&) result
);
20985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20993 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20994 PyObject
*resultobj
;
20995 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20996 wxDateSpan
*arg2
= 0 ;
20998 PyObject
* obj0
= 0 ;
20999 PyObject
* obj1
= 0 ;
21001 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
21002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21007 if (arg2
== NULL
) {
21008 PyErr_SetString(PyExc_TypeError
,"null reference");
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21019 wxDateTime
* resultptr
;
21020 resultptr
= new wxDateTime((wxDateTime
&) result
);
21021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21029 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
21034 argc
= PyObject_Length(args
);
21035 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21036 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21042 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21052 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21060 return _wrap_DateTime___add____SWIG_0(self
,args
);
21068 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21078 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21086 return _wrap_DateTime___add____SWIG_1(self
,args
);
21091 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
21096 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
21097 PyObject
*resultobj
;
21098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21099 wxDateTime
*arg2
= 0 ;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21104 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21110 if (arg2
== NULL
) {
21111 PyErr_SetString(PyExc_TypeError
,"null reference");
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21122 wxTimeSpan
* resultptr
;
21123 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21132 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
21133 PyObject
*resultobj
;
21134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21135 wxTimeSpan
*arg2
= 0 ;
21137 PyObject
* obj0
= 0 ;
21138 PyObject
* obj1
= 0 ;
21140 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21146 if (arg2
== NULL
) {
21147 PyErr_SetString(PyExc_TypeError
,"null reference");
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 wxDateTime
* resultptr
;
21159 resultptr
= new wxDateTime((wxDateTime
&) result
);
21160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21168 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
21169 PyObject
*resultobj
;
21170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21171 wxDateSpan
*arg2
= 0 ;
21173 PyObject
* obj0
= 0 ;
21174 PyObject
* obj1
= 0 ;
21176 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21182 if (arg2
== NULL
) {
21183 PyErr_SetString(PyExc_TypeError
,"null reference");
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21194 wxDateTime
* resultptr
;
21195 resultptr
= new wxDateTime((wxDateTime
&) result
);
21196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21204 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
21209 argc
= PyObject_Length(args
);
21210 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21211 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21217 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21227 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21235 return _wrap_DateTime___sub____SWIG_0(self
,args
);
21243 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21253 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21261 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21269 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21279 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21287 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21292 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21297 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21298 PyObject
*resultobj
;
21299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21300 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21302 PyObject
* obj0
= 0 ;
21303 PyObject
* obj1
= 0 ;
21305 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21326 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21327 PyObject
*resultobj
;
21328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21329 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21334 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21355 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21356 PyObject
*resultobj
;
21357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21358 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21360 PyObject
* obj0
= 0 ;
21361 PyObject
* obj1
= 0 ;
21363 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21384 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21385 PyObject
*resultobj
;
21386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21387 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21392 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21413 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21414 PyObject
*resultobj
;
21415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21416 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21421 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21442 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21443 PyObject
*resultobj
;
21444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21445 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21450 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21471 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
;
21473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21474 wxString
*arg2
= 0 ;
21476 bool temp2
= false ;
21477 PyObject
* obj0
= 0 ;
21478 PyObject
* obj1
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self",(char *) "date", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21487 arg2
= wxString_in_helper(obj1
);
21488 if (arg2
== NULL
) SWIG_fail
;
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= SWIG_From_int((int)result
);
21513 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21516 wxString
*arg2
= 0 ;
21517 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21518 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21519 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21520 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21522 bool temp2
= false ;
21523 bool temp3
= false ;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 PyObject
* obj2
= 0 ;
21527 PyObject
* obj3
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21536 arg2
= wxString_in_helper(obj1
);
21537 if (arg2
== NULL
) SWIG_fail
;
21542 arg3
= wxString_in_helper(obj2
);
21543 if (arg3
== NULL
) SWIG_fail
;
21548 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21551 if (arg4
== NULL
) {
21552 PyErr_SetString(PyExc_TypeError
,"null reference");
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= SWIG_From_int((int)result
);
21586 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21589 wxString
*arg2
= 0 ;
21591 bool temp2
= false ;
21592 PyObject
* obj0
= 0 ;
21593 PyObject
* obj1
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self",(char *) "datetime", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21602 arg2
= wxString_in_helper(obj1
);
21603 if (arg2
== NULL
) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_From_int((int)result
);
21628 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21631 wxString
*arg2
= 0 ;
21633 bool temp2
= false ;
21634 PyObject
* obj0
= 0 ;
21635 PyObject
* obj1
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self",(char *) "date", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21644 arg2
= wxString_in_helper(obj1
);
21645 if (arg2
== NULL
) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_From_int((int)result
);
21670 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21673 wxString
*arg2
= 0 ;
21675 bool temp2
= false ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 char *kwnames
[] = {
21679 (char *) "self",(char *) "time", NULL
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21686 arg2
= wxString_in_helper(obj1
);
21687 if (arg2
== NULL
) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21697 resultobj
= SWIG_From_int((int)result
);
21712 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21715 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21716 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21717 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21718 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21720 bool temp2
= false ;
21721 bool temp3
= false ;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 PyObject
* obj2
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self",(char *) "format",(char *) "tz", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21734 arg2
= wxString_in_helper(obj1
);
21735 if (arg2
== NULL
) SWIG_fail
;
21741 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21764 if (temp3
) delete arg3
;
21773 if (temp3
) delete arg3
;
21779 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21783 PyObject
* obj0
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21811 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21815 PyObject
* obj0
= 0 ;
21816 char *kwnames
[] = {
21817 (char *) "self", NULL
21820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21843 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21875 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21907 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21910 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21912 return Py_BuildValue((char *)"");
21914 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21918 PyObject
* obj0
= 0 ;
21919 char *kwnames
[] = {
21920 (char *) "sec", NULL
21923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21924 arg1
= (long)SWIG_As_long(obj0
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= wxTimeSpan::Seconds(arg1
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21934 wxTimeSpan
* resultptr
;
21935 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21944 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21947 char *kwnames
[] = {
21951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 result
= wxTimeSpan::Second();
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21960 wxTimeSpan
* resultptr
;
21961 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21970 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
;
21974 PyObject
* obj0
= 0 ;
21975 char *kwnames
[] = {
21976 (char *) "min", NULL
21979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21980 arg1
= (long)SWIG_As_long(obj0
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 result
= wxTimeSpan::Minutes(arg1
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21990 wxTimeSpan
* resultptr
;
21991 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22000 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22003 char *kwnames
[] = {
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 result
= wxTimeSpan::Minute();
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22016 wxTimeSpan
* resultptr
;
22017 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22026 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22030 PyObject
* obj0
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "hours", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
22036 arg1
= (long)SWIG_As_long(obj0
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= wxTimeSpan::Hours(arg1
);
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22046 wxTimeSpan
* resultptr
;
22047 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22056 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22059 char *kwnames
[] = {
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= wxTimeSpan::Hour();
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22072 wxTimeSpan
* resultptr
;
22073 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22082 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22086 PyObject
* obj0
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "days", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
22092 arg1
= (long)SWIG_As_long(obj0
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= wxTimeSpan::Days(arg1
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22102 wxTimeSpan
* resultptr
;
22103 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22112 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
;
22115 char *kwnames
[] = {
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= wxTimeSpan::Day();
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22128 wxTimeSpan
* resultptr
;
22129 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22138 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22142 PyObject
* obj0
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "days", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22148 arg1
= (long)SWIG_As_long(obj0
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= wxTimeSpan::Weeks(arg1
);
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22158 wxTimeSpan
* resultptr
;
22159 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22168 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
;
22171 char *kwnames
[] = {
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= wxTimeSpan::Week();
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22184 wxTimeSpan
* resultptr
;
22185 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22194 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 long arg1
= (long) 0 ;
22197 long arg2
= (long) 0 ;
22198 long arg3
= (long) 0 ;
22199 long arg4
= (long) 0 ;
22200 wxTimeSpan
*result
;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 PyObject
* obj2
= 0 ;
22204 PyObject
* obj3
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22211 arg1
= (long)SWIG_As_long(obj0
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22215 arg2
= (long)SWIG_As_long(obj1
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22219 arg3
= (long)SWIG_As_long(obj2
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22223 arg4
= (long)SWIG_As_long(obj3
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22240 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22243 PyObject
* obj0
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 Py_INCREF(Py_None
); resultobj
= Py_None
;
22265 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22268 wxTimeSpan
*arg2
= 0 ;
22269 wxTimeSpan
*result
;
22270 PyObject
* obj0
= 0 ;
22271 PyObject
* obj1
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self",(char *) "diff", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22282 if (arg2
== NULL
) {
22283 PyErr_SetString(PyExc_TypeError
,"null reference");
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22290 result
= (wxTimeSpan
*) &_result_ref
;
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22303 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22306 wxTimeSpan
*arg2
= 0 ;
22307 wxTimeSpan
*result
;
22308 PyObject
* obj0
= 0 ;
22309 PyObject
* obj1
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self",(char *) "diff", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22320 if (arg2
== NULL
) {
22321 PyErr_SetString(PyExc_TypeError
,"null reference");
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22328 result
= (wxTimeSpan
*) &_result_ref
;
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22341 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
;
22343 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22345 wxTimeSpan
*result
;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self",(char *) "n", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22355 arg2
= (int)SWIG_As_int(obj1
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22361 result
= (wxTimeSpan
*) &_result_ref
;
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22374 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22377 wxTimeSpan
*result
;
22378 PyObject
* obj0
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22390 result
= (wxTimeSpan
*) &_result_ref
;
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22403 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 wxTimeSpan
* resultptr
;
22424 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22433 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22436 wxTimeSpan
*arg2
= 0 ;
22437 wxTimeSpan
*result
;
22438 PyObject
* obj0
= 0 ;
22439 PyObject
* obj1
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self",(char *) "diff", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22446 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22450 if (arg2
== NULL
) {
22451 PyErr_SetString(PyExc_TypeError
,"null reference");
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22458 result
= (wxTimeSpan
*) &_result_ref
;
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22471 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
;
22473 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22474 wxTimeSpan
*arg2
= 0 ;
22475 wxTimeSpan
*result
;
22476 PyObject
* obj0
= 0 ;
22477 PyObject
* obj1
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self",(char *) "diff", NULL
22482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22484 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22488 if (arg2
== NULL
) {
22489 PyErr_SetString(PyExc_TypeError
,"null reference");
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22496 result
= (wxTimeSpan
*) &_result_ref
;
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22509 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22513 wxTimeSpan
*result
;
22514 PyObject
* obj0
= 0 ;
22515 PyObject
* obj1
= 0 ;
22516 char *kwnames
[] = {
22517 (char *) "self",(char *) "n", NULL
22520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22522 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22523 arg2
= (int)SWIG_As_int(obj1
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22529 result
= (wxTimeSpan
*) &_result_ref
;
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22542 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22544 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22545 wxTimeSpan
*result
;
22546 PyObject
* obj0
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "self", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22558 result
= (wxTimeSpan
*) &_result_ref
;
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22571 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22574 wxTimeSpan
*arg2
= 0 ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self",(char *) "other", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22588 if (arg2
== NULL
) {
22589 PyErr_SetString(PyExc_TypeError
,"null reference");
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22600 wxTimeSpan
* resultptr
;
22601 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22610 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22613 wxTimeSpan
*arg2
= 0 ;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self",(char *) "other", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22627 if (arg2
== NULL
) {
22628 PyErr_SetString(PyExc_TypeError
,"null reference");
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22639 wxTimeSpan
* resultptr
;
22640 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22649 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22654 PyObject
* obj0
= 0 ;
22655 PyObject
* obj1
= 0 ;
22656 char *kwnames
[] = {
22657 (char *) "self",(char *) "n", NULL
22660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22663 arg2
= (int)SWIG_As_int(obj1
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= wxTimeSpan___mul__(arg1
,arg2
);
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22673 wxTimeSpan
* resultptr
;
22674 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22683 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22685 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 PyObject
* obj1
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "self",(char *) "n", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 arg2
= (int)SWIG_As_int(obj1
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22707 wxTimeSpan
* resultptr
;
22708 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22717 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22719 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22720 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 PyObject
* obj1
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self",(char *) "other", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22749 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22752 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self",(char *) "other", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22781 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22784 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22786 PyObject
* obj0
= 0 ;
22787 PyObject
* obj1
= 0 ;
22788 char *kwnames
[] = {
22789 (char *) "self",(char *) "other", NULL
22792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22813 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22816 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "self",(char *) "other", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22845 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22848 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22850 PyObject
* obj0
= 0 ;
22851 PyObject
* obj1
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self",(char *) "other", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22877 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22879 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22880 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22882 PyObject
* obj0
= 0 ;
22883 PyObject
* obj1
= 0 ;
22884 char *kwnames
[] = {
22885 (char *) "self",(char *) "other", NULL
22888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22909 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22937 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22941 PyObject
* obj0
= 0 ;
22942 char *kwnames
[] = {
22943 (char *) "self", NULL
22946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22965 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22969 PyObject
* obj0
= 0 ;
22970 char *kwnames
[] = {
22971 (char *) "self", NULL
22974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22993 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22996 wxTimeSpan
*arg2
= 0 ;
22998 PyObject
* obj0
= 0 ;
22999 PyObject
* obj1
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self",(char *) "ts", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23010 if (arg2
== NULL
) {
23011 PyErr_SetString(PyExc_TypeError
,"null reference");
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23030 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23033 wxTimeSpan
*arg2
= 0 ;
23035 PyObject
* obj0
= 0 ;
23036 PyObject
* obj1
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self",(char *) "ts", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23047 if (arg2
== NULL
) {
23048 PyErr_SetString(PyExc_TypeError
,"null reference");
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23067 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23070 wxTimeSpan
*arg2
= 0 ;
23072 PyObject
* obj0
= 0 ;
23073 PyObject
* obj1
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self",(char *) "t", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23084 if (arg2
== NULL
) {
23085 PyErr_SetString(PyExc_TypeError
,"null reference");
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23104 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
;
23106 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23108 PyObject
* obj0
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_From_int((int)result
);
23130 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23134 PyObject
* obj0
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_From_int((int)result
);
23156 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 resultobj
= SWIG_From_int((int)result
);
23182 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23186 PyObject
* obj0
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= SWIG_From_int((int)result
);
23208 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
;
23210 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23212 PyObject
* obj0
= 0 ;
23213 char *kwnames
[] = {
23214 (char *) "self", NULL
23217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
23218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23228 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23229 hi
= PyLong_FromLong( (&result
)->GetHi() );
23230 lo
= PyLong_FromLong( (&result
)->GetLo() );
23231 shifter
= PyLong_FromLong(32);
23232 shifted
= PyNumber_Lshift(hi
, shifter
);
23233 resultobj
= PyNumber_Or(shifted
, lo
);
23236 Py_DECREF(shifter
);
23237 Py_DECREF(shifted
);
23245 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23249 PyObject
* obj0
= 0 ;
23250 char *kwnames
[] = {
23251 (char *) "self", NULL
23254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23265 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23266 hi
= PyLong_FromLong( (&result
)->GetHi() );
23267 lo
= PyLong_FromLong( (&result
)->GetLo() );
23268 shifter
= PyLong_FromLong(32);
23269 shifted
= PyNumber_Lshift(hi
, shifter
);
23270 resultobj
= PyNumber_Or(shifted
, lo
);
23273 Py_DECREF(shifter
);
23274 Py_DECREF(shifted
);
23282 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
;
23284 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23285 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23286 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23288 bool temp2
= false ;
23289 PyObject
* obj0
= 0 ;
23290 PyObject
* obj1
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self",(char *) "format", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23300 arg2
= wxString_in_helper(obj1
);
23301 if (arg2
== NULL
) SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23333 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23336 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23338 return Py_BuildValue((char *)"");
23340 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 int arg1
= (int) 0 ;
23343 int arg2
= (int) 0 ;
23344 int arg3
= (int) 0 ;
23345 int arg4
= (int) 0 ;
23346 wxDateSpan
*result
;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 PyObject
* obj2
= 0 ;
23350 PyObject
* obj3
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23357 arg1
= (int)SWIG_As_int(obj0
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23361 arg2
= (int)SWIG_As_int(obj1
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23365 arg3
= (int)SWIG_As_int(obj2
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23369 arg4
= (int)SWIG_As_int(obj3
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23386 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23388 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23404 Py_INCREF(Py_None
); resultobj
= Py_None
;
23411 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
;
23415 PyObject
* obj0
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "days", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23421 arg1
= (int)SWIG_As_int(obj0
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= wxDateSpan::Days(arg1
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23431 wxDateSpan
* resultptr
;
23432 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23441 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23444 char *kwnames
[] = {
23448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 result
= wxDateSpan::Day();
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23457 wxDateSpan
* resultptr
;
23458 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23467 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23471 PyObject
* obj0
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "weeks", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23477 arg1
= (int)SWIG_As_int(obj0
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= wxDateSpan::Weeks(arg1
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23487 wxDateSpan
* resultptr
;
23488 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23497 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23500 char *kwnames
[] = {
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 result
= wxDateSpan::Week();
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23513 wxDateSpan
* resultptr
;
23514 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23523 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23527 PyObject
* obj0
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "mon", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23533 arg1
= (int)SWIG_As_int(obj0
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= wxDateSpan::Months(arg1
);
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23543 wxDateSpan
* resultptr
;
23544 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23553 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23556 char *kwnames
[] = {
23560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= wxDateSpan::Month();
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23569 wxDateSpan
* resultptr
;
23570 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23579 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23583 PyObject
* obj0
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "years", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23589 arg1
= (int)SWIG_As_int(obj0
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= wxDateSpan::Years(arg1
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 wxDateSpan
* resultptr
;
23600 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23609 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23612 char *kwnames
[] = {
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= wxDateSpan::Year();
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23625 wxDateSpan
* resultptr
;
23626 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23635 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23639 wxDateSpan
*result
;
23640 PyObject
* obj0
= 0 ;
23641 PyObject
* obj1
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self",(char *) "n", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23649 arg2
= (int)SWIG_As_int(obj1
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23655 result
= (wxDateSpan
*) &_result_ref
;
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23668 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
;
23670 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23672 wxDateSpan
*result
;
23673 PyObject
* obj0
= 0 ;
23674 PyObject
* obj1
= 0 ;
23675 char *kwnames
[] = {
23676 (char *) "self",(char *) "n", NULL
23679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23682 arg2
= (int)SWIG_As_int(obj1
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23688 result
= (wxDateSpan
*) &_result_ref
;
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23701 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23703 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23705 wxDateSpan
*result
;
23706 PyObject
* obj0
= 0 ;
23707 PyObject
* obj1
= 0 ;
23708 char *kwnames
[] = {
23709 (char *) "self",(char *) "n", NULL
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23715 arg2
= (int)SWIG_As_int(obj1
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23721 result
= (wxDateSpan
*) &_result_ref
;
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23734 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
;
23736 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23738 wxDateSpan
*result
;
23739 PyObject
* obj0
= 0 ;
23740 PyObject
* obj1
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self",(char *) "n", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23748 arg2
= (int)SWIG_As_int(obj1
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23754 result
= (wxDateSpan
*) &_result_ref
;
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23767 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
;
23769 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23771 PyObject
* obj0
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "self", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23786 resultobj
= SWIG_From_int((int)result
);
23793 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= SWIG_From_int((int)result
);
23819 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23823 PyObject
* obj0
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= SWIG_From_int((int)result
);
23845 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23849 PyObject
* obj0
= 0 ;
23850 char *kwnames
[] = {
23851 (char *) "self", NULL
23854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23861 wxPyEndAllowThreads(__tstate
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23864 resultobj
= SWIG_From_int((int)result
);
23871 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23872 PyObject
*resultobj
;
23873 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23875 PyObject
* obj0
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= SWIG_From_int((int)result
);
23897 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
;
23899 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23900 wxDateSpan
*arg2
= 0 ;
23901 wxDateSpan
*result
;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 char *kwnames
[] = {
23905 (char *) "self",(char *) "other", NULL
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23914 if (arg2
== NULL
) {
23915 PyErr_SetString(PyExc_TypeError
,"null reference");
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23922 result
= (wxDateSpan
*) &_result_ref
;
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23935 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23938 wxDateSpan
*arg2
= 0 ;
23939 wxDateSpan
*result
;
23940 PyObject
* obj0
= 0 ;
23941 PyObject
* obj1
= 0 ;
23942 char *kwnames
[] = {
23943 (char *) "self",(char *) "other", NULL
23946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23952 if (arg2
== NULL
) {
23953 PyErr_SetString(PyExc_TypeError
,"null reference");
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23960 result
= (wxDateSpan
*) &_result_ref
;
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23973 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23976 wxDateSpan
*result
;
23977 PyObject
* obj0
= 0 ;
23978 char *kwnames
[] = {
23979 (char *) "self", NULL
23982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23989 result
= (wxDateSpan
*) &_result_ref
;
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24002 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
;
24004 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24006 wxDateSpan
*result
;
24007 PyObject
* obj0
= 0 ;
24008 PyObject
* obj1
= 0 ;
24009 char *kwnames
[] = {
24010 (char *) "self",(char *) "factor", NULL
24013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24016 arg2
= (int)SWIG_As_int(obj1
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24022 result
= (wxDateSpan
*) &_result_ref
;
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24035 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24038 wxDateSpan
*arg2
= 0 ;
24039 wxDateSpan
*result
;
24040 PyObject
* obj0
= 0 ;
24041 PyObject
* obj1
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self",(char *) "other", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24048 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24052 if (arg2
== NULL
) {
24053 PyErr_SetString(PyExc_TypeError
,"null reference");
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
24060 result
= (wxDateSpan
*) &_result_ref
;
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24073 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
;
24075 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24076 wxDateSpan
*arg2
= 0 ;
24077 wxDateSpan
*result
;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self",(char *) "other", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24086 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24090 if (arg2
== NULL
) {
24091 PyErr_SetString(PyExc_TypeError
,"null reference");
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24098 result
= (wxDateSpan
*) &_result_ref
;
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24111 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
;
24113 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24114 wxDateSpan
*result
;
24115 PyObject
* obj0
= 0 ;
24116 char *kwnames
[] = {
24117 (char *) "self", NULL
24120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
24121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 wxDateSpan
&_result_ref
= (arg1
)->operator -();
24127 result
= (wxDateSpan
*) &_result_ref
;
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24140 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24144 wxDateSpan
*result
;
24145 PyObject
* obj0
= 0 ;
24146 PyObject
* obj1
= 0 ;
24147 char *kwnames
[] = {
24148 (char *) "self",(char *) "factor", NULL
24151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24153 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24154 arg2
= (int)SWIG_As_int(obj1
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24160 result
= (wxDateSpan
*) &_result_ref
;
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24173 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
;
24175 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24176 wxDateSpan
*arg2
= 0 ;
24178 PyObject
* obj0
= 0 ;
24179 PyObject
* obj1
= 0 ;
24180 char *kwnames
[] = {
24181 (char *) "self",(char *) "other", NULL
24184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24190 if (arg2
== NULL
) {
24191 PyErr_SetString(PyExc_TypeError
,"null reference");
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24202 wxDateSpan
* resultptr
;
24203 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24212 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24214 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24215 wxDateSpan
*arg2
= 0 ;
24217 PyObject
* obj0
= 0 ;
24218 PyObject
* obj1
= 0 ;
24219 char *kwnames
[] = {
24220 (char *) "self",(char *) "other", NULL
24223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24229 if (arg2
== NULL
) {
24230 PyErr_SetString(PyExc_TypeError
,"null reference");
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24241 wxDateSpan
* resultptr
;
24242 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24251 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 PyObject
* obj1
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self",(char *) "n", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24265 arg2
= (int)SWIG_As_int(obj1
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= wxDateSpan___mul__(arg1
,arg2
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24275 wxDateSpan
* resultptr
;
24276 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24285 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "self",(char *) "n", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 arg2
= (int)SWIG_As_int(obj1
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 result
= wxDateSpan___rmul__(arg1
,arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24309 wxDateSpan
* resultptr
;
24310 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24319 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24320 PyObject
*resultobj
;
24321 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24322 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24324 PyObject
* obj0
= 0 ;
24325 PyObject
* obj1
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self",(char *) "other", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24351 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24354 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 PyObject
* obj1
= 0 ;
24358 char *kwnames
[] = {
24359 (char *) "self",(char *) "other", NULL
24362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24383 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24386 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24388 return Py_BuildValue((char *)"");
24390 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24393 char *kwnames
[] = {
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (long)wxGetLocalTime();
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= SWIG_From_long((long)result
);
24412 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24415 char *kwnames
[] = {
24419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (long)wxGetUTCTime();
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24427 resultobj
= SWIG_From_long((long)result
);
24434 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
;
24437 char *kwnames
[] = {
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (long)wxGetCurrentTime();
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_From_long((long)result
);
24456 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24459 char *kwnames
[] = {
24463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 result
= wxGetLocalTimeMillis();
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24472 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24473 hi
= PyLong_FromLong( (&result
)->GetHi() );
24474 lo
= PyLong_FromLong( (&result
)->GetLo() );
24475 shifter
= PyLong_FromLong(32);
24476 shifted
= PyNumber_Lshift(hi
, shifter
);
24477 resultobj
= PyNumber_Or(shifted
, lo
);
24480 Py_DECREF(shifter
);
24481 Py_DECREF(shifted
);
24489 static int _wrap_DefaultDateTime_set(PyObject
*) {
24490 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24495 static PyObject
*_wrap_DefaultDateTime_get() {
24498 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24503 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
;
24506 wxDataFormat
*result
;
24507 PyObject
* obj0
= 0 ;
24508 char *kwnames
[] = {
24509 (char *) "type", NULL
24512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24513 arg1
= (int)SWIG_As_int(obj0
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24529 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxString
*arg1
= 0 ;
24532 wxDataFormat
*result
;
24533 bool temp1
= false ;
24534 PyObject
* obj0
= 0 ;
24535 char *kwnames
[] = {
24536 (char *) "format", NULL
24539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24541 arg1
= wxString_in_helper(obj0
);
24542 if (arg1
== NULL
) SWIG_fail
;
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24567 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
;
24569 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24570 PyObject
* obj0
= 0 ;
24571 char *kwnames
[] = {
24572 (char *) "self", NULL
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 Py_INCREF(Py_None
); resultobj
= Py_None
;
24592 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24593 PyObject
*resultobj
;
24594 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24600 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24603 arg2
= (int)SWIG_As_int(obj1
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24621 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24622 PyObject
*resultobj
;
24623 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24629 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24632 arg2
= (int)SWIG_As_int(obj1
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24650 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24651 PyObject
*resultobj
;
24652 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24653 wxDataFormat
*arg2
= 0 ;
24655 PyObject
* obj0
= 0 ;
24656 PyObject
* obj1
= 0 ;
24658 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24664 if (arg2
== NULL
) {
24665 PyErr_SetString(PyExc_TypeError
,"null reference");
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24684 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24689 argc
= PyObject_Length(args
);
24690 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24691 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24697 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24707 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24715 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24723 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24731 _v
= SWIG_Check_int(argv
[1]);
24733 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24738 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24743 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24744 PyObject
*resultobj
;
24745 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24746 wxDataFormat
*arg2
= 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24751 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24757 if (arg2
== NULL
) {
24758 PyErr_SetString(PyExc_TypeError
,"null reference");
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24777 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24782 argc
= PyObject_Length(args
);
24783 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24784 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24790 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24800 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24808 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24816 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24824 _v
= SWIG_Check_int(argv
[1]);
24826 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24831 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24836 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 char *kwnames
[] = {
24843 (char *) "self",(char *) "format", NULL
24846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 arg2
= (int)SWIG_As_int(obj1
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 (arg1
)->SetType((wxDataFormatId
)arg2
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 Py_INCREF(Py_None
); resultobj
= Py_None
;
24865 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= SWIG_From_int((int)result
);
24891 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24895 PyObject
* obj0
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= ((wxDataFormat
const *)arg1
)->GetId();
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24923 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24926 wxString
*arg2
= 0 ;
24927 bool temp2
= false ;
24928 PyObject
* obj0
= 0 ;
24929 PyObject
* obj1
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self",(char *) "format", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24938 arg2
= wxString_in_helper(obj1
);
24939 if (arg2
== NULL
) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 (arg1
)->SetId((wxString
const &)*arg2
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 Py_INCREF(Py_None
); resultobj
= Py_None
;
24964 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24967 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24969 return Py_BuildValue((char *)"");
24971 static int _wrap_FormatInvalid_set(PyObject
*) {
24972 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24977 static PyObject
*_wrap_FormatInvalid_get() {
24980 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24985 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "self", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 Py_INCREF(Py_None
); resultobj
= Py_None
;
25010 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
;
25012 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25013 int arg2
= (int) wxDataObject::Get
;
25014 SwigValueWrapper
< wxDataFormat
> result
;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self",(char *) "dir", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25025 arg2
= (int)SWIG_As_int(obj1
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25036 wxDataFormat
* resultptr
;
25037 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
25038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
25046 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
;
25048 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25049 int arg2
= (int) wxDataObject::Get
;
25051 PyObject
* obj0
= 0 ;
25052 PyObject
* obj1
= 0 ;
25053 char *kwnames
[] = {
25054 (char *) "self",(char *) "dir", NULL
25057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
25058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25061 arg2
= (int)SWIG_As_int(obj1
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25071 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25078 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25081 wxDataFormat
*arg2
= 0 ;
25082 int arg3
= (int) wxDataObject::Get
;
25084 PyObject
* obj0
= 0 ;
25085 PyObject
* obj1
= 0 ;
25086 PyObject
* obj2
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self",(char *) "format",(char *) "dir", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25097 if (arg2
== NULL
) {
25098 PyErr_SetString(PyExc_TypeError
,"null reference");
25102 arg3
= (int)SWIG_As_int(obj2
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25121 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25124 wxDataFormat
*arg2
= 0 ;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj1
= 0 ;
25128 char *kwnames
[] = {
25129 (char *) "self",(char *) "format", NULL
25132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25138 if (arg2
== NULL
) {
25139 PyErr_SetString(PyExc_TypeError
,"null reference");
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25156 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
;
25158 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25159 int arg2
= (int) wxDataObject::Get
;
25161 PyObject
* obj0
= 0 ;
25162 PyObject
* obj1
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self",(char *) "dir", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
25168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25171 arg2
= (int)SWIG_As_int(obj1
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= result
;
25188 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25191 wxDataFormat
*arg2
= 0 ;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self",(char *) "format", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
25200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25205 if (arg2
== NULL
) {
25206 PyErr_SetString(PyExc_TypeError
,"null reference");
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= result
;
25223 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25226 wxDataFormat
*arg2
= 0 ;
25227 PyObject
*arg3
= (PyObject
*) 0 ;
25229 PyObject
* obj0
= 0 ;
25230 PyObject
* obj1
= 0 ;
25231 PyObject
* obj2
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self",(char *) "format",(char *) "data", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25242 if (arg2
== NULL
) {
25243 PyErr_SetString(PyExc_TypeError
,"null reference");
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25263 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25266 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25268 return Py_BuildValue((char *)"");
25270 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
;
25272 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25273 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25274 wxDataObjectSimple
*result
;
25275 PyObject
* obj0
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "format", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25285 if (arg1
== NULL
) {
25286 PyErr_SetString(PyExc_TypeError
,"null reference");
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25304 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25305 PyObject
*resultobj
;
25306 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25307 wxDataFormat
*result
;
25308 PyObject
* obj0
= 0 ;
25309 char *kwnames
[] = {
25310 (char *) "self", NULL
25313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25320 result
= (wxDataFormat
*) &_result_ref
;
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25333 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25336 wxDataFormat
*arg2
= 0 ;
25337 PyObject
* obj0
= 0 ;
25338 PyObject
* obj1
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self",(char *) "format", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25349 if (arg2
== NULL
) {
25350 PyErr_SetString(PyExc_TypeError
,"null reference");
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25360 Py_INCREF(Py_None
); resultobj
= Py_None
;
25367 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25368 PyObject
*resultobj
;
25369 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25371 PyObject
* obj0
= 0 ;
25372 char *kwnames
[] = {
25373 (char *) "self", NULL
25376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25381 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25393 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25394 PyObject
*resultobj
;
25395 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25397 PyObject
* obj0
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25412 resultobj
= result
;
25419 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
;
25421 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25422 PyObject
*arg2
= (PyObject
*) 0 ;
25424 PyObject
* obj0
= 0 ;
25425 PyObject
* obj1
= 0 ;
25426 char *kwnames
[] = {
25427 (char *) "self",(char *) "data", NULL
25430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25450 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25453 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25455 return Py_BuildValue((char *)"");
25457 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
;
25459 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25460 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25461 wxPyDataObjectSimple
*result
;
25462 PyObject
* obj0
= 0 ;
25463 char *kwnames
[] = {
25464 (char *) "format", NULL
25467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25472 if (arg1
== NULL
) {
25473 PyErr_SetString(PyExc_TypeError
,"null reference");
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25491 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25494 PyObject
*arg2
= (PyObject
*) 0 ;
25495 PyObject
*arg3
= (PyObject
*) 0 ;
25496 PyObject
* obj0
= 0 ;
25497 PyObject
* obj1
= 0 ;
25498 PyObject
* obj2
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self",(char *) "self",(char *) "_class", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 Py_INCREF(Py_None
); resultobj
= Py_None
;
25522 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25525 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25527 return Py_BuildValue((char *)"");
25529 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxDataObjectComposite
*result
;
25532 char *kwnames
[] = {
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25551 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
;
25553 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25554 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25555 bool arg3
= (bool) false ;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 PyObject
* obj2
= 0 ;
25559 char *kwnames
[] = {
25560 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25567 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25569 arg3
= (bool)SWIG_As_bool(obj2
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 (arg1
)->Add(arg2
,arg3
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 Py_INCREF(Py_None
); resultobj
= Py_None
;
25586 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25589 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25591 return Py_BuildValue((char *)"");
25593 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
;
25595 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25596 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25597 wxTextDataObject
*result
;
25598 bool temp1
= false ;
25599 PyObject
* obj0
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "text", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25607 arg1
= wxString_in_helper(obj0
);
25608 if (arg1
== NULL
) SWIG_fail
;
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25634 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25638 PyObject
* obj0
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "self", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 result
= (size_t)(arg1
)->GetTextLength();
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25660 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
;
25662 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25664 PyObject
* obj0
= 0 ;
25665 char *kwnames
[] = {
25666 (char *) "self", NULL
25669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= (arg1
)->GetText();
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25692 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
;
25694 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25695 wxString
*arg2
= 0 ;
25696 bool temp2
= false ;
25697 PyObject
* obj0
= 0 ;
25698 PyObject
* obj1
= 0 ;
25699 char *kwnames
[] = {
25700 (char *) "self",(char *) "text", NULL
25703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25707 arg2
= wxString_in_helper(obj1
);
25708 if (arg2
== NULL
) SWIG_fail
;
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 (arg1
)->SetText((wxString
const &)*arg2
);
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25718 Py_INCREF(Py_None
); resultobj
= Py_None
;
25733 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25736 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25738 return Py_BuildValue((char *)"");
25740 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25743 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25744 wxPyTextDataObject
*result
;
25745 bool temp1
= false ;
25746 PyObject
* obj0
= 0 ;
25747 char *kwnames
[] = {
25748 (char *) "text", NULL
25751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25754 arg1
= wxString_in_helper(obj0
);
25755 if (arg1
== NULL
) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25781 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25784 PyObject
*arg2
= (PyObject
*) 0 ;
25785 PyObject
*arg3
= (PyObject
*) 0 ;
25786 PyObject
* obj0
= 0 ;
25787 PyObject
* obj1
= 0 ;
25788 PyObject
* obj2
= 0 ;
25789 char *kwnames
[] = {
25790 (char *) "self",(char *) "self",(char *) "_class", NULL
25793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 Py_INCREF(Py_None
); resultobj
= Py_None
;
25812 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25815 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25817 return Py_BuildValue((char *)"");
25819 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25820 PyObject
*resultobj
;
25821 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25822 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25823 wxBitmapDataObject
*result
;
25824 PyObject
* obj0
= 0 ;
25825 char *kwnames
[] = {
25826 (char *) "bitmap", NULL
25829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25834 if (arg1
== NULL
) {
25835 PyErr_SetString(PyExc_TypeError
,"null reference");
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25853 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
;
25855 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25857 PyObject
* obj0
= 0 ;
25858 char *kwnames
[] = {
25859 (char *) "self", NULL
25862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25867 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25873 wxBitmap
* resultptr
;
25874 resultptr
= new wxBitmap((wxBitmap
&) result
);
25875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25883 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
;
25885 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25886 wxBitmap
*arg2
= 0 ;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "self",(char *) "bitmap", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25899 if (arg2
== NULL
) {
25900 PyErr_SetString(PyExc_TypeError
,"null reference");
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 Py_INCREF(Py_None
); resultobj
= Py_None
;
25917 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25920 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25922 return Py_BuildValue((char *)"");
25924 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
;
25926 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25927 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25928 wxPyBitmapDataObject
*result
;
25929 PyObject
* obj0
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "bitmap", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25939 if (arg1
== NULL
) {
25940 PyErr_SetString(PyExc_TypeError
,"null reference");
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25958 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25959 PyObject
*resultobj
;
25960 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25961 PyObject
*arg2
= (PyObject
*) 0 ;
25962 PyObject
*arg3
= (PyObject
*) 0 ;
25963 PyObject
* obj0
= 0 ;
25964 PyObject
* obj1
= 0 ;
25965 PyObject
* obj2
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self",(char *) "self",(char *) "_class", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 Py_INCREF(Py_None
); resultobj
= Py_None
;
25989 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25992 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25994 return Py_BuildValue((char *)"");
25996 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxFileDataObject
*result
;
25999 char *kwnames
[] = {
26003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= (wxFileDataObject
*)new wxFileDataObject();
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
26018 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
;
26020 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
26021 wxArrayString
*result
;
26022 PyObject
* obj0
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
26028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
26034 result
= (wxArrayString
*) &_result_ref
;
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= wxArrayString2PyList_helper(*result
);
26049 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
26052 wxString
*arg2
= 0 ;
26053 bool temp2
= false ;
26054 PyObject
* obj0
= 0 ;
26055 PyObject
* obj1
= 0 ;
26056 char *kwnames
[] = {
26057 (char *) "self",(char *) "filename", NULL
26060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
26061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26064 arg2
= wxString_in_helper(obj1
);
26065 if (arg2
== NULL
) SWIG_fail
;
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 (arg1
)->AddFile((wxString
const &)*arg2
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 Py_INCREF(Py_None
); resultobj
= Py_None
;
26090 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26093 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
26095 return Py_BuildValue((char *)"");
26097 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
;
26099 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
26100 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
26101 wxCustomDataObject
*result
;
26102 PyObject
* obj0
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "format", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
26109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
26110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26112 if (arg1
== NULL
) {
26113 PyErr_SetString(PyExc_TypeError
,"null reference");
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
26131 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
;
26133 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26134 PyObject
*arg2
= (PyObject
*) 0 ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 char *kwnames
[] = {
26139 (char *) "self",(char *) "data", NULL
26142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26148 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26162 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
;
26164 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26166 PyObject
* obj0
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "self", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
26172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 result
= (size_t)(arg1
)->GetSize();
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26188 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26192 PyObject
* obj0
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
26198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= result
;
26214 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
26216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26217 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
26219 return Py_BuildValue((char *)"");
26221 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxURLDataObject
*result
;
26224 char *kwnames
[] = {
26228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (wxURLDataObject
*)new wxURLDataObject();
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
26243 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26244 PyObject
*resultobj
;
26245 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26247 PyObject
* obj0
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (arg1
)->GetURL();
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26275 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26276 PyObject
*resultobj
;
26277 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26278 wxString
*arg2
= 0 ;
26279 bool temp2
= false ;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 char *kwnames
[] = {
26283 (char *) "self",(char *) "url", NULL
26286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26290 arg2
= wxString_in_helper(obj1
);
26291 if (arg2
== NULL
) SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 (arg1
)->SetURL((wxString
const &)*arg2
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 Py_INCREF(Py_None
); resultobj
= Py_None
;
26316 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26319 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26321 return Py_BuildValue((char *)"");
26323 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26324 PyObject
*resultobj
;
26325 wxMetafileDataObject
*result
;
26326 char *kwnames
[] = {
26330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26345 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26348 wxMetafile
*arg2
= 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self",(char *) "metafile", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
26356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
26359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26361 if (arg2
== NULL
) {
26362 PyErr_SetString(PyExc_TypeError
,"null reference");
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 Py_INCREF(Py_None
); resultobj
= Py_None
;
26379 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26380 PyObject
*resultobj
;
26381 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26383 PyObject
* obj0
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
26389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26399 wxMetafile
* resultptr
;
26400 resultptr
= new wxMetafile((wxMetafile
&) result
);
26401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
26409 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26412 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26414 return Py_BuildValue((char *)"");
26416 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
;
26420 PyObject
* obj0
= 0 ;
26421 char *kwnames
[] = {
26422 (char *) "res", NULL
26425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26426 arg1
= (int)SWIG_As_int(obj0
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26444 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26445 PyObject
*resultobj
;
26446 wxWindow
*arg1
= (wxWindow
*) 0 ;
26447 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26448 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26449 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26450 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26451 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26452 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26453 wxPyDropSource
*result
;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 PyObject
* obj2
= 0 ;
26457 PyObject
* obj3
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26469 if (arg2
== NULL
) {
26470 PyErr_SetString(PyExc_TypeError
,"null reference");
26475 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26478 if (arg3
== NULL
) {
26479 PyErr_SetString(PyExc_TypeError
,"null reference");
26484 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26487 if (arg4
== NULL
) {
26488 PyErr_SetString(PyExc_TypeError
,"null reference");
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26496 wxPyEndAllowThreads(__tstate
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26506 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26507 PyObject
*resultobj
;
26508 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26509 PyObject
*arg2
= (PyObject
*) 0 ;
26510 PyObject
*arg3
= (PyObject
*) 0 ;
26512 PyObject
* obj0
= 0 ;
26513 PyObject
* obj1
= 0 ;
26514 PyObject
* obj2
= 0 ;
26515 PyObject
* obj3
= 0 ;
26516 char *kwnames
[] = {
26517 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26525 arg4
= (int)SWIG_As_int(obj3
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 Py_INCREF(Py_None
); resultobj
= Py_None
;
26541 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 char *kwnames
[] = {
26546 (char *) "self", NULL
26549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 Py_INCREF(Py_None
); resultobj
= Py_None
;
26566 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26567 PyObject
*resultobj
;
26568 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26569 wxDataObject
*arg2
= 0 ;
26570 PyObject
* obj0
= 0 ;
26571 PyObject
* obj1
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self",(char *) "data", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26582 if (arg2
== NULL
) {
26583 PyErr_SetString(PyExc_TypeError
,"null reference");
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 (arg1
)->SetData(*arg2
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 Py_INCREF(Py_None
); resultobj
= Py_None
;
26600 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26603 wxDataObject
*result
;
26604 PyObject
* obj0
= 0 ;
26605 char *kwnames
[] = {
26606 (char *) "self", NULL
26609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26626 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26627 PyObject
*resultobj
;
26628 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26630 wxCursor
*arg3
= 0 ;
26631 PyObject
* obj0
= 0 ;
26632 PyObject
* obj1
= 0 ;
26633 PyObject
* obj2
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self",(char *) "res",(char *) "cursor", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26641 arg2
= (int)SWIG_As_int(obj1
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26643 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26646 if (arg3
== NULL
) {
26647 PyErr_SetString(PyExc_TypeError
,"null reference");
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 Py_INCREF(Py_None
); resultobj
= Py_None
;
26664 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
;
26666 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26667 int arg2
= (int) wxDrag_CopyOnly
;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 char *kwnames
[] = {
26672 (char *) "self",(char *) "flags", NULL
26675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26679 arg2
= (int)SWIG_As_int(obj1
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= (int)(arg1
)->DoDragDrop(arg2
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= SWIG_From_int((int)result
);
26696 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
;
26698 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26701 PyObject
* obj0
= 0 ;
26702 PyObject
* obj1
= 0 ;
26703 char *kwnames
[] = {
26704 (char *) "self",(char *) "effect", NULL
26707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26710 arg2
= (int)SWIG_As_int(obj1
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26728 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26731 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26733 return Py_BuildValue((char *)"");
26735 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26738 wxPyDropTarget
*result
;
26739 PyObject
* obj0
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "dataObject", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26747 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26763 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
;
26765 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26766 PyObject
*arg2
= (PyObject
*) 0 ;
26767 PyObject
*arg3
= (PyObject
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 PyObject
* obj2
= 0 ;
26771 char *kwnames
[] = {
26772 (char *) "self",(char *) "self",(char *) "_class", NULL
26775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 Py_INCREF(Py_None
); resultobj
= Py_None
;
26794 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26795 PyObject
*resultobj
;
26796 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26797 PyObject
* obj0
= 0 ;
26798 char *kwnames
[] = {
26799 (char *) "self", NULL
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 Py_INCREF(Py_None
); resultobj
= Py_None
;
26819 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26820 PyObject
*resultobj
;
26821 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26822 wxDataObject
*result
;
26823 PyObject
* obj0
= 0 ;
26824 char *kwnames
[] = {
26825 (char *) "self", NULL
26828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26833 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26845 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26848 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self",(char *) "dataObject", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26859 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 (arg1
)->SetDataObject(arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 Py_INCREF(Py_None
); resultobj
= Py_None
;
26874 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
;
26876 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26881 PyObject
* obj0
= 0 ;
26882 PyObject
* obj1
= 0 ;
26883 PyObject
* obj2
= 0 ;
26884 PyObject
* obj3
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26892 arg2
= (int)SWIG_As_int(obj1
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26894 arg3
= (int)SWIG_As_int(obj2
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26896 arg4
= (int)SWIG_As_int(obj3
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26900 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26905 resultobj
= SWIG_From_int((int)result
);
26912 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26913 PyObject
*resultobj
;
26914 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26919 PyObject
* obj0
= 0 ;
26920 PyObject
* obj1
= 0 ;
26921 PyObject
* obj2
= 0 ;
26922 PyObject
* obj3
= 0 ;
26923 char *kwnames
[] = {
26924 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26930 arg2
= (int)SWIG_As_int(obj1
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26932 arg3
= (int)SWIG_As_int(obj2
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26934 arg4
= (int)SWIG_As_int(obj3
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= SWIG_From_int((int)result
);
26950 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26951 PyObject
*resultobj
;
26952 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26953 PyObject
* obj0
= 0 ;
26954 char *kwnames
[] = {
26955 (char *) "self", NULL
26958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 (arg1
)->base_OnLeave();
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 Py_INCREF(Py_None
); resultobj
= Py_None
;
26975 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 PyObject
* obj2
= 0 ;
26984 char *kwnames
[] = {
26985 (char *) "self",(char *) "x",(char *) "y", NULL
26988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26991 arg2
= (int)SWIG_As_int(obj1
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26993 arg3
= (int)SWIG_As_int(obj2
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27011 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
;
27013 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
27015 PyObject
* obj0
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (bool)(arg1
)->GetData();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27039 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
27041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27042 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
27044 return Py_BuildValue((char *)"");
27046 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27047 PyObject
*resultobj
;
27048 wxPyTextDropTarget
*result
;
27049 char *kwnames
[] = {
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
27068 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27071 PyObject
*arg2
= (PyObject
*) 0 ;
27072 PyObject
*arg3
= (PyObject
*) 0 ;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 PyObject
* obj2
= 0 ;
27076 char *kwnames
[] = {
27077 (char *) "self",(char *) "self",(char *) "_class", NULL
27080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 Py_INCREF(Py_None
); resultobj
= Py_None
;
27099 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
;
27101 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27106 PyObject
* obj0
= 0 ;
27107 PyObject
* obj1
= 0 ;
27108 PyObject
* obj2
= 0 ;
27109 PyObject
* obj3
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27117 arg2
= (int)SWIG_As_int(obj1
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27119 arg3
= (int)SWIG_As_int(obj2
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27121 arg4
= (int)SWIG_As_int(obj3
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= SWIG_From_int((int)result
);
27137 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 PyObject
* obj2
= 0 ;
27147 PyObject
* obj3
= 0 ;
27148 char *kwnames
[] = {
27149 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27155 arg2
= (int)SWIG_As_int(obj1
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27157 arg3
= (int)SWIG_As_int(obj2
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27159 arg4
= (int)SWIG_As_int(obj3
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27168 resultobj
= SWIG_From_int((int)result
);
27175 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
;
27177 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27178 PyObject
* obj0
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 (arg1
)->base_OnLeave();
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 Py_INCREF(Py_None
); resultobj
= Py_None
;
27200 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27206 PyObject
* obj0
= 0 ;
27207 PyObject
* obj1
= 0 ;
27208 PyObject
* obj2
= 0 ;
27209 char *kwnames
[] = {
27210 (char *) "self",(char *) "x",(char *) "y", NULL
27213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27216 arg2
= (int)SWIG_As_int(obj1
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27218 arg3
= (int)SWIG_As_int(obj2
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27236 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
;
27238 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27243 PyObject
* obj0
= 0 ;
27244 PyObject
* obj1
= 0 ;
27245 PyObject
* obj2
= 0 ;
27246 PyObject
* obj3
= 0 ;
27247 char *kwnames
[] = {
27248 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27254 arg2
= (int)SWIG_As_int(obj1
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27256 arg3
= (int)SWIG_As_int(obj2
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27258 arg4
= (int)SWIG_As_int(obj3
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 resultobj
= SWIG_From_int((int)result
);
27274 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27277 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27279 return Py_BuildValue((char *)"");
27281 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxPyFileDropTarget
*result
;
27284 char *kwnames
[] = {
27288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27303 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27306 PyObject
*arg2
= (PyObject
*) 0 ;
27307 PyObject
*arg3
= (PyObject
*) 0 ;
27308 PyObject
* obj0
= 0 ;
27309 PyObject
* obj1
= 0 ;
27310 PyObject
* obj2
= 0 ;
27311 char *kwnames
[] = {
27312 (char *) "self",(char *) "self",(char *) "_class", NULL
27315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 Py_INCREF(Py_None
); resultobj
= Py_None
;
27334 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27341 PyObject
* obj0
= 0 ;
27342 PyObject
* obj1
= 0 ;
27343 PyObject
* obj2
= 0 ;
27344 PyObject
* obj3
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27352 arg2
= (int)SWIG_As_int(obj1
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27354 arg3
= (int)SWIG_As_int(obj2
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27356 arg4
= (int)SWIG_As_int(obj3
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= SWIG_From_int((int)result
);
27372 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27373 PyObject
*resultobj
;
27374 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27379 PyObject
* obj0
= 0 ;
27380 PyObject
* obj1
= 0 ;
27381 PyObject
* obj2
= 0 ;
27382 PyObject
* obj3
= 0 ;
27383 char *kwnames
[] = {
27384 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27390 arg2
= (int)SWIG_As_int(obj1
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27392 arg3
= (int)SWIG_As_int(obj2
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27394 arg4
= (int)SWIG_As_int(obj3
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 resultobj
= SWIG_From_int((int)result
);
27410 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
;
27412 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27413 PyObject
* obj0
= 0 ;
27414 char *kwnames
[] = {
27415 (char *) "self", NULL
27418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 (arg1
)->base_OnLeave();
27425 wxPyEndAllowThreads(__tstate
);
27426 if (PyErr_Occurred()) SWIG_fail
;
27428 Py_INCREF(Py_None
); resultobj
= Py_None
;
27435 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27436 PyObject
*resultobj
;
27437 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27441 PyObject
* obj0
= 0 ;
27442 PyObject
* obj1
= 0 ;
27443 PyObject
* obj2
= 0 ;
27444 char *kwnames
[] = {
27445 (char *) "self",(char *) "x",(char *) "y", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27451 arg2
= (int)SWIG_As_int(obj1
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27453 arg3
= (int)SWIG_As_int(obj2
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27471 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27472 PyObject
*resultobj
;
27473 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27478 PyObject
* obj0
= 0 ;
27479 PyObject
* obj1
= 0 ;
27480 PyObject
* obj2
= 0 ;
27481 PyObject
* obj3
= 0 ;
27482 char *kwnames
[] = {
27483 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27489 arg2
= (int)SWIG_As_int(obj1
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27491 arg3
= (int)SWIG_As_int(obj2
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27493 arg4
= (int)SWIG_As_int(obj3
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27502 resultobj
= SWIG_From_int((int)result
);
27509 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27512 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27514 return Py_BuildValue((char *)"");
27516 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxClipboard
*result
;
27519 char *kwnames
[] = {
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= (wxClipboard
*)new wxClipboard();
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27538 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27541 PyObject
* obj0
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 Py_INCREF(Py_None
); resultobj
= Py_None
;
27563 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27564 PyObject
*resultobj
;
27565 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27567 PyObject
* obj0
= 0 ;
27568 char *kwnames
[] = {
27569 (char *) "self", NULL
27572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 result
= (bool)(arg1
)->Open();
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27591 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
;
27593 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 char *kwnames
[] = {
27596 (char *) "self", NULL
27599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 wxPyEndAllowThreads(__tstate
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 Py_INCREF(Py_None
); resultobj
= Py_None
;
27616 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27617 PyObject
*resultobj
;
27618 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27620 PyObject
* obj0
= 0 ;
27621 char *kwnames
[] = {
27622 (char *) "self", NULL
27625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27644 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27645 PyObject
*resultobj
;
27646 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27647 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27649 PyObject
* obj0
= 0 ;
27650 PyObject
* obj1
= 0 ;
27651 char *kwnames
[] = {
27652 (char *) "self",(char *) "data", NULL
27655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27659 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 result
= (bool)(arg1
)->AddData(arg2
);
27664 wxPyEndAllowThreads(__tstate
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27676 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
;
27678 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27679 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27681 PyObject
* obj0
= 0 ;
27682 PyObject
* obj1
= 0 ;
27683 char *kwnames
[] = {
27684 (char *) "self",(char *) "data", NULL
27687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27691 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 result
= (bool)(arg1
)->SetData(arg2
);
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27708 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27709 PyObject
*resultobj
;
27710 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27711 wxDataFormat
*arg2
= 0 ;
27713 PyObject
* obj0
= 0 ;
27714 PyObject
* obj1
= 0 ;
27715 char *kwnames
[] = {
27716 (char *) "self",(char *) "format", NULL
27719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27725 if (arg2
== NULL
) {
27726 PyErr_SetString(PyExc_TypeError
,"null reference");
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27733 wxPyEndAllowThreads(__tstate
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27745 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
;
27747 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27748 wxDataObject
*arg2
= 0 ;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 char *kwnames
[] = {
27753 (char *) "self",(char *) "data", NULL
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27762 if (arg2
== NULL
) {
27763 PyErr_SetString(PyExc_TypeError
,"null reference");
27767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27768 result
= (bool)(arg1
)->GetData(*arg2
);
27770 wxPyEndAllowThreads(__tstate
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27782 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27785 PyObject
* obj0
= 0 ;
27786 char *kwnames
[] = {
27787 (char *) "self", NULL
27790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27800 Py_INCREF(Py_None
); resultobj
= Py_None
;
27807 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
;
27809 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27811 PyObject
* obj0
= 0 ;
27812 char *kwnames
[] = {
27813 (char *) "self", NULL
27816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (bool)(arg1
)->Flush();
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27835 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27836 PyObject
*resultobj
;
27837 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27838 bool arg2
= (bool) true ;
27839 PyObject
* obj0
= 0 ;
27840 PyObject
* obj1
= 0 ;
27841 char *kwnames
[] = {
27842 (char *) "self",(char *) "primary", NULL
27845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 arg2
= (bool)SWIG_As_bool(obj1
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 (arg1
)->UsePrimarySelection(arg2
);
27856 wxPyEndAllowThreads(__tstate
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 Py_INCREF(Py_None
); resultobj
= Py_None
;
27866 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxClipboard
*result
;
27869 char *kwnames
[] = {
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 result
= (wxClipboard
*)wxClipboard::Get();
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27888 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27891 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27893 return Py_BuildValue((char *)"");
27895 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
;
27897 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27898 wxClipboardLocker
*result
;
27899 PyObject
* obj0
= 0 ;
27900 char *kwnames
[] = {
27901 (char *) "clipboard", NULL
27904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27923 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
;
27925 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27926 PyObject
* obj0
= 0 ;
27927 char *kwnames
[] = {
27928 (char *) "self", NULL
27931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 wxPyEndAllowThreads(__tstate
);
27939 if (PyErr_Occurred()) SWIG_fail
;
27941 Py_INCREF(Py_None
); resultobj
= Py_None
;
27948 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
;
27950 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27952 PyObject
* obj0
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27976 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27979 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27981 return Py_BuildValue((char *)"");
27983 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27984 PyObject
*resultobj
;
27985 int arg1
= (int) 0 ;
27986 int arg2
= (int) 0 ;
27987 int arg3
= (int) 0 ;
27988 int arg4
= (int) 0 ;
27989 wxVideoMode
*result
;
27990 PyObject
* obj0
= 0 ;
27991 PyObject
* obj1
= 0 ;
27992 PyObject
* obj2
= 0 ;
27993 PyObject
* obj3
= 0 ;
27994 char *kwnames
[] = {
27995 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28000 arg1
= (int)SWIG_As_int(obj0
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28004 arg2
= (int)SWIG_As_int(obj1
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28008 arg3
= (int)SWIG_As_int(obj2
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28012 arg4
= (int)SWIG_As_int(obj3
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28017 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
28019 wxPyEndAllowThreads(__tstate
);
28020 if (PyErr_Occurred()) SWIG_fail
;
28022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
28029 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28030 PyObject
*resultobj
;
28031 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28032 PyObject
* obj0
= 0 ;
28033 char *kwnames
[] = {
28034 (char *) "self", NULL
28037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
28038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28047 Py_INCREF(Py_None
); resultobj
= Py_None
;
28054 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28055 PyObject
*resultobj
;
28056 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28057 wxVideoMode
*arg2
= 0 ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 char *kwnames
[] = {
28062 (char *) "self",(char *) "other", NULL
28065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
28066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28071 if (arg2
== NULL
) {
28072 PyErr_SetString(PyExc_TypeError
,"null reference");
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28091 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28095 PyObject
* obj0
= 0 ;
28096 char *kwnames
[] = {
28097 (char *) "self", NULL
28100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
28101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28110 resultobj
= SWIG_From_int((int)result
);
28117 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
;
28119 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28121 PyObject
* obj0
= 0 ;
28122 char *kwnames
[] = {
28123 (char *) "self", NULL
28126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
28127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28131 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
28133 wxPyEndAllowThreads(__tstate
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28136 resultobj
= SWIG_From_int((int)result
);
28143 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
;
28145 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self", NULL
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
28153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= SWIG_From_int((int)result
);
28169 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 char *kwnames
[] = {
28175 (char *) "self", NULL
28178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
28179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28197 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28198 PyObject
*resultobj
;
28199 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28200 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28202 PyObject
* obj0
= 0 ;
28203 PyObject
* obj1
= 0 ;
28204 char *kwnames
[] = {
28205 (char *) "self",(char *) "other", NULL
28208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28229 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
;
28231 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28232 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 PyObject
* obj1
= 0 ;
28236 char *kwnames
[] = {
28237 (char *) "self",(char *) "other", NULL
28240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28247 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
28249 wxPyEndAllowThreads(__tstate
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28261 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
;
28263 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28265 PyObject
* obj0
= 0 ;
28266 PyObject
* obj1
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self",(char *) "w", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28274 arg2
= (int)SWIG_As_int(obj1
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28276 if (arg1
) (arg1
)->w
= arg2
;
28278 Py_INCREF(Py_None
); resultobj
= Py_None
;
28285 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28286 PyObject
*resultobj
;
28287 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28289 PyObject
* obj0
= 0 ;
28290 char *kwnames
[] = {
28291 (char *) "self", NULL
28294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28297 result
= (int) ((arg1
)->w
);
28299 resultobj
= SWIG_From_int((int)result
);
28306 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28307 PyObject
*resultobj
;
28308 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28310 PyObject
* obj0
= 0 ;
28311 PyObject
* obj1
= 0 ;
28312 char *kwnames
[] = {
28313 (char *) "self",(char *) "h", NULL
28316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28319 arg2
= (int)SWIG_As_int(obj1
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28321 if (arg1
) (arg1
)->h
= arg2
;
28323 Py_INCREF(Py_None
); resultobj
= Py_None
;
28330 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28331 PyObject
*resultobj
;
28332 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28334 PyObject
* obj0
= 0 ;
28335 char *kwnames
[] = {
28336 (char *) "self", NULL
28339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28342 result
= (int) ((arg1
)->h
);
28344 resultobj
= SWIG_From_int((int)result
);
28351 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28352 PyObject
*resultobj
;
28353 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28355 PyObject
* obj0
= 0 ;
28356 PyObject
* obj1
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "self",(char *) "bpp", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28364 arg2
= (int)SWIG_As_int(obj1
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28366 if (arg1
) (arg1
)->bpp
= arg2
;
28368 Py_INCREF(Py_None
); resultobj
= Py_None
;
28375 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
;
28377 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28379 PyObject
* obj0
= 0 ;
28380 char *kwnames
[] = {
28381 (char *) "self", NULL
28384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28387 result
= (int) ((arg1
)->bpp
);
28389 resultobj
= SWIG_From_int((int)result
);
28396 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
;
28398 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28400 PyObject
* obj0
= 0 ;
28401 PyObject
* obj1
= 0 ;
28402 char *kwnames
[] = {
28403 (char *) "self",(char *) "refresh", NULL
28406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28409 arg2
= (int)SWIG_As_int(obj1
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28411 if (arg1
) (arg1
)->refresh
= arg2
;
28413 Py_INCREF(Py_None
); resultobj
= Py_None
;
28420 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28421 PyObject
*resultobj
;
28422 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28424 PyObject
* obj0
= 0 ;
28425 char *kwnames
[] = {
28426 (char *) "self", NULL
28429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28432 result
= (int) ((arg1
)->refresh
);
28434 resultobj
= SWIG_From_int((int)result
);
28441 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28444 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28446 return Py_BuildValue((char *)"");
28448 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28449 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28454 static PyObject
*_wrap_DefaultVideoMode_get() {
28457 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28462 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
;
28464 size_t arg1
= (size_t) 0 ;
28466 PyObject
* obj0
= 0 ;
28467 char *kwnames
[] = {
28468 (char *) "index", NULL
28471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28473 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 result
= (wxDisplay
*)new wxDisplay(arg1
);
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28490 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28493 PyObject
* obj0
= 0 ;
28494 char *kwnames
[] = {
28495 (char *) "self", NULL
28498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 Py_INCREF(Py_None
); resultobj
= Py_None
;
28515 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28518 char *kwnames
[] = {
28522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 result
= (size_t)wxDisplay::GetCount();
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28537 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28538 PyObject
*resultobj
;
28539 wxPoint
*arg1
= 0 ;
28542 PyObject
* obj0
= 0 ;
28543 char *kwnames
[] = {
28544 (char *) "pt", NULL
28547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28550 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28556 wxPyEndAllowThreads(__tstate
);
28557 if (PyErr_Occurred()) SWIG_fail
;
28559 resultobj
= SWIG_From_int((int)result
);
28566 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28567 PyObject
*resultobj
;
28568 wxWindow
*arg1
= (wxWindow
*) 0 ;
28570 PyObject
* obj0
= 0 ;
28571 char *kwnames
[] = {
28572 (char *) "window", NULL
28575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 result
= (int)wxDisplay::GetFromWindow(arg1
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= SWIG_From_int((int)result
);
28592 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28593 PyObject
*resultobj
;
28594 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28596 PyObject
* obj0
= 0 ;
28597 char *kwnames
[] = {
28598 (char *) "self", NULL
28601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28606 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28608 wxPyEndAllowThreads(__tstate
);
28609 if (PyErr_Occurred()) SWIG_fail
;
28612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28620 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28621 PyObject
*resultobj
;
28622 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28624 PyObject
* obj0
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28640 wxRect
* resultptr
;
28641 resultptr
= new wxRect((wxRect
&) result
);
28642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28650 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
;
28652 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28654 PyObject
* obj0
= 0 ;
28655 char *kwnames
[] = {
28656 (char *) "self", NULL
28659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 result
= ((wxDisplay
const *)arg1
)->GetName();
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28682 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
;
28684 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28686 PyObject
* obj0
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "self", NULL
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28696 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28710 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
;
28712 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28713 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28714 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28716 PyObject
* obj0
= 0 ;
28717 PyObject
* obj1
= 0 ;
28718 char *kwnames
[] = {
28719 (char *) "self",(char *) "mode", NULL
28722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28729 if (arg2
== NULL
) {
28730 PyErr_SetString(PyExc_TypeError
,"null reference");
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28741 resultobj
= result
;
28748 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
;
28750 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28751 wxVideoMode result
;
28752 PyObject
* obj0
= 0 ;
28753 char *kwnames
[] = {
28754 (char *) "self", NULL
28757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28762 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28768 wxVideoMode
* resultptr
;
28769 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28778 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28779 PyObject
*resultobj
;
28780 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28781 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28782 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28784 PyObject
* obj0
= 0 ;
28785 PyObject
* obj1
= 0 ;
28786 char *kwnames
[] = {
28787 (char *) "self",(char *) "mode", NULL
28790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28797 if (arg2
== NULL
) {
28798 PyErr_SetString(PyExc_TypeError
,"null reference");
28803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28804 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28818 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28819 PyObject
*resultobj
;
28820 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28821 PyObject
* obj0
= 0 ;
28822 char *kwnames
[] = {
28823 (char *) "self", NULL
28826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 (arg1
)->ResetMode();
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 Py_INCREF(Py_None
); resultobj
= Py_None
;
28843 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28846 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28848 return Py_BuildValue((char *)"");
28850 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
;
28852 wxStandardPaths
*result
;
28853 char *kwnames
[] = {
28857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 result
= (wxStandardPaths
*)StandardPaths_Get();
28862 wxPyEndAllowThreads(__tstate
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
28872 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28876 PyObject
* obj0
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
28882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28886 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28904 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28905 PyObject
*resultobj
;
28906 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28908 PyObject
* obj0
= 0 ;
28909 char *kwnames
[] = {
28910 (char *) "self", NULL
28913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
28914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28918 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28936 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28940 PyObject
* obj0
= 0 ;
28941 char *kwnames
[] = {
28942 (char *) "self", NULL
28945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
28946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28968 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28969 PyObject
*resultobj
;
28970 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28972 PyObject
* obj0
= 0 ;
28973 char *kwnames
[] = {
28974 (char *) "self", NULL
28977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
28978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28982 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29000 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29001 PyObject
*resultobj
;
29002 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29004 PyObject
* obj0
= 0 ;
29005 char *kwnames
[] = {
29006 (char *) "self", NULL
29009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
29010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29032 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
;
29034 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29036 PyObject
* obj0
= 0 ;
29037 char *kwnames
[] = {
29038 (char *) "self", NULL
29041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
29042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29064 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29068 PyObject
* obj0
= 0 ;
29069 char *kwnames
[] = {
29070 (char *) "self", NULL
29073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
29074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29096 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
;
29098 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29099 wxString
*arg2
= 0 ;
29100 bool temp2
= false ;
29101 PyObject
* obj0
= 0 ;
29102 PyObject
* obj1
= 0 ;
29103 char *kwnames
[] = {
29104 (char *) "self",(char *) "prefix", NULL
29107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
29108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29111 arg2
= wxString_in_helper(obj1
);
29112 if (arg2
== NULL
) SWIG_fail
;
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 Py_INCREF(Py_None
); resultobj
= Py_None
;
29137 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29138 PyObject
*resultobj
;
29139 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29141 PyObject
* obj0
= 0 ;
29142 char *kwnames
[] = {
29143 (char *) "self", NULL
29146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
29147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29151 result
= wxStandardPaths_GetInstallPrefix(arg1
);
29153 wxPyEndAllowThreads(__tstate
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29169 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
29171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29172 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
29174 return Py_BuildValue((char *)"");
29176 static PyMethodDef SwigMethods
[] = {
29177 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
29184 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
29191 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29235 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
29255 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29257 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
29263 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29269 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29272 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
29279 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
29284 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
29287 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29288 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29289 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
29290 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29291 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29292 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
29296 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29303 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
29310 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
29316 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29318 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29320 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
29322 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29324 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
29325 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29329 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29331 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
29339 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
29342 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
29343 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
29346 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29355 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29358 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
29373 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
29375 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
29377 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
29379 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29382 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29383 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
29386 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29391 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
29392 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29393 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29394 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29400 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29401 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29402 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
29406 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
29410 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29412 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
29413 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29414 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29415 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29416 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29417 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29418 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29419 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29420 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29421 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29422 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29423 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29428 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29429 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
29430 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29431 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29432 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29435 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29436 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29437 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
29438 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29440 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29446 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29447 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29448 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29449 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29450 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29451 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29458 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29459 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29465 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29467 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29468 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29471 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29472 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29473 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29475 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29476 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29477 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29478 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29479 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29480 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29483 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
29485 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29499 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
29513 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
29523 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29531 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
29539 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29541 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
29555 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29565 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
29569 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29571 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29573 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
29578 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29583 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29590 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29612 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29613 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29615 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29617 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29619 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29620 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29621 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29624 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29627 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29631 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29671 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29674 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29676 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29677 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29678 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29679 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29680 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29681 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29682 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29683 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29684 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29685 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29688 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29689 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29690 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29692 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29694 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29696 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29704 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29705 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29709 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29710 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29712 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29720 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29721 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29724 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29725 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29726 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29727 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29728 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29729 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29730 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29731 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29732 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29733 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29734 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29735 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29736 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29737 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29738 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29739 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29740 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29741 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29742 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29743 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29744 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29745 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29746 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29747 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29748 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29749 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29750 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29751 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29752 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29753 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29754 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29755 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29756 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29757 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29758 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29759 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29760 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29761 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29762 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29763 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29764 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29765 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29766 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29767 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29768 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29769 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29770 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29771 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29772 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29773 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29774 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29775 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29776 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29777 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29778 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29779 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29780 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29781 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29782 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29783 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29784 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29785 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29786 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29787 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29788 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29789 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29790 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29791 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29792 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29793 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29794 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29795 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29796 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29797 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29798 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29799 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29800 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29801 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29802 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29803 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29804 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29805 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29806 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29807 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29808 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29809 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29810 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29811 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29812 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29813 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29814 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29815 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29816 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29817 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29818 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29819 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29820 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29821 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29822 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29823 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29824 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29825 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29826 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29827 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29828 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29829 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29830 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29831 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29832 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29833 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29834 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29835 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29836 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29837 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29838 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29839 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29840 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29841 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29842 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29843 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29844 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29845 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29846 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29847 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29848 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29849 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29850 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29851 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29852 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29853 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29854 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29855 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29856 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29857 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29858 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29859 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29860 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29861 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29862 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29863 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29864 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29865 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29866 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29867 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29869 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29870 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29871 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29872 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29873 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29874 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29876 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29878 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29879 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29880 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29882 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29883 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29885 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29886 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29887 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29888 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29889 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29890 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29891 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29892 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29893 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29894 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29896 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29897 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29901 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29902 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29903 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29904 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29905 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29906 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29907 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29908 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29910 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29912 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29914 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29920 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29921 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29922 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29924 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29927 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29928 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29930 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29932 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29933 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29934 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29935 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29936 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29937 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29938 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29939 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29940 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29941 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29942 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29943 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29944 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29945 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29946 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29947 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29948 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29949 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29950 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29951 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29952 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29953 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29954 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29955 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29956 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29957 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29958 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29959 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29960 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29961 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29962 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29963 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29964 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29965 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29966 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29967 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29968 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29969 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29970 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29971 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29972 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29973 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29974 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29975 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29976 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29977 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29978 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29979 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29980 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29981 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29982 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29983 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29984 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29985 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29986 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29987 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29988 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
29989 { NULL
, NULL
, 0, NULL
}
29993 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29995 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29996 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29998 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29999 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30001 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30002 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30004 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30005 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30007 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30008 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30010 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30011 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30013 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
30014 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
30016 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30017 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30019 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30020 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30022 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30023 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30025 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30026 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30028 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
30029 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
30031 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30032 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30034 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30035 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30037 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30038 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30040 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30041 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30043 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30044 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30046 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30047 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30049 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30050 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30052 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30053 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30055 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30056 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30058 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30059 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30061 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30062 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30064 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30065 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30067 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30068 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30070 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30071 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30073 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30074 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30076 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30077 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30079 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30080 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30082 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30083 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30085 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
30086 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
30088 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30089 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30091 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30092 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30094 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30095 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30097 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30098 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30100 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30101 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30103 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30104 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30106 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30107 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30109 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
30110 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
30112 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
30113 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
30115 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
30116 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30118 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
30119 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30121 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
30122 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
30124 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
30125 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30127 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
30128 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
30130 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
30131 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30133 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
30134 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30136 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
30137 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30139 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
30140 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30142 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
30143 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30145 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
30146 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30148 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
30149 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30151 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
30152 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30154 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
30155 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30157 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
30158 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30160 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30161 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30163 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30164 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30166 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30167 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30169 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30170 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30172 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30173 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30175 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
30176 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30178 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30179 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30181 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30182 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30184 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30185 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30187 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30190 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30191 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30193 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
30194 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
30196 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30197 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30199 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30200 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30202 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30203 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30205 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30206 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30208 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
30209 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
30211 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
30212 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
30214 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30215 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30217 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30218 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30220 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30221 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30223 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30226 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30227 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30229 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30230 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30232 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30233 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30235 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30236 return (void *)((wxObject
*) ((wxSizer
*) x
));
30238 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30239 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30241 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
30242 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
30244 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30247 static void *_p_wxEventTo_p_wxObject(void *x
) {
30248 return (void *)((wxObject
*) ((wxEvent
*) x
));
30250 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30251 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30253 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30254 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30256 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30257 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30259 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30260 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30262 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30263 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30265 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30266 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30268 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30269 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30271 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30272 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30274 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30275 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30277 static void *_p_wxControlTo_p_wxObject(void *x
) {
30278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30280 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30281 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30283 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
30284 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
30286 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30287 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30289 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
30290 return (void *)((wxObject
*) ((wxClipboard
*) x
));
30292 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30293 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30295 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30296 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30298 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30299 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30301 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30302 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30304 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
30305 return (void *)((wxObject
*) ((wxToolTip
*) x
));
30307 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30308 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30310 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30311 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30313 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30316 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30317 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30319 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30320 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30322 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30323 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30325 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30326 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30328 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30329 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30331 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30332 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30334 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30335 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30337 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30338 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30340 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30341 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30343 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30344 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30346 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30347 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30349 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30350 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30352 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30353 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30355 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30356 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30358 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30359 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30361 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30364 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30365 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30367 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30368 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30370 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30371 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30373 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30374 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30376 static void *_p_wxImageTo_p_wxObject(void *x
) {
30377 return (void *)((wxObject
*) ((wxImage
*) x
));
30379 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30380 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30382 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
30383 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
30385 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
30386 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
30388 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30391 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30392 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30394 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30395 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30397 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30398 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30400 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30403 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30406 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
30407 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
30409 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30410 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30412 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30415 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30416 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30418 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30419 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30421 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30422 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30424 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30425 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30427 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30428 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30430 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
30431 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
30433 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30436 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30437 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30439 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30440 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30442 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30443 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30445 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30446 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30448 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
30449 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
30451 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30454 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30457 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30458 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30460 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
30461 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
30463 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
30464 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
30466 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
30467 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
30469 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
30470 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
30472 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
30473 return (void *)((wxLog
*) ((wxLogChain
*) x
));
30475 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
30476 return (void *)((wxLog
*) ((wxLogGui
*) x
));
30478 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
30479 return (void *)((wxLog
*) ((wxPyLog
*) x
));
30481 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30482 return (void *)((wxWindow
*) ((wxControl
*) x
));
30484 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30485 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30487 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30488 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30490 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
30491 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
30493 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
30494 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
30496 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}};
30497 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}};
30498 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}};
30499 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}};
30500 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}};
30501 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}};
30502 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}};
30503 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}};
30504 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}};
30505 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}};
30506 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}};
30507 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}};
30508 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}};
30509 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}};
30510 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}};
30511 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}};
30512 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}};
30513 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}};
30514 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}};
30515 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}};
30516 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}};
30517 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}};
30518 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}};
30519 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}};
30520 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}};
30521 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}};
30522 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}};
30523 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}};
30524 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}};
30525 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}};
30526 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}};
30527 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}};
30528 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}};
30529 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}};
30530 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}};
30531 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}};
30532 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}};
30533 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}};
30534 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}};
30535 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}};
30536 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}};
30537 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}};
30538 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}};
30539 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}};
30540 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}};
30541 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}};
30542 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}};
30543 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}};
30544 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}};
30545 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}};
30546 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}};
30547 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}};
30548 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}};
30549 static swig_type_info _swigt__p_wxStandardPaths
[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30550 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}};
30551 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}};
30552 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}};
30553 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}};
30554 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}};
30555 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}};
30556 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}};
30557 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}};
30558 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}};
30559 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}};
30560 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}};
30561 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}};
30562 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}};
30563 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}};
30564 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}};
30565 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}};
30566 static swig_type_info _swigt__p_wxKillError
[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30567 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}};
30568 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}};
30569 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}};
30570 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}};
30571 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}};
30572 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}};
30573 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}};
30574 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}};
30575 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}};
30576 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}};
30577 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}};
30578 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}};
30579 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}};
30580 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}};
30581 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}};
30582 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}};
30583 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}};
30585 static swig_type_info
*swig_types_initial
[] = {
30586 _swigt__p_wxLogChain
,
30587 _swigt__p_wxMutexGuiLocker
,
30588 _swigt__p_wxMetafile
,
30589 _swigt__p_wxFileHistory
,
30591 _swigt__p_wxDateTime__TimeZone
,
30594 _swigt__p_wxConfigBase
,
30595 _swigt__p_wxDisplay
,
30596 _swigt__p_wxFileType
,
30597 _swigt__p_wxLogGui
,
30599 _swigt__p_wxDataFormat
,
30600 _swigt__p_wxTimerEvent
,
30604 _swigt__p_wxClipboard
,
30605 _swigt__p_wxStopWatch
,
30607 _swigt__p_wxClipboardLocker
,
30609 _swigt__p_wxLogStderr
,
30610 _swigt__p_wxLogTextCtrl
,
30611 _swigt__p_wxTextCtrl
,
30612 _swigt__p_wxBusyCursor
,
30613 _swigt__p_wxPyTextDataObject
,
30614 _swigt__p_wxBitmapDataObject
,
30615 _swigt__p_wxTextDataObject
,
30616 _swigt__p_wxDataObject
,
30617 _swigt__p_wxPyBitmapDataObject
,
30618 _swigt__p_wxFileDataObject
,
30619 _swigt__p_wxCustomDataObject
,
30620 _swigt__p_wxURLDataObject
,
30621 _swigt__p_wxMetafileDataObject
,
30623 _swigt__p_wxTimerRunner
,
30624 _swigt__p_wxLogWindow
,
30625 _swigt__p_wxTimeSpan
,
30626 _swigt__p_wxArrayString
,
30627 _swigt__p_wxWindowDisabler
,
30628 _swigt__p_wxToolTip
,
30629 _swigt__p_wxDataObjectComposite
,
30630 _swigt__p_wxFileConfig
,
30631 _swigt__p_wxSystemSettings
,
30632 _swigt__p_wxVideoMode
,
30633 _swigt__p_wxPyDataObjectSimple
,
30634 _swigt__p_wxDataObjectSimple
,
30635 _swigt__p_wxEvtHandler
,
30638 _swigt__p_wxSingleInstanceChecker
,
30639 _swigt__p_wxStandardPaths
,
30640 _swigt__p_wxFileTypeInfo
,
30643 _swigt__p_wxMimeTypesManager
,
30644 _swigt__p_wxPyArtProvider
,
30645 _swigt__p_wxPyTipProvider
,
30646 _swigt__p_wxTipProvider
,
30647 _swigt__p_wxJoystick
,
30648 _swigt__p_wxSystemOptions
,
30650 _swigt__p_wxJoystickEvent
,
30651 _swigt__p_wxCursor
,
30652 _swigt__p_wxObject
,
30653 _swigt__p_wxOutputStream
,
30654 _swigt__p_wxDateTime
,
30655 _swigt__p_wxPyDropSource
,
30656 _swigt__p_wxKillError
,
30657 _swigt__p_wxWindow
,
30658 _swigt__p_wxString
,
30659 _swigt__p_wxPyProcess
,
30660 _swigt__p_wxBitmap
,
30661 _swigt__p_wxConfig
,
30663 _swigt__p_wxBusyInfo
,
30664 _swigt__p_wxPyDropTarget
,
30665 _swigt__p_wxPyTextDropTarget
,
30666 _swigt__p_wxPyFileDropTarget
,
30667 _swigt__p_wxProcessEvent
,
30669 _swigt__p_wxLogNull
,
30670 _swigt__p_wxColour
,
30671 _swigt__p_wxConfigPathChanger
,
30672 _swigt__p_wxPyTimer
,
30673 _swigt__p_wxDateSpan
,
30678 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30680 static swig_const_info swig_const_table
[] = {
30681 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30682 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30683 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30684 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30685 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30686 {0, 0, 0, 0.0, 0, 0}};
30695 SWIGEXPORT(void) SWIG_init(void) {
30696 static PyObject
*SWIG_globals
= 0;
30697 static int typeinit
= 0;
30700 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30701 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30702 d
= PyModule_GetDict(m
);
30705 for (i
= 0; swig_types_initial
[i
]; i
++) {
30706 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30710 SWIG_InstallConstants(d
,swig_const_table
);
30712 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30713 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30714 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30715 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30716 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30717 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30718 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30719 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30720 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30721 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30722 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30723 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30724 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30725 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30726 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30727 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30728 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30729 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30730 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30731 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30732 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30733 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30734 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30735 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30736 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30737 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30738 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30739 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30740 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30741 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30742 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30743 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30744 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30745 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30746 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30747 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30748 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30749 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30750 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30751 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30752 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30753 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30754 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30755 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30756 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30757 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30758 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30759 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30760 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30761 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30762 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30763 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30764 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30765 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30766 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30767 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30768 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30769 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30770 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30771 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30772 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30773 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30774 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30775 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30776 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30777 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30778 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30779 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30780 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30781 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30782 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30783 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30784 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30785 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30786 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30787 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30788 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30789 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30790 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30791 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30792 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30793 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30794 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30795 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30796 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30797 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30798 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30799 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30800 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30801 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30802 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30803 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30804 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30805 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30806 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30807 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30808 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30809 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30810 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30811 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30812 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30814 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30816 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30817 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30818 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30819 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30820 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30821 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30822 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30823 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30824 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30825 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30826 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30827 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30828 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30829 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30830 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30831 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30832 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30833 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30834 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30835 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30836 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30837 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30838 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30839 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30840 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30841 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30842 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30843 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30844 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)wxKILL_NOCHILDREN
));
30845 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)wxKILL_CHILDREN
));
30846 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30847 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30848 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30849 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30850 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30851 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30852 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30853 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30854 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30855 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30856 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30857 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30858 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30859 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30860 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30861 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30862 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30863 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30864 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30865 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30866 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30867 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30869 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30871 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30872 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30873 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30874 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30875 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30876 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30877 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30878 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30879 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30880 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30881 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30882 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30883 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30884 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30885 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30886 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30887 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30888 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30889 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30890 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30891 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30892 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30893 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30894 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30895 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30896 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30897 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30898 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30899 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30900 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30901 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30902 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30907 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30908 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30909 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30910 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30911 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30912 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30913 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30914 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30915 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30916 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30917 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30918 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30919 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
30920 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
30921 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
30922 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
30923 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30924 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
30925 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30926 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30927 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30928 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30929 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30930 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30931 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30932 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30933 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30934 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30936 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30938 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30939 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30940 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30941 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30942 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30943 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30944 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30945 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30946 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30947 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30948 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30949 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30950 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30951 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30952 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30953 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30954 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30955 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30956 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30957 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30958 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30959 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30960 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30961 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30962 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30963 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30964 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30965 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30966 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30967 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30968 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30969 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30970 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30971 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30972 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30973 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30974 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30975 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30976 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30977 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30978 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30979 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30980 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30981 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30982 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30983 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30984 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30985 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30986 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30987 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30988 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30989 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30990 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30991 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30992 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30993 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30994 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30995 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30996 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30997 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30998 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30999 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
31000 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
31001 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
31002 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
31003 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
31004 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
31005 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
31006 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
31007 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
31008 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
31009 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
31010 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
31011 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
31012 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
31013 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
31014 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
31015 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
31016 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
31017 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
31018 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
31019 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
31020 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
31021 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
31022 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
31023 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
31024 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
31025 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
31026 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
31027 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
31028 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
31029 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
31030 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
31031 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
31032 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
31033 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
31034 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
31035 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
31036 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
31037 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
31038 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
31039 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
31040 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
31041 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
31042 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
31043 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
31044 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
31045 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
31046 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
31047 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
31048 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
31049 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
31050 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
31051 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
31052 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
31053 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
31054 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
31055 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
31056 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
31057 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
31058 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
31059 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
31060 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
31061 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
31062 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
31063 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
31064 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
31065 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
31066 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
31067 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
31068 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
31069 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
31070 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
31071 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
31072 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
31073 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
31074 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
31075 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
31076 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
31077 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
31078 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
31079 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
31080 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
31081 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
31082 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
31083 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
31084 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
31085 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
31086 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
31087 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
31088 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
31089 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
31090 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
31091 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
31092 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
31093 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
31094 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
31095 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
31096 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
31097 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
31098 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
31099 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
31100 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
31101 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
31102 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
31103 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
31104 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
31105 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
31106 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
31107 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
31108 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
31109 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
31110 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
31111 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
31112 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
31113 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
31114 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
31115 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
31116 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
31117 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
31118 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
31119 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
31120 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
31121 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
31122 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
31123 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
31124 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
31125 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
31126 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
31127 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
31128 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
31129 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
31130 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
31131 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
31132 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
31133 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
31134 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
31135 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
31136 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
31137 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
31139 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
31140 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
31141 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
31142 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
31144 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);