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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
346 #define SWIG_From_signed_SS_char PyInt_FromLong
348 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
349 #define SWIG_From_unsigned_SS_char PyInt_FromLong
351 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
352 #define SWIG_From_short PyInt_FromLong
354 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
355 #define SWIG_From_unsigned_SS_short PyInt_FromLong
357 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
358 #define SWIG_From_int PyInt_FromLong
360 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
361 #define SWIG_From_long PyInt_FromLong
363 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
364 #define SWIG_From_float PyFloat_FromDouble
366 /*@/opt/swig/share/swig/1.3.22/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
);
1135 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
1137 #include <wx/mimetype.h>
1139 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1141 if (self
->GetMimeType(&str
))
1142 return wx2PyString(str
);
1146 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1148 if (self
->GetMimeTypes(arr
))
1149 return wxArrayString2PyList_helper(arr
);
1153 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1155 if (self
->GetExtensions(arr
))
1156 return wxArrayString2PyList_helper(arr
);
1160 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1162 if (self
->GetIcon(&loc
))
1163 return new wxIcon(loc
);
1167 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1169 if (self
->GetIcon(&loc
)) {
1170 wxString iconFile
= loc
.GetFileName();
1175 // Make a tuple and put the values in it
1176 bool blocked
= wxPyBeginBlockThreads();
1177 PyObject
* tuple
= PyTuple_New(3);
1178 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1179 wxT("wxIcon"), true));
1180 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1181 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1182 wxPyEndBlockThreads(blocked
);
1188 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1190 if (self
->GetDescription(&str
))
1191 return wx2PyString(str
);
1195 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1197 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1198 return wx2PyString(str
);
1202 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1204 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1205 return wx2PyString(str
);
1209 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1210 wxArrayString verbs
;
1211 wxArrayString commands
;
1212 if (self
->GetAllCommands(&verbs
, &commands
,
1213 wxFileType::MessageParameters(filename
, mimetype
))) {
1214 bool blocked
= wxPyBeginBlockThreads();
1215 PyObject
* tuple
= PyTuple_New(2);
1216 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1217 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1218 wxPyEndBlockThreads(blocked
);
1224 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1225 return wxFileType::ExpandCommand(command
,
1226 wxFileType::MessageParameters(filename
, mimetype
));
1228 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1230 self
->EnumAllFileTypes(arr
);
1231 return wxArrayString2PyList_helper(arr
);
1234 #include <wx/artprov.h>
1236 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1237 static const wxString
wxPyART_MENU(wxART_MENU
);
1238 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1239 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1240 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1241 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1242 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1243 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1244 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1245 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1246 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1247 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1248 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1249 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1250 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1251 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1252 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1253 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1254 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1255 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1256 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1257 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1258 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1259 static const wxString
wxPyART_HELP(wxART_HELP
);
1260 static const wxString
wxPyART_TIP(wxART_TIP
);
1261 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1262 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1263 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1264 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
1265 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
1266 static const wxString
wxPyART_CDROM(wxART_CDROM
);
1267 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
1268 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1269 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
1270 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1271 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1272 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1273 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1274 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1275 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1276 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1277 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1278 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1279 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1280 // Python aware wxArtProvider
1281 class wxPyArtProvider
: public wxArtProvider
{
1284 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1285 const wxArtClient
& client
,
1286 const wxSize
& size
) {
1287 wxBitmap rval
= wxNullBitmap
;
1288 bool blocked
= wxPyBeginBlockThreads();
1289 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1290 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1294 s1
= wx2PyString(id
);
1295 s2
= wx2PyString(client
);
1296 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1301 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1306 wxPyEndBlockThreads(blocked
);
1313 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1317 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1318 PyObject
* ret
= PyTuple_New(3);
1320 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1321 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1322 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1327 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1332 cont
= self
->GetFirstGroup(value
, index
);
1333 return __EnumerationHelper(cont
, value
, index
);
1335 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1339 cont
= self
->GetNextGroup(value
, index
);
1340 return __EnumerationHelper(cont
, value
, index
);
1342 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1347 cont
= self
->GetFirstEntry(value
, index
);
1348 return __EnumerationHelper(cont
, value
, index
);
1350 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1354 cont
= self
->GetNextEntry(value
, index
);
1355 return __EnumerationHelper(cont
, value
, index
);
1357 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1359 self
->Read(key
, &rv
, defaultVal
);
1363 // See my_fragments.i
1364 SWIGSTATICINLINE(int)
1365 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1367 if (PyNumber_Check(obj
)) {
1368 if (val
) *val
= PyFloat_AsDouble(obj
);
1372 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1373 obj
->ob_type
->tp_name
);
1374 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1381 SWIGSTATICINLINE(double)
1382 SWIG_As_double(PyObject
* obj
)
1385 if (!SWIG_AsVal_double(obj
, &v
)) {
1387 this is needed to make valgrind/purify happier. the other
1388 solution is throw an exception, but since this code should work
1391 memset((void*)&v
, 0, sizeof(double));
1397 SWIGSTATICINLINE(int)
1398 SWIG_Check_double(PyObject
* obj
)
1400 return SWIG_AsVal_double(obj
, (double*)0);
1403 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1405 self
->Read(key
, &rv
, defaultVal
);
1408 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1410 self
->Read(key
, &rv
, defaultVal
);
1414 #include <wx/datetime.h>
1417 static const wxString
wxPyDateFormatStr(wxT("%c"));
1418 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1420 #define LOCAL_TZ wxDateTime::Local
1423 #if UINT_MAX < LONG_MAX
1424 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1425 #define SWIG_From_unsigned_SS_int SWIG_From_long
1428 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1429 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1433 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1434 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1435 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1436 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1437 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1438 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1439 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1440 return (*self
< *other
);
1442 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1443 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1444 return (*self
<= *other
);
1446 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1447 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1448 return (*self
> *other
);
1450 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1451 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1452 return (*self
>= *other
);
1454 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1455 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1456 return (*self
== *other
);
1458 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1459 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1460 return (*self
!= *other
);
1462 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1464 const wxChar
* _date
= date
;
1465 rv
= self
->ParseRfc822Date(_date
);
1466 if (rv
== NULL
) return -1;
1469 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1471 const wxChar
* _date
= date
;
1472 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1473 if (rv
== NULL
) return -1;
1476 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1478 const wxChar
* _datetime
= datetime
;
1479 rv
= self
->ParseDateTime(_datetime
);
1480 if (rv
== NULL
) return -1;
1481 return rv
- _datetime
;
1483 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1485 const wxChar
* _date
= date
;
1486 rv
= self
->ParseDate(_date
);
1487 if (rv
== NULL
) return -1;
1490 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1492 const wxChar
* _time
= time
;
1493 rv
= self
->ParseTime(_time
);
1494 if (rv
== NULL
) return -1;
1497 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1498 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1499 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1500 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1501 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1502 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1503 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1504 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1505 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1506 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1507 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1508 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1509 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1510 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1511 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1512 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1514 #include <wx/dataobj.h>
1516 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1517 size_t count
= self
->GetFormatCount(dir
);
1518 wxDataFormat
* formats
= new wxDataFormat
[count
];
1519 self
->GetAllFormats(formats
, dir
);
1521 bool blocked
= wxPyBeginBlockThreads();
1522 PyObject
* list
= PyList_New(count
);
1523 for (size_t i
=0; i
<count
; i
++) {
1524 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1525 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1526 PyList_Append(list
, obj
);
1529 wxPyEndBlockThreads(blocked
);
1533 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1534 PyObject
* rval
= NULL
;
1535 size_t size
= self
->GetDataSize(format
);
1536 bool blocked
= wxPyBeginBlockThreads();
1538 char* buf
= new char[size
];
1539 if (self
->GetDataHere(format
, buf
))
1540 rval
= PyString_FromStringAndSize(buf
, size
);
1547 wxPyEndBlockThreads(blocked
);
1550 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1552 bool blocked
= wxPyBeginBlockThreads();
1553 if (PyString_Check(data
)) {
1554 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1557 // raise a TypeError if not a string
1558 PyErr_SetString(PyExc_TypeError
, "String expected.");
1561 wxPyEndBlockThreads(blocked
);
1564 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1565 PyObject
* rval
= NULL
;
1566 size_t size
= self
->GetDataSize();
1567 bool blocked
= wxPyBeginBlockThreads();
1569 char* buf
= new char[size
];
1570 if (self
->GetDataHere(buf
))
1571 rval
= PyString_FromStringAndSize(buf
, size
);
1578 wxPyEndBlockThreads(blocked
);
1581 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1583 bool blocked
= wxPyBeginBlockThreads();
1584 if (PyString_Check(data
)) {
1585 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1588 // raise a TypeError if not a string
1589 PyErr_SetString(PyExc_TypeError
, "String expected.");
1592 wxPyEndBlockThreads(blocked
);
1595 // Create a new class for wxPython to use
1596 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1598 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1599 : wxDataObjectSimple(format
) {}
1601 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1602 bool GetDataHere(void *buf
) const;
1603 bool SetData(size_t len
, const void *buf
) const;
1607 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1609 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1610 // We need to get the data for this object and write it to buf. I think
1611 // the best way to do this for wxPython is to have the Python method
1612 // return either a string or None and then act appropriately with the
1616 bool blocked
= wxPyBeginBlockThreads();
1617 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1619 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1621 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1623 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1627 wxPyEndBlockThreads(blocked
);
1631 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1632 // For this one we simply need to make a string from buf and len
1633 // and send it to the Python method.
1635 bool blocked
= wxPyBeginBlockThreads();
1636 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1637 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1638 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1641 wxPyEndBlockThreads(blocked
);
1645 // Create a new class for wxPython to use
1646 class wxPyTextDataObject
: public wxTextDataObject
{
1648 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1649 : wxTextDataObject(text
) {}
1651 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1652 DEC_PYCALLBACK_STRING__const(GetText
);
1653 DEC_PYCALLBACK__STRING(SetText
);
1657 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1658 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1659 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1662 // Create a new class for wxPython to use
1663 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1665 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1666 : wxBitmapDataObject(bitmap
) {}
1668 wxBitmap
GetBitmap() const;
1669 void SetBitmap(const wxBitmap
& bitmap
);
1673 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1674 wxBitmap
* rval
= &wxNullBitmap
;
1675 bool blocked
= wxPyBeginBlockThreads();
1676 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1679 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1681 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1686 wxPyEndBlockThreads(blocked
);
1690 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1691 bool blocked
= wxPyBeginBlockThreads();
1692 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1693 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1694 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1697 wxPyEndBlockThreads(blocked
);
1700 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1702 bool blocked
= wxPyBeginBlockThreads();
1703 if (PyString_Check(data
)) {
1704 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1707 // raise a TypeError if not a string
1708 PyErr_SetString(PyExc_TypeError
, "String expected.");
1711 wxPyEndBlockThreads(blocked
);
1714 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1716 bool blocked
= wxPyBeginBlockThreads();
1717 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1718 wxPyEndBlockThreads(blocked
);
1722 #include <wx/metafile.h>
1725 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1728 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1729 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1730 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1731 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1732 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1735 class wxPyTextDropTarget
: public wxTextDropTarget
{
1737 wxPyTextDropTarget() {}
1739 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1741 DEC_PYCALLBACK__(OnLeave
);
1742 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1743 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1744 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1745 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1750 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1751 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1752 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1753 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1754 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1755 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1759 class wxPyFileDropTarget
: public wxFileDropTarget
{
1761 wxPyFileDropTarget() {}
1763 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1765 DEC_PYCALLBACK__(OnLeave
);
1766 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1767 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1768 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1769 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1774 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1775 const wxArrayString
& filenames
) {
1777 bool blocked
= wxPyBeginBlockThreads();
1778 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1779 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1780 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1783 wxPyEndBlockThreads(blocked
);
1789 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1790 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1791 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1792 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1793 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1798 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1800 #include <wx/display.h>
1802 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1803 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1805 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1807 #include <wx/dynarray.h>
1808 #include <wx/vidmode.h>
1810 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1811 #include "wx/arrimpl.cpp"
1812 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1813 const wxVideoMode wxDefaultVideoMode
;
1818 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1821 static size_t GetCount()
1822 { wxPyRaiseNotImplemented(); return 0; }
1824 static int GetFromPoint(const wxPoint
& pt
)
1825 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1826 static int GetFromWindow(wxWindow
*window
)
1827 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1829 virtual bool IsOk() const { return false; }
1830 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1831 virtual wxString
GetName() const { return wxEmptyString
; }
1832 bool IsPrimary() const { return false; }
1834 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1835 { wxArrayVideoModes a
; return a
; }
1837 virtual wxVideoMode
GetCurrentMode() const
1838 { return wxDefaultVideoMode
; }
1840 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1847 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1848 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1849 PyObject
* pyList
= NULL
;
1850 wxArrayVideoModes arr
= self
->GetModes(mode
);
1851 bool blocked
= wxPyBeginBlockThreads();
1852 pyList
= PyList_New(0);
1853 for (int i
=0; i
< arr
.GetCount(); i
++) {
1854 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1855 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1856 PyList_Append(pyList
, pyObj
);
1859 wxPyEndBlockThreads(blocked
);
1863 #include <wx/stdpaths.h>
1865 wxStandardPaths
*StandardPaths_Get(){
1866 return (wxStandardPaths
*) &wxStandardPaths::Get();
1868 void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
1869 wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
1873 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1877 PyObject
* obj0
= 0 ;
1879 (char *) "index", NULL
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1883 arg1
= (int)SWIG_As_int(obj0
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 if (!wxPyCheckForApp()) SWIG_fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1894 wxColour
* resultptr
;
1895 resultptr
= new wxColour((wxColour
&) result
);
1896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1904 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1908 PyObject
* obj0
= 0 ;
1910 (char *) "index", NULL
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1914 arg1
= (int)SWIG_As_int(obj0
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 if (!wxPyCheckForApp()) SWIG_fail
;
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1926 resultptr
= new wxFont((wxFont
&) result
);
1927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1935 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1939 PyObject
* obj0
= 0 ;
1941 (char *) "index", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1945 arg1
= (int)SWIG_As_int(obj0
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1948 if (!wxPyCheckForApp()) SWIG_fail
;
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 resultobj
= SWIG_From_int((int)result
);
1962 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
*resultobj
;
1966 PyObject
* obj0
= 0 ;
1968 (char *) "index", NULL
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1972 arg1
= (int)SWIG_As_int(obj0
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 if (!wxPyCheckForApp()) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1991 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
*resultobj
;
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
2000 if (!wxPyCheckForApp()) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 result
= (int)wxSystemSettings::GetScreenType();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 resultobj
= SWIG_From_int((int)result
);
2014 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2017 PyObject
* obj0
= 0 ;
2019 (char *) "screen", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
2023 arg1
= (int)SWIG_As_int(obj0
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 if (!wxPyCheckForApp()) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 Py_INCREF(Py_None
); resultobj
= Py_None
;
2040 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
2042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2043 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
2045 return Py_BuildValue((char *)"");
2047 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
2048 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
2053 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
2058 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2060 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2067 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2069 wxSystemOptions
*result
;
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 result
= (wxSystemOptions
*)new wxSystemOptions();
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
2089 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
*resultobj
;
2091 wxString
*arg1
= 0 ;
2092 wxString
*arg2
= 0 ;
2093 bool temp1
= false ;
2094 bool temp2
= false ;
2095 PyObject
* obj0
= 0 ;
2096 PyObject
* obj1
= 0 ;
2098 (char *) "name",(char *) "value", NULL
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2103 arg1
= wxString_in_helper(obj0
);
2104 if (arg1
== NULL
) SWIG_fail
;
2108 arg2
= wxString_in_helper(obj1
);
2109 if (arg2
== NULL
) SWIG_fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2119 Py_INCREF(Py_None
); resultobj
= Py_None
;
2142 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxString
*arg1
= 0 ;
2146 bool temp1
= false ;
2147 PyObject
* obj0
= 0 ;
2148 PyObject
* obj1
= 0 ;
2150 (char *) "name",(char *) "value", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2155 arg1
= wxString_in_helper(obj0
);
2156 if (arg1
== NULL
) SWIG_fail
;
2159 arg2
= (int)SWIG_As_int(obj1
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 Py_INCREF(Py_None
); resultobj
= Py_None
;
2183 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxString
*arg1
= 0 ;
2187 bool temp1
= false ;
2188 PyObject
* obj0
= 0 ;
2190 (char *) "name", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2195 arg1
= wxString_in_helper(obj0
);
2196 if (arg1
== NULL
) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2227 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
*resultobj
;
2229 wxString
*arg1
= 0 ;
2231 bool temp1
= false ;
2232 PyObject
* obj0
= 0 ;
2234 (char *) "name", NULL
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2239 arg1
= wxString_in_helper(obj0
);
2240 if (arg1
== NULL
) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2250 resultobj
= SWIG_From_int((int)result
);
2265 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2267 wxString
*arg1
= 0 ;
2269 bool temp1
= false ;
2270 PyObject
* obj0
= 0 ;
2272 (char *) "name", NULL
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2277 arg1
= wxString_in_helper(obj0
);
2278 if (arg1
== NULL
) SWIG_fail
;
2282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2283 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2285 wxPyEndAllowThreads(__tstate
);
2286 if (PyErr_Occurred()) SWIG_fail
;
2289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2305 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2308 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2310 return Py_BuildValue((char *)"");
2312 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2313 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2318 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2323 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2325 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2332 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2333 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2338 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2343 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2345 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2352 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2353 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2358 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2363 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2365 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2372 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
*resultobj
;
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 result
= (long)wxNewId();
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 resultobj
= SWIG_From_long((long)result
);
2394 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
*resultobj
;
2397 PyObject
* obj0
= 0 ;
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2403 arg1
= (long)SWIG_As_long(obj0
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2412 Py_INCREF(Py_None
); resultobj
= Py_None
;
2419 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 result
= (long)wxGetCurrentId();
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2434 resultobj
= SWIG_From_long((long)result
);
2441 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
*resultobj
;
2445 PyObject
* obj0
= 0 ;
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2451 arg1
= (int)SWIG_As_int(obj0
);
2452 if (PyErr_Occurred()) SWIG_fail
;
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 result
= (bool)wxIsStockID(arg1
);
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2469 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2472 wxString
*arg2
= 0 ;
2474 bool temp2
= false ;
2475 PyObject
* obj0
= 0 ;
2476 PyObject
* obj1
= 0 ;
2478 (char *) "id",(char *) "label", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2482 arg1
= (int)SWIG_As_int(obj0
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2485 arg2
= wxString_in_helper(obj1
);
2486 if (arg2
== NULL
) SWIG_fail
;
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2513 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2517 PyObject
* obj0
= 0 ;
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2523 arg1
= (int)SWIG_As_int(obj0
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 result
= wxGetStockLabel(arg1
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2545 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2553 if (!wxPyCheckForApp()) SWIG_fail
;
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2560 Py_INCREF(Py_None
); resultobj
= Py_None
;
2567 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2575 if (!wxPyCheckForApp()) SWIG_fail
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2582 Py_INCREF(Py_None
); resultobj
= Py_None
;
2589 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
*resultobj
;
2591 bool arg1
= (bool) true ;
2593 PyObject
* obj0
= 0 ;
2595 (char *) "resetTimer", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2600 arg1
= (bool)SWIG_As_bool(obj0
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 result
= (long)wxGetElapsedTime(arg1
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2610 resultobj
= SWIG_From_long((long)result
);
2617 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 int *arg1
= (int *) 0 ;
2620 int *arg2
= (int *) 0 ;
2629 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2630 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2633 if (!wxPyCheckForApp()) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 wxGetMousePosition(arg1
,arg2
);
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2640 Py_INCREF(Py_None
); resultobj
= Py_None
;
2641 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2642 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2643 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2644 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2651 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 result
= (bool)wxIsBusy();
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2675 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2703 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
*resultobj
;
2705 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2706 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2708 bool temp1
= false ;
2709 PyObject
* obj0
= 0 ;
2711 (char *) "command", NULL
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2717 arg1
= wxString_in_helper(obj0
);
2718 if (arg1
== NULL
) SWIG_fail
;
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 result
= (bool)wxShell((wxString
const &)*arg1
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) SWIG_fail
;
2730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2746 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
*resultobj
;
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 Py_INCREF(Py_None
); resultobj
= Py_None
;
2767 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2769 int *arg1
= (int *) 0 ;
2770 int *arg2
= (int *) 0 ;
2780 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2781 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 result
= (int)wxGetOsVersion(arg1
,arg2
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) SWIG_fail
;
2790 resultobj
= SWIG_From_int((int)result
);
2791 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2792 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2793 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2794 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2801 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 result
= wxGetOsDescription();
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2829 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
*resultobj
;
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 result
= (long)wxGetFreeMemory();
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2844 resultobj
= SWIG_From_long((long)result
);
2851 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2855 PyObject
* obj0
= 0 ;
2857 (char *) "wFlags", NULL
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2861 arg1
= (int)SWIG_As_int(obj0
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2864 if (!wxPyCheckForApp()) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2880 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
*resultobj
;
2883 PyObject
* obj0
= 0 ;
2885 (char *) "secs", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2889 arg1
= (int)SWIG_As_int(obj0
);
2890 if (PyErr_Occurred()) SWIG_fail
;
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2898 Py_INCREF(Py_None
); resultobj
= Py_None
;
2905 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
*resultobj
;
2907 unsigned long arg1
;
2908 PyObject
* obj0
= 0 ;
2910 (char *) "milliseconds", NULL
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2914 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2923 Py_INCREF(Py_None
); resultobj
= Py_None
;
2930 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
;
2932 unsigned long arg1
;
2933 PyObject
* obj0
= 0 ;
2935 (char *) "microseconds", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2939 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2948 Py_INCREF(Py_None
); resultobj
= Py_None
;
2955 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
*resultobj
;
2958 PyObject
* obj0
= 0 ;
2960 (char *) "enable", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2964 arg1
= (bool)SWIG_As_bool(obj0
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 wxEnableTopLevelWindows(arg1
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2973 Py_INCREF(Py_None
); resultobj
= Py_None
;
2980 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 wxString
*arg1
= 0 ;
2984 bool temp1
= false ;
2985 PyObject
* obj0
= 0 ;
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2992 arg1
= wxString_in_helper(obj0
);
2993 if (arg1
== NULL
) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= wxStripMenuCodes((wxString
const &)*arg1
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3024 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
;
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 result
= wxGetEmailAddress();
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3052 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
*resultobj
;
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 result
= wxGetHostName();
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3080 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
*resultobj
;
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 result
= wxGetFullHostName();
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3108 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 result
= wxGetUserId();
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3136 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
;
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 result
= wxGetUserName();
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3164 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 result
= wxGetHomeDir();
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3192 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
*resultobj
;
3194 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3195 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3197 bool temp1
= false ;
3198 PyObject
* obj0
= 0 ;
3200 (char *) "user", NULL
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3206 arg1
= wxString_in_helper(obj0
);
3207 if (arg1
== NULL
) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 result
= wxGetUserHome((wxString
const &)*arg1
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3239 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3241 unsigned long result
;
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3249 result
= (unsigned long)wxGetProcessId();
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3254 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3261 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
*resultobj
;
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3275 Py_INCREF(Py_None
); resultobj
= Py_None
;
3282 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3285 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3286 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3287 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3288 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3289 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3290 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3291 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3292 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3293 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3294 int arg6
= (int) 0 ;
3295 wxWindow
*arg7
= (wxWindow
*) NULL
;
3296 int arg8
= (int) -1 ;
3297 int arg9
= (int) -1 ;
3299 bool temp1
= false ;
3300 bool temp2
= false ;
3301 bool temp3
= false ;
3302 bool temp4
= false ;
3303 bool temp5
= false ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3306 PyObject
* obj2
= 0 ;
3307 PyObject
* obj3
= 0 ;
3308 PyObject
* obj4
= 0 ;
3309 PyObject
* obj5
= 0 ;
3310 PyObject
* obj6
= 0 ;
3311 PyObject
* obj7
= 0 ;
3312 PyObject
* obj8
= 0 ;
3314 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3320 arg1
= wxString_in_helper(obj0
);
3321 if (arg1
== NULL
) SWIG_fail
;
3327 arg2
= wxString_in_helper(obj1
);
3328 if (arg2
== NULL
) SWIG_fail
;
3334 arg3
= wxString_in_helper(obj2
);
3335 if (arg3
== NULL
) SWIG_fail
;
3341 arg4
= wxString_in_helper(obj3
);
3342 if (arg4
== NULL
) SWIG_fail
;
3348 arg5
= wxString_in_helper(obj4
);
3349 if (arg5
== NULL
) SWIG_fail
;
3354 arg6
= (int)SWIG_As_int(obj5
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3358 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3362 arg8
= (int)SWIG_As_int(obj7
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 arg9
= (int)SWIG_As_int(obj8
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3370 if (!wxPyCheckForApp()) SWIG_fail
;
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3430 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
;
3432 wxString
*arg1
= 0 ;
3433 wxString
*arg2
= 0 ;
3434 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3435 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3436 wxWindow
*arg4
= (wxWindow
*) NULL
;
3438 bool temp1
= false ;
3439 bool temp2
= false ;
3440 bool temp3
= false ;
3441 PyObject
* obj0
= 0 ;
3442 PyObject
* obj1
= 0 ;
3443 PyObject
* obj2
= 0 ;
3444 PyObject
* obj3
= 0 ;
3446 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3451 arg1
= wxString_in_helper(obj0
);
3452 if (arg1
== NULL
) SWIG_fail
;
3456 arg2
= wxString_in_helper(obj1
);
3457 if (arg2
== NULL
) SWIG_fail
;
3462 arg3
= wxString_in_helper(obj2
);
3463 if (arg3
== NULL
) SWIG_fail
;
3468 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3472 if (!wxPyCheckForApp()) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3516 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxString
*arg1
= 0 ;
3519 wxString
*arg2
= 0 ;
3520 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3521 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3522 wxWindow
*arg4
= (wxWindow
*) NULL
;
3524 bool temp1
= false ;
3525 bool temp2
= false ;
3526 bool temp3
= false ;
3527 PyObject
* obj0
= 0 ;
3528 PyObject
* obj1
= 0 ;
3529 PyObject
* obj2
= 0 ;
3530 PyObject
* obj3
= 0 ;
3532 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3537 arg1
= wxString_in_helper(obj0
);
3538 if (arg1
== NULL
) SWIG_fail
;
3542 arg2
= wxString_in_helper(obj1
);
3543 if (arg2
== NULL
) SWIG_fail
;
3548 arg3
= wxString_in_helper(obj2
);
3549 if (arg3
== NULL
) SWIG_fail
;
3554 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3558 if (!wxPyCheckForApp()) SWIG_fail
;
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3562 wxPyEndAllowThreads(__tstate
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3602 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
*resultobj
;
3604 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3605 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3606 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3607 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3608 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3611 wxWindow
*arg5
= (wxWindow
*) NULL
;
3613 bool temp1
= false ;
3614 bool temp2
= false ;
3616 PyObject
* obj0
= 0 ;
3617 PyObject
* obj1
= 0 ;
3618 PyObject
* obj2
= 0 ;
3619 PyObject
* obj3
= 0 ;
3620 PyObject
* obj4
= 0 ;
3622 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3628 arg1
= wxString_in_helper(obj0
);
3629 if (arg1
== NULL
) SWIG_fail
;
3635 arg2
= wxString_in_helper(obj1
);
3636 if (arg2
== NULL
) SWIG_fail
;
3641 arg3
= (long)SWIG_As_long(obj2
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3647 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3651 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3655 if (!wxPyCheckForApp()) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3691 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxString
*arg1
= 0 ;
3694 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3695 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3696 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3697 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3698 wxWindow
*arg4
= (wxWindow
*) NULL
;
3699 int arg5
= (int) -1 ;
3700 int arg6
= (int) -1 ;
3701 bool arg7
= (bool) true ;
3703 bool temp1
= false ;
3704 bool temp2
= false ;
3705 bool temp3
= false ;
3706 PyObject
* obj0
= 0 ;
3707 PyObject
* obj1
= 0 ;
3708 PyObject
* obj2
= 0 ;
3709 PyObject
* obj3
= 0 ;
3710 PyObject
* obj4
= 0 ;
3711 PyObject
* obj5
= 0 ;
3712 PyObject
* obj6
= 0 ;
3714 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3719 arg1
= wxString_in_helper(obj0
);
3720 if (arg1
== NULL
) SWIG_fail
;
3725 arg2
= wxString_in_helper(obj1
);
3726 if (arg2
== NULL
) SWIG_fail
;
3732 arg3
= wxString_in_helper(obj2
);
3733 if (arg3
== NULL
) SWIG_fail
;
3738 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3742 arg5
= (int)SWIG_As_int(obj4
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3746 arg6
= (int)SWIG_As_int(obj5
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3750 arg7
= (bool)SWIG_As_bool(obj6
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3754 if (!wxPyCheckForApp()) SWIG_fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3798 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
*resultobj
;
3800 wxString
*arg1
= 0 ;
3801 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3802 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3803 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3804 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3805 wxWindow
*arg4
= (wxWindow
*) NULL
;
3807 bool temp1
= false ;
3808 bool temp2
= false ;
3809 bool temp3
= false ;
3810 PyObject
* obj0
= 0 ;
3811 PyObject
* obj1
= 0 ;
3812 PyObject
* obj2
= 0 ;
3813 PyObject
* obj3
= 0 ;
3815 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3820 arg1
= wxString_in_helper(obj0
);
3821 if (arg1
== NULL
) SWIG_fail
;
3826 arg2
= wxString_in_helper(obj1
);
3827 if (arg2
== NULL
) SWIG_fail
;
3833 arg3
= wxString_in_helper(obj2
);
3834 if (arg3
== NULL
) SWIG_fail
;
3839 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3843 if (!wxPyCheckForApp()) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3887 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxString
*arg1
= 0 ;
3890 wxString
*arg2
= 0 ;
3892 wxString
*arg4
= (wxString
*) 0 ;
3893 wxWindow
*arg5
= (wxWindow
*) NULL
;
3894 int arg6
= (int) -1 ;
3895 int arg7
= (int) -1 ;
3896 bool arg8
= (bool) true ;
3897 int arg9
= (int) 150 ;
3898 int arg10
= (int) 200 ;
3900 bool temp1
= false ;
3901 bool temp2
= false ;
3902 PyObject
* obj0
= 0 ;
3903 PyObject
* obj1
= 0 ;
3904 PyObject
* obj2
= 0 ;
3905 PyObject
* obj3
= 0 ;
3906 PyObject
* obj4
= 0 ;
3907 PyObject
* obj5
= 0 ;
3908 PyObject
* obj6
= 0 ;
3909 PyObject
* obj7
= 0 ;
3910 PyObject
* obj8
= 0 ;
3912 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3917 arg1
= wxString_in_helper(obj0
);
3918 if (arg1
== NULL
) SWIG_fail
;
3922 arg2
= wxString_in_helper(obj1
);
3923 if (arg2
== NULL
) SWIG_fail
;
3927 arg3
= PyList_Size(obj2
);
3928 arg4
= wxString_LIST_helper(obj2
);
3929 if (arg4
== NULL
) SWIG_fail
;
3932 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3936 arg6
= (int)SWIG_As_int(obj4
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3940 arg7
= (int)SWIG_As_int(obj5
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3944 arg8
= (bool)SWIG_As_bool(obj6
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 arg9
= (int)SWIG_As_int(obj7
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3952 arg10
= (int)SWIG_As_int(obj8
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3956 if (!wxPyCheckForApp()) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3979 if (arg4
) delete [] arg4
;
3992 if (arg4
) delete [] arg4
;
3998 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
;
4000 wxString
*arg1
= 0 ;
4001 wxString
*arg2
= 0 ;
4003 wxString
*arg4
= (wxString
*) 0 ;
4004 wxWindow
*arg5
= (wxWindow
*) NULL
;
4005 int arg6
= (int) -1 ;
4006 int arg7
= (int) -1 ;
4007 bool arg8
= (bool) true ;
4008 int arg9
= (int) 150 ;
4009 int arg10
= (int) 200 ;
4011 bool temp1
= false ;
4012 bool temp2
= false ;
4013 PyObject
* obj0
= 0 ;
4014 PyObject
* obj1
= 0 ;
4015 PyObject
* obj2
= 0 ;
4016 PyObject
* obj3
= 0 ;
4017 PyObject
* obj4
= 0 ;
4018 PyObject
* obj5
= 0 ;
4019 PyObject
* obj6
= 0 ;
4020 PyObject
* obj7
= 0 ;
4021 PyObject
* obj8
= 0 ;
4023 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4028 arg1
= wxString_in_helper(obj0
);
4029 if (arg1
== NULL
) SWIG_fail
;
4033 arg2
= wxString_in_helper(obj1
);
4034 if (arg2
== NULL
) SWIG_fail
;
4038 arg3
= PyList_Size(obj2
);
4039 arg4
= wxString_LIST_helper(obj2
);
4040 if (arg4
== NULL
) SWIG_fail
;
4043 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
4044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4047 arg6
= (int)SWIG_As_int(obj4
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4051 arg7
= (int)SWIG_As_int(obj5
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4055 arg8
= (bool)SWIG_As_bool(obj6
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4059 arg9
= (int)SWIG_As_int(obj7
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4063 arg10
= (int)SWIG_As_int(obj8
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4067 if (!wxPyCheckForApp()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_From_int((int)result
);
4084 if (arg4
) delete [] arg4
;
4097 if (arg4
) delete [] arg4
;
4103 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxString
*arg1
= 0 ;
4106 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4107 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4108 int arg3
= (int) wxOK
|wxCENTRE
;
4109 wxWindow
*arg4
= (wxWindow
*) NULL
;
4110 int arg5
= (int) -1 ;
4111 int arg6
= (int) -1 ;
4113 bool temp1
= false ;
4114 bool temp2
= false ;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4117 PyObject
* obj2
= 0 ;
4118 PyObject
* obj3
= 0 ;
4119 PyObject
* obj4
= 0 ;
4120 PyObject
* obj5
= 0 ;
4122 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4127 arg1
= wxString_in_helper(obj0
);
4128 if (arg1
== NULL
) SWIG_fail
;
4133 arg2
= wxString_in_helper(obj1
);
4134 if (arg2
== NULL
) SWIG_fail
;
4139 arg3
= (int)SWIG_As_int(obj2
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4143 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4147 arg5
= (int)SWIG_As_int(obj4
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4151 arg6
= (int)SWIG_As_int(obj5
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4155 if (!wxPyCheckForApp()) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= SWIG_From_int((int)result
);
4185 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxString
*arg1
= 0 ;
4188 wxString
*arg2
= 0 ;
4189 wxString
*arg3
= 0 ;
4191 long arg5
= (long) 0 ;
4192 long arg6
= (long) 100 ;
4193 wxWindow
*arg7
= (wxWindow
*) NULL
;
4194 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4195 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4197 bool temp1
= false ;
4198 bool temp2
= false ;
4199 bool temp3
= false ;
4201 PyObject
* obj0
= 0 ;
4202 PyObject
* obj1
= 0 ;
4203 PyObject
* obj2
= 0 ;
4204 PyObject
* obj3
= 0 ;
4205 PyObject
* obj4
= 0 ;
4206 PyObject
* obj5
= 0 ;
4207 PyObject
* obj6
= 0 ;
4208 PyObject
* obj7
= 0 ;
4210 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4215 arg1
= wxString_in_helper(obj0
);
4216 if (arg1
== NULL
) SWIG_fail
;
4220 arg2
= wxString_in_helper(obj1
);
4221 if (arg2
== NULL
) SWIG_fail
;
4225 arg3
= wxString_in_helper(obj2
);
4226 if (arg3
== NULL
) SWIG_fail
;
4229 arg4
= (long)SWIG_As_long(obj3
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 arg5
= (long)SWIG_As_long(obj4
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4236 arg6
= (long)SWIG_As_long(obj5
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4240 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4246 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4250 if (!wxPyCheckForApp()) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= SWIG_From_long((long)result
);
4288 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4297 if (!wxPyCheckForApp()) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= (bool)wxColourDisplay();
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4313 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4322 if (!wxPyCheckForApp()) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 result
= (int)wxDisplayDepth();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= SWIG_From_int((int)result
);
4336 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4345 if (!wxPyCheckForApp()) SWIG_fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= (int)wxGetDisplayDepth();
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_From_int((int)result
);
4359 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 int *arg1
= (int *) 0 ;
4362 int *arg2
= (int *) 0 ;
4371 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4372 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4375 if (!wxPyCheckForApp()) SWIG_fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 wxDisplaySize(arg1
,arg2
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 Py_INCREF(Py_None
); resultobj
= Py_None
;
4383 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4384 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4385 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4386 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4393 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4402 if (!wxPyCheckForApp()) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= wxGetDisplaySize();
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4411 resultptr
= new wxSize((wxSize
&) result
);
4412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4420 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 int *arg1
= (int *) 0 ;
4423 int *arg2
= (int *) 0 ;
4432 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4433 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4436 if (!wxPyCheckForApp()) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 wxDisplaySizeMM(arg1
,arg2
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 Py_INCREF(Py_None
); resultobj
= Py_None
;
4444 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4445 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4446 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4447 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4454 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4463 if (!wxPyCheckForApp()) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= wxGetDisplaySizeMM();
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4472 resultptr
= new wxSize((wxSize
&) result
);
4473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4481 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 int *arg1
= (int *) 0 ;
4484 int *arg2
= (int *) 0 ;
4485 int *arg3
= (int *) 0 ;
4486 int *arg4
= (int *) 0 ;
4499 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4500 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4501 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4502 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4505 if (!wxPyCheckForApp()) SWIG_fail
;
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 Py_INCREF(Py_None
); resultobj
= Py_None
;
4513 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4514 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4515 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4516 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4517 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4518 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4519 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4520 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4527 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4536 if (!wxPyCheckForApp()) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 result
= wxGetClientDisplayRect();
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4545 resultptr
= new wxRect((wxRect
&) result
);
4546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4554 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxCursor
*arg1
= 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "cursor", NULL
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4567 PyErr_SetString(PyExc_TypeError
,"null reference");
4571 if (!wxPyCheckForApp()) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4578 Py_INCREF(Py_None
); resultobj
= Py_None
;
4585 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4588 PyObject
* obj0
= 0 ;
4590 (char *) "cursor", NULL
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4599 if (!wxPyCheckForApp()) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 wxBeginBusyCursor(arg1
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 Py_INCREF(Py_None
); resultobj
= Py_None
;
4613 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4622 if (!wxPyCheckForApp()) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (wxWindow
*)wxGetActiveWindow();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= wxPyMake_wxObject(result
, 0);
4638 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4643 PyObject
* obj0
= 0 ;
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4651 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4654 if (!wxPyCheckForApp()) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= wxPyMake_wxObject(result
, 0);
4670 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4675 PyObject
* obj0
= 0 ;
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4683 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4686 if (!wxPyCheckForApp()) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 resultobj
= wxPyMake_wxObject(result
, 0);
4702 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxWindow
*arg1
= (wxWindow
*) 0 ;
4706 PyObject
* obj0
= 0 ;
4708 (char *) "win", NULL
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4715 if (!wxPyCheckForApp()) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= wxPyMake_wxObject(result
, 0);
4731 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
;
4735 PyObject
* obj0
= 0 ;
4737 (char *) "key", NULL
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4741 arg1
= (int)SWIG_As_int(obj0
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 if (!wxPyCheckForApp()) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4760 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
;
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4768 if (!wxPyCheckForApp()) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 wxWakeUpMainThread();
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 Py_INCREF(Py_None
); resultobj
= Py_None
;
4782 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4790 if (!wxPyCheckForApp()) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 Py_INCREF(Py_None
); resultobj
= Py_None
;
4804 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4812 if (!wxPyCheckForApp()) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 Py_INCREF(Py_None
); resultobj
= Py_None
;
4826 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxMutexGuiLocker
*result
;
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4835 if (!wxPyCheckForApp()) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4849 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4854 (char *) "self", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 Py_INCREF(Py_None
); resultobj
= Py_None
;
4874 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4877 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4879 return Py_BuildValue((char *)"");
4881 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 result
= (bool)wxThread_IsMain();
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4905 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxString
*arg1
= 0 ;
4909 bool temp1
= false ;
4910 PyObject
* obj0
= 0 ;
4912 (char *) "tip", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4917 arg1
= wxString_in_helper(obj0
);
4918 if (arg1
== NULL
) SWIG_fail
;
4922 if (!wxPyCheckForApp()) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= wxPyMake_wxObject(result
, 1);
4946 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4949 wxString
*arg2
= 0 ;
4950 bool temp2
= false ;
4951 PyObject
* obj0
= 0 ;
4952 PyObject
* obj1
= 0 ;
4954 (char *) "self",(char *) "tip", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 arg2
= wxString_in_helper(obj1
);
4962 if (arg2
== NULL
) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 (arg1
)->SetTip((wxString
const &)*arg2
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 Py_INCREF(Py_None
); resultobj
= Py_None
;
4987 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4993 (char *) "self", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= (arg1
)->GetTip();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5019 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5025 (char *) "self", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
5030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (wxWindow
*)(arg1
)->GetWindow();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= wxPyMake_wxObject(result
, 0);
5047 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "flag", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
5056 arg1
= (bool)SWIG_As_bool(obj0
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 wxToolTip::Enable(arg1
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5075 PyObject
* obj0
= 0 ;
5077 (char *) "milliseconds", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
5081 arg1
= (long)SWIG_As_long(obj0
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 wxToolTip::SetDelay(arg1
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 Py_INCREF(Py_None
); resultobj
= Py_None
;
5097 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
5099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5100 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5102 return Py_BuildValue((char *)"");
5104 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxWindow
*arg1
= (wxWindow
*) 0 ;
5110 PyObject
* obj0
= 0 ;
5111 PyObject
* obj1
= 0 ;
5113 (char *) "window",(char *) "size", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5124 if (!wxPyCheckForApp()) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5138 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxCaret
*arg1
= (wxCaret
*) 0 ;
5141 PyObject
* obj0
= 0 ;
5143 (char *) "self", NULL
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 Py_INCREF(Py_None
); resultobj
= Py_None
;
5163 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
*resultobj
;
5165 wxCaret
*arg1
= (wxCaret
*) 0 ;
5167 PyObject
* obj0
= 0 ;
5169 (char *) "self", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= (bool)(arg1
)->IsOk();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5191 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxCaret
*arg1
= (wxCaret
*) 0 ;
5195 PyObject
* obj0
= 0 ;
5197 (char *) "self", NULL
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= (bool)(arg1
)->IsVisible();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5219 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxCaret
*arg1
= (wxCaret
*) 0 ;
5223 PyObject
* obj0
= 0 ;
5225 (char *) "self", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (arg1
)->GetPosition();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5239 wxPoint
* resultptr
;
5240 resultptr
= new wxPoint((wxPoint
&) result
);
5241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5249 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxCaret
*arg1
= (wxCaret
*) 0 ;
5252 int *arg2
= (int *) 0 ;
5253 int *arg3
= (int *) 0 ;
5258 PyObject
* obj0
= 0 ;
5260 (char *) "self", NULL
5263 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5264 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 (arg1
)->GetPosition(arg2
,arg3
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 Py_INCREF(Py_None
); resultobj
= Py_None
;
5276 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5277 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5278 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5279 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5286 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxCaret
*arg1
= (wxCaret
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "self", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= (arg1
)->GetSize();
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5307 resultptr
= new wxSize((wxSize
&) result
);
5308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5316 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxCaret
*arg1
= (wxCaret
*) 0 ;
5319 int *arg2
= (int *) 0 ;
5320 int *arg3
= (int *) 0 ;
5325 PyObject
* obj0
= 0 ;
5327 (char *) "self", NULL
5330 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5331 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->GetSize(arg2
,arg3
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 Py_INCREF(Py_None
); resultobj
= Py_None
;
5343 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5344 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5345 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5346 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5353 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 wxCaret
*arg1
= (wxCaret
*) 0 ;
5357 PyObject
* obj0
= 0 ;
5359 (char *) "self", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= (wxWindow
*)(arg1
)->GetWindow();
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= wxPyMake_wxObject(result
, 0);
5381 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxCaret
*arg1
= (wxCaret
*) 0 ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5388 PyObject
* obj2
= 0 ;
5390 (char *) "self",(char *) "x",(char *) "y", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5396 arg2
= (int)SWIG_As_int(obj1
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5398 arg3
= (int)SWIG_As_int(obj2
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 (arg1
)->Move(arg2
,arg3
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 Py_INCREF(Py_None
); resultobj
= Py_None
;
5414 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxCaret
*arg1
= (wxCaret
*) 0 ;
5419 PyObject
* obj0
= 0 ;
5420 PyObject
* obj1
= 0 ;
5422 (char *) "self",(char *) "pt", NULL
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 (arg1
)->Move((wxPoint
const &)*arg2
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 Py_INCREF(Py_None
); resultobj
= Py_None
;
5446 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxCaret
*arg1
= (wxCaret
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 PyObject
* obj2
= 0 ;
5455 (char *) "self",(char *) "width",(char *) "height", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5461 arg2
= (int)SWIG_As_int(obj1
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5463 arg3
= (int)SWIG_As_int(obj2
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 (arg1
)->SetSize(arg2
,arg3
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 Py_INCREF(Py_None
); resultobj
= Py_None
;
5479 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
*resultobj
;
5481 wxCaret
*arg1
= (wxCaret
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5487 (char *) "self",(char *) "size", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5495 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 (arg1
)->SetSize((wxSize
const &)*arg2
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 Py_INCREF(Py_None
); resultobj
= Py_None
;
5511 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxCaret
*arg1
= (wxCaret
*) 0 ;
5514 int arg2
= (int) true ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5518 (char *) "self",(char *) "show", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 arg2
= (int)SWIG_As_int(obj1
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5535 Py_INCREF(Py_None
); resultobj
= Py_None
;
5542 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
;
5544 wxCaret
*arg1
= (wxCaret
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5547 (char *) "self", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 Py_INCREF(Py_None
); resultobj
= Py_None
;
5567 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5570 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5572 return Py_BuildValue((char *)"");
5574 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 result
= (int)wxCaret_GetBlinkTime();
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 resultobj
= SWIG_From_int((int)result
);
5596 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5599 PyObject
* obj0
= 0 ;
5601 (char *) "milliseconds", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5605 arg1
= (int)SWIG_As_int(obj0
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 wxCaret_SetBlinkTime(arg1
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5624 wxBusyCursor
*result
;
5625 PyObject
* obj0
= 0 ;
5627 (char *) "cursor", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5636 if (!wxPyCheckForApp()) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5650 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5655 (char *) "self", NULL
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 Py_INCREF(Py_None
); resultobj
= Py_None
;
5675 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5678 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5680 return Py_BuildValue((char *)"");
5682 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxWindow
*arg1
= (wxWindow
*) NULL
;
5685 wxWindowDisabler
*result
;
5686 PyObject
* obj0
= 0 ;
5688 (char *) "winToSkip", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5697 if (!wxPyCheckForApp()) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5711 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5716 (char *) "self", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 Py_INCREF(Py_None
); resultobj
= Py_None
;
5736 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5739 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5741 return Py_BuildValue((char *)"");
5743 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxString
*arg1
= 0 ;
5747 bool temp1
= false ;
5748 PyObject
* obj0
= 0 ;
5750 (char *) "message", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5755 arg1
= wxString_in_helper(obj0
);
5756 if (arg1
== NULL
) SWIG_fail
;
5760 if (!wxPyCheckForApp()) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5782 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5785 PyObject
* obj0
= 0 ;
5787 (char *) "self", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 Py_INCREF(Py_None
); resultobj
= Py_None
;
5807 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5810 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5812 return Py_BuildValue((char *)"");
5814 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxStopWatch
*result
;
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (wxStopWatch
*)new wxStopWatch();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5836 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5839 long arg2
= (long) 0 ;
5840 PyObject
* obj0
= 0 ;
5841 PyObject
* obj1
= 0 ;
5843 (char *) "self",(char *) "t0", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5850 arg2
= (long)SWIG_As_long(obj1
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 (arg1
)->Start(arg2
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 Py_INCREF(Py_None
); resultobj
= Py_None
;
5867 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5870 PyObject
* obj0
= 0 ;
5872 (char *) "self", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5895 PyObject
* obj0
= 0 ;
5897 (char *) "self", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 Py_INCREF(Py_None
); resultobj
= Py_None
;
5917 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5923 (char *) "self", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_From_long((long)result
);
5943 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5946 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5948 return Py_BuildValue((char *)"");
5950 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 int arg1
= (int) 9 ;
5953 int arg2
= (int) wxID_FILE1
;
5954 wxFileHistory
*result
;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5958 (char *) "maxFiles",(char *) "idBase", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5963 arg1
= (int)SWIG_As_int(obj0
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5967 arg2
= (int)SWIG_As_int(obj1
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5984 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5987 PyObject
* obj0
= 0 ;
5989 (char *) "self", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6002 Py_INCREF(Py_None
); resultobj
= Py_None
;
6009 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6012 wxString
*arg2
= 0 ;
6013 bool temp2
= false ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6017 (char *) "self",(char *) "file", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6024 arg2
= wxString_in_helper(obj1
);
6025 if (arg2
== NULL
) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 Py_INCREF(Py_None
); resultobj
= Py_None
;
6050 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6057 (char *) "self",(char *) "i", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6063 arg2
= (int)SWIG_As_int(obj1
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 (arg1
)->RemoveFileFromHistory(arg2
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 Py_INCREF(Py_None
); resultobj
= Py_None
;
6079 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
;
6081 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6083 PyObject
* obj0
= 0 ;
6085 (char *) "self", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
6089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_From_int((int)result
);
6105 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6108 wxMenu
*arg2
= (wxMenu
*) 0 ;
6109 PyObject
* obj0
= 0 ;
6110 PyObject
* obj1
= 0 ;
6112 (char *) "self",(char *) "menu", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 (arg1
)->UseMenu(arg2
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 Py_INCREF(Py_None
); resultobj
= Py_None
;
6134 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6137 wxMenu
*arg2
= (wxMenu
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6141 (char *) "self",(char *) "menu", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 (arg1
)->RemoveMenu(arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 Py_INCREF(Py_None
); resultobj
= Py_None
;
6163 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
;
6165 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6166 wxConfigBase
*arg2
= 0 ;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6170 (char *) "self",(char *) "config", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6180 PyErr_SetString(PyExc_TypeError
,"null reference");
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 (arg1
)->Load(*arg2
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 Py_INCREF(Py_None
); resultobj
= Py_None
;
6197 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6200 wxConfigBase
*arg2
= 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6204 (char *) "self",(char *) "config", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6214 PyErr_SetString(PyExc_TypeError
,"null reference");
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 (arg1
)->Save(*arg2
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 Py_INCREF(Py_None
); resultobj
= Py_None
;
6231 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 (arg1
)->AddFilesToMenu();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6256 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6259 wxMenu
*arg2
= (wxMenu
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6263 (char *) "self",(char *) "menu", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 (arg1
)->AddFilesToMenu(arg2
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 Py_INCREF(Py_None
); resultobj
= Py_None
;
6285 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
*resultobj
;
6287 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6293 (char *) "self",(char *) "i", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6299 arg2
= (int)SWIG_As_int(obj1
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6321 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6327 (char *) "self", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= SWIG_From_int((int)result
);
6347 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6350 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6352 return Py_BuildValue((char *)"");
6354 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxString
*arg1
= 0 ;
6357 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6358 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6359 wxSingleInstanceChecker
*result
;
6360 bool temp1
= false ;
6361 bool temp2
= false ;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6365 (char *) "name",(char *) "path", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6370 arg1
= wxString_in_helper(obj0
);
6371 if (arg1
== NULL
) SWIG_fail
;
6376 arg2
= wxString_in_helper(obj1
);
6377 if (arg2
== NULL
) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6411 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
;
6413 wxSingleInstanceChecker
*result
;
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6433 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6438 (char *) "self", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6461 wxString
*arg2
= 0 ;
6462 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6463 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6465 bool temp2
= false ;
6466 bool temp3
= false ;
6467 PyObject
* obj0
= 0 ;
6468 PyObject
* obj1
= 0 ;
6469 PyObject
* obj2
= 0 ;
6471 (char *) "self",(char *) "name",(char *) "path", NULL
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6478 arg2
= wxString_in_helper(obj1
);
6479 if (arg2
== NULL
) SWIG_fail
;
6484 arg3
= wxString_in_helper(obj2
);
6485 if (arg3
== NULL
) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6521 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6527 (char *) "self", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6549 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6552 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6554 return Py_BuildValue((char *)"");
6556 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxWindow
*arg1
= (wxWindow
*) 0 ;
6561 PyObject
* obj0
= 0 ;
6562 PyObject
* obj1
= 0 ;
6563 PyObject
* obj2
= 0 ;
6565 (char *) "window",(char *) "dc",(char *) "method", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6575 PyErr_SetString(PyExc_TypeError
,"null reference");
6578 arg3
= (int)SWIG_As_int(obj2
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6594 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6597 PyObject
* obj0
= 0 ;
6599 (char *) "self", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 Py_INCREF(Py_None
); resultobj
= Py_None
;
6619 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6623 PyObject
* obj0
= 0 ;
6625 (char *) "self", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= (arg1
)->GetTip();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6651 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6657 (char *) "self", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (size_t)(arg1
)->GetCurrentTip();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6677 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6680 wxString
*arg2
= 0 ;
6682 bool temp2
= false ;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6686 (char *) "self",(char *) "tip", NULL
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6693 arg2
= wxString_in_helper(obj1
);
6694 if (arg2
== NULL
) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6725 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6728 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6730 return Py_BuildValue((char *)"");
6732 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6735 wxPyTipProvider
*result
;
6736 PyObject
* obj0
= 0 ;
6738 (char *) "currentTip", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6742 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6758 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6761 PyObject
*arg2
= (PyObject
*) 0 ;
6762 PyObject
*arg3
= (PyObject
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6765 PyObject
* obj2
= 0 ;
6767 (char *) "self",(char *) "self",(char *) "_class", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 Py_INCREF(Py_None
); resultobj
= Py_None
;
6789 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6792 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6794 return Py_BuildValue((char *)"");
6796 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxWindow
*arg1
= (wxWindow
*) 0 ;
6799 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6800 bool arg3
= (bool) true ;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6804 PyObject
* obj2
= 0 ;
6806 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6815 arg3
= (bool)SWIG_As_bool(obj2
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6819 if (!wxPyCheckForApp()) SWIG_fail
;
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6835 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
;
6837 wxString
*arg1
= 0 ;
6839 wxTipProvider
*result
;
6840 bool temp1
= false ;
6841 PyObject
* obj0
= 0 ;
6842 PyObject
* obj1
= 0 ;
6844 (char *) "filename",(char *) "currentTip", NULL
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6849 arg1
= wxString_in_helper(obj0
);
6850 if (arg1
== NULL
) SWIG_fail
;
6853 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 if (!wxPyCheckForApp()) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6878 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6881 int arg2
= (int) -1 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6886 (char *) "owner",(char *) "id", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6895 arg2
= (int)SWIG_As_int(obj1
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6899 if (!wxPyCheckForApp()) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6913 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 Py_INCREF(Py_None
); resultobj
= Py_None
;
6938 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6941 PyObject
*arg2
= (PyObject
*) 0 ;
6942 PyObject
*arg3
= (PyObject
*) 0 ;
6943 int arg4
= (int) 1 ;
6944 PyObject
* obj0
= 0 ;
6945 PyObject
* obj1
= 0 ;
6946 PyObject
* obj2
= 0 ;
6947 PyObject
* obj3
= 0 ;
6949 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6958 arg4
= (int)SWIG_As_int(obj3
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 Py_INCREF(Py_None
); resultobj
= Py_None
;
6975 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6978 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6979 int arg3
= (int) -1 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6982 PyObject
* obj2
= 0 ;
6984 (char *) "self",(char *) "owner",(char *) "id", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6993 arg3
= (int)SWIG_As_int(obj2
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 (arg1
)->SetOwner(arg2
,arg3
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 Py_INCREF(Py_None
); resultobj
= Py_None
;
7010 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7013 wxEvtHandler
*result
;
7014 PyObject
* obj0
= 0 ;
7016 (char *) "self", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
7020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= wxPyMake_wxObject(result
, 0);
7038 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7041 int arg2
= (int) -1 ;
7042 bool arg3
= (bool) false ;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7046 PyObject
* obj2
= 0 ;
7048 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7055 arg2
= (int)SWIG_As_int(obj1
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7059 arg3
= (bool)SWIG_As_bool(obj2
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= (bool)(arg1
)->Start(arg2
,arg3
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7078 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7083 (char *) "self", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 Py_INCREF(Py_None
); resultobj
= Py_None
;
7103 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7109 (char *) "self", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7131 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7137 (char *) "self", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_From_int((int)result
);
7157 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7163 (char *) "self", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7185 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7189 PyObject
* obj0
= 0 ;
7191 (char *) "self", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_From_int((int)result
);
7211 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7214 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7216 return Py_BuildValue((char *)"");
7218 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 int arg1
= (int) 0 ;
7221 int arg2
= (int) 0 ;
7222 wxTimerEvent
*result
;
7223 PyObject
* obj0
= 0 ;
7224 PyObject
* obj1
= 0 ;
7226 (char *) "timerid",(char *) "interval", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7231 arg1
= (int)SWIG_As_int(obj0
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7235 arg2
= (int)SWIG_As_int(obj1
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7252 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "self", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= SWIG_From_int((int)result
);
7278 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7281 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7283 return Py_BuildValue((char *)"");
7285 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7286 PyObject
*resultobj
;
7288 wxTimerRunner
*result
;
7289 PyObject
* obj0
= 0 ;
7291 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7296 PyErr_SetString(PyExc_TypeError
,"null reference");
7300 if (!wxPyCheckForApp()) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7314 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7315 PyObject
*resultobj
;
7318 bool arg3
= (bool) false ;
7319 wxTimerRunner
*result
;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7322 PyObject
* obj2
= 0 ;
7324 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7329 PyErr_SetString(PyExc_TypeError
,"null reference");
7332 arg2
= (int)SWIG_As_int(obj1
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 arg3
= (bool)SWIG_As_bool(obj2
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 if (!wxPyCheckForApp()) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7353 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7358 argc
= PyObject_Length(args
);
7359 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7360 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7366 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7374 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7377 if ((argc
>= 2) && (argc
<= 3)) {
7381 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7389 _v
= SWIG_Check_int(argv
[1]);
7392 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7394 _v
= SWIG_Check_bool(argv
[2]);
7396 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7402 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7407 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7410 PyObject
* obj0
= 0 ;
7412 (char *) "self", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 Py_INCREF(Py_None
); resultobj
= Py_None
;
7432 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7434 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7436 bool arg3
= (bool) false ;
7437 PyObject
* obj0
= 0 ;
7438 PyObject
* obj1
= 0 ;
7439 PyObject
* obj2
= 0 ;
7441 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7447 arg2
= (int)SWIG_As_int(obj1
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7450 arg3
= (bool)SWIG_As_bool(obj2
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 (arg1
)->Start(arg2
,arg3
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 Py_INCREF(Py_None
); resultobj
= Py_None
;
7467 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7470 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7472 return Py_BuildValue((char *)"");
7474 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (wxLog
*)new wxLog();
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7496 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 result
= (bool)wxLog::IsEnabled();
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7520 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 bool arg1
= (bool) true ;
7524 PyObject
* obj0
= 0 ;
7526 (char *) "doIt", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7531 arg1
= (bool)SWIG_As_bool(obj0
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (bool)wxLog::EnableLogging(arg1
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7550 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7553 wxChar
*arg2
= (wxChar
*) 0 ;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7557 PyObject
* obj2
= 0 ;
7559 (char *) "level",(char *) "szString",(char *) "t", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7563 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7567 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 Py_INCREF(Py_None
); resultobj
= Py_None
;
7583 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxLog
*arg1
= (wxLog
*) 0 ;
7586 PyObject
* obj0
= 0 ;
7588 (char *) "self", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 Py_INCREF(Py_None
); resultobj
= Py_None
;
7608 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 wxLog::FlushActive();
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7622 Py_INCREF(Py_None
); resultobj
= Py_None
;
7629 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 result
= (wxLog
*)wxLog::GetActiveTarget();
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7651 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxLog
*arg1
= (wxLog
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7657 (char *) "pLogger", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7677 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 Py_INCREF(Py_None
); resultobj
= Py_None
;
7698 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 Py_INCREF(Py_None
); resultobj
= Py_None
;
7719 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 bool arg1
= (bool) true ;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "bVerbose", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7729 arg1
= (bool)SWIG_As_bool(obj0
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 wxLog::SetVerbose(arg1
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 Py_INCREF(Py_None
); resultobj
= Py_None
;
7746 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7749 PyObject
* obj0
= 0 ;
7751 (char *) "logLevel", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7755 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 wxLog::SetLogLevel(arg1
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 Py_INCREF(Py_None
); resultobj
= Py_None
;
7771 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 wxLog::DontCreateOnDemand();
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 Py_INCREF(Py_None
); resultobj
= Py_None
;
7792 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7795 PyObject
* obj0
= 0 ;
7797 (char *) "ulMask", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7801 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 wxLog::SetTraceMask(arg1
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 Py_INCREF(Py_None
); resultobj
= Py_None
;
7817 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxString
*arg1
= 0 ;
7820 bool temp1
= false ;
7821 PyObject
* obj0
= 0 ;
7823 (char *) "str", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7828 arg1
= wxString_in_helper(obj0
);
7829 if (arg1
== NULL
) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 wxLog::AddTraceMask((wxString
const &)*arg1
);
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 Py_INCREF(Py_None
); resultobj
= Py_None
;
7854 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxString
*arg1
= 0 ;
7857 bool temp1
= false ;
7858 PyObject
* obj0
= 0 ;
7860 (char *) "str", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7865 arg1
= wxString_in_helper(obj0
);
7866 if (arg1
== NULL
) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 Py_INCREF(Py_None
); resultobj
= Py_None
;
7891 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 wxLog::ClearTraceMasks();
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 Py_INCREF(Py_None
); resultobj
= Py_None
;
7912 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxArrayString
*result
;
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7924 result
= (wxArrayString
*) &_result_ref
;
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= wxArrayString2PyList_helper(*result
);
7939 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 wxChar
*arg1
= (wxChar
*) 0 ;
7942 PyObject
* obj0
= 0 ;
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 wxLog::SetTimestamp((wxChar
const *)arg1
);
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 Py_INCREF(Py_None
); resultobj
= Py_None
;
7964 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (bool)wxLog::GetVerbose();
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7988 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (wxTraceMask
)wxLog::GetTraceMask();
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8010 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxChar
*arg1
= (wxChar
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "mask", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
8020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
8021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8038 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (wxLogLevel
)wxLog::GetLogLevel();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8060 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= (wxChar
*)wxLog::GetTimestamp();
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
8082 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= Log_TimeStamp();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8110 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxLog
*arg1
= (wxLog
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8115 (char *) "self", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 wxLog_Destroy(arg1
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8138 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8140 return Py_BuildValue((char *)"");
8142 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
;
8144 wxLogStderr
*result
;
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (wxLogStderr
*)new wxLogStderr();
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8164 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8167 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8169 return Py_BuildValue((char *)"");
8171 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8174 wxLogTextCtrl
*result
;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "pTextCtrl", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8197 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8200 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8202 return Py_BuildValue((char *)"");
8204 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= (wxLogGui
*)new wxLogGui();
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8226 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8229 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8231 return Py_BuildValue((char *)"");
8233 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxFrame
*arg1
= (wxFrame
*) 0 ;
8236 wxString
*arg2
= 0 ;
8237 bool arg3
= (bool) true ;
8238 bool arg4
= (bool) true ;
8239 wxLogWindow
*result
;
8240 bool temp2
= false ;
8241 PyObject
* obj0
= 0 ;
8242 PyObject
* obj1
= 0 ;
8243 PyObject
* obj2
= 0 ;
8244 PyObject
* obj3
= 0 ;
8246 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8253 arg2
= wxString_in_helper(obj1
);
8254 if (arg2
== NULL
) SWIG_fail
;
8258 arg3
= (bool)SWIG_As_bool(obj2
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8262 arg4
= (bool)SWIG_As_bool(obj3
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8287 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8290 bool arg2
= (bool) true ;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8294 (char *) "self",(char *) "bShow", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8301 arg2
= (bool)SWIG_As_bool(obj1
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 Py_INCREF(Py_None
); resultobj
= Py_None
;
8318 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8324 (char *) "self", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= wxPyMake_wxObject(result
, 0);
8346 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8350 PyObject
* obj0
= 0 ;
8352 (char *) "self", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8372 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8400 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "self",(char *) "bDoPass", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8413 arg2
= (bool)SWIG_As_bool(obj1
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 (arg1
)->PassMessages(arg2
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 Py_INCREF(Py_None
); resultobj
= Py_None
;
8429 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8432 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8434 return Py_BuildValue((char *)"");
8436 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxLog
*arg1
= (wxLog
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "logger", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (wxLogChain
*)new wxLogChain(arg1
);
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8462 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8465 wxLog
*arg2
= (wxLog
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8469 (char *) "self",(char *) "logger", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 (arg1
)->SetLog(arg2
);
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 Py_INCREF(Py_None
); resultobj
= Py_None
;
8491 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8498 (char *) "self",(char *) "bDoPass", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8504 arg2
= (bool)SWIG_As_bool(obj1
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 (arg1
)->PassMessages(arg2
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 Py_INCREF(Py_None
); resultobj
= Py_None
;
8520 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8526 (char *) "self", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (bool)(arg1
)->IsPassingMessages();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8548 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (wxLog
*)(arg1
)->GetOldLog();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8574 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8577 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8579 return Py_BuildValue((char *)"");
8581 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 unsigned long result
;
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (unsigned long)wxSysErrorCode();
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8603 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
;
8605 unsigned long arg1
= (unsigned long) 0 ;
8607 PyObject
* obj0
= 0 ;
8609 (char *) "nErrCode", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8614 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= wxSysErrorMsg(arg1
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8637 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxString
*arg1
= 0 ;
8640 bool temp1
= false ;
8641 PyObject
* obj0
= 0 ;
8643 (char *) "msg", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8648 arg1
= wxString_in_helper(obj0
);
8649 if (arg1
== NULL
) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 wxPyLogFatalError((wxString
const &)*arg1
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 Py_INCREF(Py_None
); resultobj
= Py_None
;
8674 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxString
*arg1
= 0 ;
8677 bool temp1
= false ;
8678 PyObject
* obj0
= 0 ;
8680 (char *) "msg", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8685 arg1
= wxString_in_helper(obj0
);
8686 if (arg1
== NULL
) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 wxPyLogError((wxString
const &)*arg1
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 Py_INCREF(Py_None
); resultobj
= Py_None
;
8711 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxString
*arg1
= 0 ;
8714 bool temp1
= false ;
8715 PyObject
* obj0
= 0 ;
8717 (char *) "msg", NULL
8720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8722 arg1
= wxString_in_helper(obj0
);
8723 if (arg1
== NULL
) SWIG_fail
;
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 wxPyLogWarning((wxString
const &)*arg1
);
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8733 Py_INCREF(Py_None
); resultobj
= Py_None
;
8748 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
;
8750 wxString
*arg1
= 0 ;
8751 bool temp1
= false ;
8752 PyObject
* obj0
= 0 ;
8754 (char *) "msg", NULL
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8759 arg1
= wxString_in_helper(obj0
);
8760 if (arg1
== NULL
) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 wxPyLogMessage((wxString
const &)*arg1
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 Py_INCREF(Py_None
); resultobj
= Py_None
;
8785 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxString
*arg1
= 0 ;
8788 bool temp1
= false ;
8789 PyObject
* obj0
= 0 ;
8791 (char *) "msg", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8796 arg1
= wxString_in_helper(obj0
);
8797 if (arg1
== NULL
) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 wxPyLogInfo((wxString
const &)*arg1
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 Py_INCREF(Py_None
); resultobj
= Py_None
;
8822 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
;
8824 wxString
*arg1
= 0 ;
8825 bool temp1
= false ;
8826 PyObject
* obj0
= 0 ;
8828 (char *) "msg", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8833 arg1
= wxString_in_helper(obj0
);
8834 if (arg1
== NULL
) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 wxPyLogDebug((wxString
const &)*arg1
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8859 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxString
*arg1
= 0 ;
8862 bool temp1
= false ;
8863 PyObject
* obj0
= 0 ;
8865 (char *) "msg", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8870 arg1
= wxString_in_helper(obj0
);
8871 if (arg1
== NULL
) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 wxPyLogVerbose((wxString
const &)*arg1
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 Py_INCREF(Py_None
); resultobj
= Py_None
;
8896 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
;
8898 wxString
*arg1
= 0 ;
8899 bool temp1
= false ;
8900 PyObject
* obj0
= 0 ;
8902 (char *) "msg", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8907 arg1
= wxString_in_helper(obj0
);
8908 if (arg1
== NULL
) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 wxPyLogStatus((wxString
const &)*arg1
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 Py_INCREF(Py_None
); resultobj
= Py_None
;
8933 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxFrame
*arg1
= (wxFrame
*) 0 ;
8936 wxString
*arg2
= 0 ;
8937 bool temp2
= false ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8941 (char *) "pFrame",(char *) "msg", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 arg2
= wxString_in_helper(obj1
);
8949 if (arg2
== NULL
) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 Py_INCREF(Py_None
); resultobj
= Py_None
;
8974 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxString
*arg1
= 0 ;
8977 bool temp1
= false ;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "msg", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8985 arg1
= wxString_in_helper(obj0
);
8986 if (arg1
== NULL
) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 wxPyLogSysError((wxString
const &)*arg1
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 Py_INCREF(Py_None
); resultobj
= Py_None
;
9011 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 unsigned long arg1
;
9014 wxString
*arg2
= 0 ;
9015 bool temp2
= false ;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9019 (char *) "level",(char *) "msg", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9023 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 arg2
= wxString_in_helper(obj1
);
9027 if (arg2
== NULL
) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 Py_INCREF(Py_None
); resultobj
= Py_None
;
9052 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
9053 PyObject
*resultobj
;
9054 unsigned long arg1
;
9055 wxString
*arg2
= 0 ;
9056 bool temp2
= false ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9060 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9061 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 arg2
= wxString_in_helper(obj1
);
9065 if (arg2
== NULL
) SWIG_fail
;
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 Py_INCREF(Py_None
); resultobj
= Py_None
;
9090 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
9091 PyObject
*resultobj
;
9092 wxString
*arg1
= 0 ;
9093 wxString
*arg2
= 0 ;
9094 bool temp1
= false ;
9095 bool temp2
= false ;
9096 PyObject
* obj0
= 0 ;
9097 PyObject
* obj1
= 0 ;
9099 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9101 arg1
= wxString_in_helper(obj0
);
9102 if (arg1
== NULL
) SWIG_fail
;
9106 arg2
= wxString_in_helper(obj1
);
9107 if (arg2
== NULL
) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 Py_INCREF(Py_None
); resultobj
= Py_None
;
9140 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9145 argc
= PyObject_Length(args
);
9146 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9147 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9152 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9156 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9159 return _wrap_LogTrace__SWIG_1(self
,args
);
9165 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9168 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9171 return _wrap_LogTrace__SWIG_0(self
,args
);
9176 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9181 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxString
*arg1
= 0 ;
9184 wxString
*arg2
= 0 ;
9185 bool temp1
= false ;
9186 bool temp2
= false ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9190 (char *) "title",(char *) "text", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9195 arg1
= wxString_in_helper(obj0
);
9196 if (arg1
== NULL
) SWIG_fail
;
9200 arg2
= wxString_in_helper(obj1
);
9201 if (arg2
== NULL
) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 Py_INCREF(Py_None
); resultobj
= Py_None
;
9234 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (wxLogNull
*)new wxLogNull();
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9256 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9259 PyObject
* obj0
= 0 ;
9261 (char *) "self", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 Py_INCREF(Py_None
); resultobj
= Py_None
;
9281 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9284 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9286 return Py_BuildValue((char *)"");
9288 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (wxPyLog
*)new wxPyLog();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9310 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9313 PyObject
*arg2
= (PyObject
*) 0 ;
9314 PyObject
*arg3
= (PyObject
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9317 PyObject
* obj2
= 0 ;
9319 (char *) "self",(char *) "self",(char *) "_class", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 Py_INCREF(Py_None
); resultobj
= Py_None
;
9341 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9344 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9346 return Py_BuildValue((char *)"");
9348 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9351 int arg2
= (int) wxSIGTERM
;
9352 int arg3
= (int) wxKILL_NOCHILDREN
;
9354 PyObject
* obj0
= 0 ;
9355 PyObject
* obj1
= 0 ;
9356 PyObject
* obj2
= 0 ;
9358 (char *) "pid",(char *) "sig",(char *) "flags", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9362 arg1
= (int)SWIG_As_int(obj0
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 arg2
= (int)SWIG_As_int(obj1
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 arg3
= (int)SWIG_As_int(obj2
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
,arg3
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_From_int((int)result
);
9386 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "pid", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9396 arg1
= (int)SWIG_As_int(obj0
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (bool)wxPyProcess::Exists(arg1
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9414 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxString
*arg1
= 0 ;
9417 int arg2
= (int) wxEXEC_ASYNC
;
9418 wxPyProcess
*result
;
9419 bool temp1
= false ;
9420 PyObject
* obj0
= 0 ;
9421 PyObject
* obj1
= 0 ;
9423 (char *) "cmd",(char *) "flags", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9428 arg1
= wxString_in_helper(obj0
);
9429 if (arg1
== NULL
) SWIG_fail
;
9433 arg2
= (int)SWIG_As_int(obj1
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9458 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9461 int arg2
= (int) -1 ;
9462 wxPyProcess
*result
;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9466 (char *) "parent",(char *) "id", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9475 arg2
= (int)SWIG_As_int(obj1
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9492 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9495 PyObject
*arg2
= (PyObject
*) 0 ;
9496 PyObject
*arg3
= (PyObject
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 PyObject
* obj2
= 0 ;
9501 (char *) "self",(char *) "self",(char *) "_class", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 Py_INCREF(Py_None
); resultobj
= Py_None
;
9523 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
;
9525 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9528 PyObject
* obj0
= 0 ;
9529 PyObject
* obj1
= 0 ;
9530 PyObject
* obj2
= 0 ;
9532 (char *) "self",(char *) "pid",(char *) "status", NULL
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9538 arg2
= (int)SWIG_As_int(obj1
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9540 arg3
= (int)SWIG_As_int(obj2
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 (arg1
)->base_OnTerminate(arg2
,arg3
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 Py_INCREF(Py_None
); resultobj
= Py_None
;
9556 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9561 (char *) "self", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 Py_INCREF(Py_None
); resultobj
= Py_None
;
9581 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9582 PyObject
*resultobj
;
9583 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9585 PyObject
* obj0
= 0 ;
9587 (char *) "self", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 result
= (bool)(arg1
)->IsRedirected();
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9609 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "self", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 Py_INCREF(Py_None
); resultobj
= Py_None
;
9634 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9637 wxInputStream
*result
;
9638 PyObject
* obj0
= 0 ;
9640 (char *) "self", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9654 wxPyInputStream
* _ptr
= NULL
;
9657 _ptr
= new wxPyInputStream(result
);
9659 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9667 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9670 wxInputStream
*result
;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "self", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9687 wxPyInputStream
* _ptr
= NULL
;
9690 _ptr
= new wxPyInputStream(result
);
9692 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9700 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9703 wxOutputStream
*result
;
9704 PyObject
* obj0
= 0 ;
9706 (char *) "self", NULL
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9726 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9731 (char *) "self", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 (arg1
)->CloseOutput();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 Py_INCREF(Py_None
); resultobj
= Py_None
;
9751 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9757 (char *) "self", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9779 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9785 (char *) "self", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9807 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9811 PyObject
* obj0
= 0 ;
9813 (char *) "self", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9835 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9838 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9840 return Py_BuildValue((char *)"");
9842 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 int arg1
= (int) 0 ;
9845 int arg2
= (int) 0 ;
9846 int arg3
= (int) 0 ;
9847 wxProcessEvent
*result
;
9848 PyObject
* obj0
= 0 ;
9849 PyObject
* obj1
= 0 ;
9850 PyObject
* obj2
= 0 ;
9852 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9857 arg1
= (int)SWIG_As_int(obj0
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9861 arg2
= (int)SWIG_As_int(obj1
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9865 arg3
= (int)SWIG_As_int(obj2
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9882 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9888 (char *) "self", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (int)(arg1
)->GetPid();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_From_int((int)result
);
9908 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (int)(arg1
)->GetExitCode();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_From_int((int)result
);
9934 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9939 PyObject
* obj1
= 0 ;
9941 (char *) "self",(char *) "m_pid", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9947 arg2
= (int)SWIG_As_int(obj1
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9949 if (arg1
) (arg1
)->m_pid
= arg2
;
9951 Py_INCREF(Py_None
); resultobj
= Py_None
;
9958 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9962 PyObject
* obj0
= 0 ;
9964 (char *) "self", NULL
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9970 result
= (int) ((arg1
)->m_pid
);
9972 resultobj
= SWIG_From_int((int)result
);
9979 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9984 PyObject
* obj1
= 0 ;
9986 (char *) "self",(char *) "m_exitcode", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9992 arg2
= (int)SWIG_As_int(obj1
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9994 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9996 Py_INCREF(Py_None
); resultobj
= Py_None
;
10003 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
10013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
10014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10015 result
= (int) ((arg1
)->m_exitcode
);
10017 resultobj
= SWIG_From_int((int)result
);
10024 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
10026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10027 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
10029 return Py_BuildValue((char *)"");
10031 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxString
*arg1
= 0 ;
10034 int arg2
= (int) wxEXEC_ASYNC
;
10035 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
10037 bool temp1
= false ;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj1
= 0 ;
10040 PyObject
* obj2
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "command",(char *) "flags",(char *) "process", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10047 arg1
= wxString_in_helper(obj0
);
10048 if (arg1
== NULL
) SWIG_fail
;
10052 arg2
= (int)SWIG_As_int(obj1
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
10057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10060 if (!wxPyCheckForApp()) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_From_long((long)result
);
10082 static PyObject
*_wrap_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10085 int arg2
= (int) wxSIGTERM
;
10086 wxKillError
*arg3
= (wxKillError
*) 0 ;
10087 int arg4
= (int) wxKILL_NOCHILDREN
;
10089 wxKillError temp3
;
10090 PyObject
* obj0
= 0 ;
10091 PyObject
* obj1
= 0 ;
10092 PyObject
* obj2
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10101 arg1
= (long)SWIG_As_long(obj0
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 arg2
= (int)SWIG_As_int(obj1
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 arg4
= (int)SWIG_As_int(obj2
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (int)wxKill(arg1
,(wxSignal
)arg2
,arg3
,arg4
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_From_int((int)result
);
10121 o
= PyInt_FromLong((long) (*arg3
));
10122 resultobj
= t_output_helper(resultobj
, o
);
10130 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 int arg1
= (int) wxJOYSTICK1
;
10133 wxJoystick
*result
;
10134 PyObject
* obj0
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "joystick", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
10141 arg1
= (int)SWIG_As_int(obj0
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10145 if (!wxPyCheckForApp()) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (wxJoystick
*)new wxJoystick(arg1
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10159 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 Py_INCREF(Py_None
); resultobj
= Py_None
;
10184 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (arg1
)->GetPosition();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10204 wxPoint
* resultptr
;
10205 resultptr
= new wxPoint((wxPoint
&) result
);
10206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10214 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10216 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (int)(arg1
)->GetZPosition();
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_From_int((int)result
);
10240 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (int)(arg1
)->GetButtonState();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_From_int((int)result
);
10266 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10270 PyObject
* obj0
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (int)(arg1
)->GetPOVPosition();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= SWIG_From_int((int)result
);
10292 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10296 PyObject
* obj0
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (int)(arg1
)->GetPOVCTSPosition();
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_From_int((int)result
);
10318 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (int)(arg1
)->GetRudderPosition();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= SWIG_From_int((int)result
);
10344 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10348 PyObject
* obj0
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (int)(arg1
)->GetUPosition();
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= SWIG_From_int((int)result
);
10370 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= (int)(arg1
)->GetVPosition();
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_From_int((int)result
);
10396 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10400 PyObject
* obj0
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "self", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (int)(arg1
)->GetMovementThreshold();
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_From_int((int)result
);
10422 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self",(char *) "threshold", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10435 arg2
= (int)SWIG_As_int(obj1
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 (arg1
)->SetMovementThreshold(arg2
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 Py_INCREF(Py_None
); resultobj
= Py_None
;
10451 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (bool)(arg1
)->IsOk();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10479 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (int)(arg1
)->GetNumberJoysticks();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= SWIG_From_int((int)result
);
10505 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (int)(arg1
)->GetManufacturerId();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_From_int((int)result
);
10531 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (int)(arg1
)->GetProductId();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= SWIG_From_int((int)result
);
10557 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10558 PyObject
*resultobj
;
10559 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10561 PyObject
* obj0
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "self", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (arg1
)->GetProductName();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10589 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (int)(arg1
)->GetXMin();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_From_int((int)result
);
10615 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10619 PyObject
* obj0
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (int)(arg1
)->GetYMin();
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= SWIG_From_int((int)result
);
10641 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
;
10643 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10645 PyObject
* obj0
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (int)(arg1
)->GetZMin();
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_From_int((int)result
);
10667 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "self", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 result
= (int)(arg1
)->GetXMax();
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= SWIG_From_int((int)result
);
10693 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (int)(arg1
)->GetYMax();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_From_int((int)result
);
10719 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (int)(arg1
)->GetZMax();
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= SWIG_From_int((int)result
);
10745 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (int)(arg1
)->GetNumberButtons();
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= SWIG_From_int((int)result
);
10771 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= (int)(arg1
)->GetNumberAxes();
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 resultobj
= SWIG_From_int((int)result
);
10797 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (int)(arg1
)->GetMaxButtons();
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= SWIG_From_int((int)result
);
10823 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 result
= (int)(arg1
)->GetMaxAxes();
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= SWIG_From_int((int)result
);
10849 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 result
= (int)(arg1
)->GetPollingMin();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 resultobj
= SWIG_From_int((int)result
);
10875 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10879 PyObject
* obj0
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= (int)(arg1
)->GetPollingMax();
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= SWIG_From_int((int)result
);
10901 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (int)(arg1
)->GetRudderMin();
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 resultobj
= SWIG_From_int((int)result
);
10927 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (int)(arg1
)->GetRudderMax();
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= SWIG_From_int((int)result
);
10953 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10957 PyObject
* obj0
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= (int)(arg1
)->GetUMin();
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= SWIG_From_int((int)result
);
10979 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10983 PyObject
* obj0
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (int)(arg1
)->GetUMax();
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_From_int((int)result
);
11005 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
;
11007 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11009 PyObject
* obj0
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (int)(arg1
)->GetVMin();
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= SWIG_From_int((int)result
);
11031 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11035 PyObject
* obj0
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
11041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 result
= (int)(arg1
)->GetVMax();
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 resultobj
= SWIG_From_int((int)result
);
11057 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "self", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
11067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (bool)(arg1
)->HasRudder();
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11085 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
11095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (bool)(arg1
)->HasZ();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11117 PyObject
* obj0
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (bool)(arg1
)->HasU();
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11141 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11145 PyObject
* obj0
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "self", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
11151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (bool)(arg1
)->HasV();
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11173 PyObject
* obj0
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (bool)(arg1
)->HasPOV();
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11197 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (bool)(arg1
)->HasPOV4Dir();
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11225 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 char *kwnames
[] = {
11231 (char *) "self", NULL
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (bool)(arg1
)->HasPOVCTS();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11253 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11256 wxWindow
*arg2
= (wxWindow
*) 0 ;
11257 int arg3
= (int) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11272 arg3
= (int)SWIG_As_int(obj2
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11291 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (bool)(arg1
)->ReleaseCapture();
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11319 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11322 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11324 return Py_BuildValue((char *)"");
11326 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11329 wxPoint
*arg2
= (wxPoint
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "m_pos", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11341 if (arg1
) (arg1
)->m_pos
= *arg2
;
11343 Py_INCREF(Py_None
); resultobj
= Py_None
;
11350 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11362 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11371 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11375 PyObject
* obj0
= 0 ;
11376 PyObject
* obj1
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self",(char *) "m_zPosition", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11384 arg2
= (int)SWIG_As_int(obj1
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11386 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11388 Py_INCREF(Py_None
); resultobj
= Py_None
;
11395 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "self", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11407 result
= (int) ((arg1
)->m_zPosition
);
11409 resultobj
= SWIG_From_int((int)result
);
11416 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
;
11418 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11420 PyObject
* obj0
= 0 ;
11421 PyObject
* obj1
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self",(char *) "m_buttonChange", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11429 arg2
= (int)SWIG_As_int(obj1
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11431 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11433 Py_INCREF(Py_None
); resultobj
= Py_None
;
11440 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11452 result
= (int) ((arg1
)->m_buttonChange
);
11454 resultobj
= SWIG_From_int((int)result
);
11461 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 PyObject
* obj1
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self",(char *) "m_buttonState", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11474 arg2
= (int)SWIG_As_int(obj1
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11476 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11478 Py_INCREF(Py_None
); resultobj
= Py_None
;
11485 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11497 result
= (int) ((arg1
)->m_buttonState
);
11499 resultobj
= SWIG_From_int((int)result
);
11506 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self",(char *) "m_joyStick", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11519 arg2
= (int)SWIG_As_int(obj1
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11521 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11530 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11542 result
= (int) ((arg1
)->m_joyStick
);
11544 resultobj
= SWIG_From_int((int)result
);
11551 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11554 int arg2
= (int) 0 ;
11555 int arg3
= (int) wxJOYSTICK1
;
11556 int arg4
= (int) 0 ;
11557 wxJoystickEvent
*result
;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 PyObject
* obj2
= 0 ;
11561 PyObject
* obj3
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11568 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 arg2
= (int)SWIG_As_int(obj1
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11576 arg3
= (int)SWIG_As_int(obj2
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11580 arg4
= (int)SWIG_As_int(obj3
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11597 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "self", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11617 wxPoint
* resultptr
;
11618 resultptr
= new wxPoint((wxPoint
&) result
);
11619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11627 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11631 PyObject
* obj0
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_From_int((int)result
);
11653 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11657 PyObject
* obj0
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self", NULL
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_From_int((int)result
);
11679 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_From_int((int)result
);
11705 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11709 PyObject
* obj0
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= SWIG_From_int((int)result
);
11731 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11732 PyObject
*resultobj
;
11733 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11735 PyObject
* obj0
= 0 ;
11736 PyObject
* obj1
= 0 ;
11737 char *kwnames
[] = {
11738 (char *) "self",(char *) "stick", NULL
11741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11744 arg2
= (int)SWIG_As_int(obj1
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 (arg1
)->SetJoystick(arg2
);
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 Py_INCREF(Py_None
); resultobj
= Py_None
;
11760 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11764 PyObject
* obj0
= 0 ;
11765 PyObject
* obj1
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self",(char *) "state", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11773 arg2
= (int)SWIG_As_int(obj1
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 (arg1
)->SetButtonState(arg2
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 Py_INCREF(Py_None
); resultobj
= Py_None
;
11789 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "self",(char *) "change", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 arg2
= (int)SWIG_As_int(obj1
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 (arg1
)->SetButtonChange(arg2
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 Py_INCREF(Py_None
); resultobj
= Py_None
;
11818 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11821 wxPoint
*arg2
= 0 ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self",(char *) "pos", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11834 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 Py_INCREF(Py_None
); resultobj
= Py_None
;
11850 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self",(char *) "zPos", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11863 arg2
= (int)SWIG_As_int(obj1
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->SetZPosition(arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11879 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11907 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11935 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11963 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11966 int arg2
= (int) wxJOY_BUTTON_ANY
;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "but", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11978 arg2
= (int)SWIG_As_int(obj1
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11997 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12000 int arg2
= (int) wxJOY_BUTTON_ANY
;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self",(char *) "but", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
12010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12012 arg2
= (int)SWIG_As_int(obj1
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12031 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
12034 int arg2
= (int) wxJOY_BUTTON_ANY
;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self",(char *) "but", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12046 arg2
= (int)SWIG_As_int(obj1
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12065 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
12067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12068 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
12070 return Py_BuildValue((char *)"");
12072 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxString
const &arg1_defvalue
= wxPyEmptyString
;
12075 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12077 bool temp1
= false ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "fileName", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
12086 arg1
= wxString_in_helper(obj0
);
12087 if (arg1
== NULL
) SWIG_fail
;
12092 if (!wxPyCheckForApp()) SWIG_fail
;
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12114 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 PyObject
*arg1
= (PyObject
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "data", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
12126 if (!wxPyCheckForApp()) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (wxSound
*)new_wxSound(arg1
);
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12140 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxSound
*arg1
= (wxSound
*) 0 ;
12143 PyObject
* obj0
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxSound
*arg1
= (wxSound
*) 0 ;
12168 wxString
*arg2
= 0 ;
12170 bool temp2
= false ;
12171 PyObject
* obj0
= 0 ;
12172 PyObject
* obj1
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self",(char *) "fileName", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12181 arg2
= wxString_in_helper(obj1
);
12182 if (arg2
== NULL
) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12209 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12211 wxSound
*arg1
= (wxSound
*) 0 ;
12212 PyObject
*arg2
= (PyObject
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self",(char *) "data", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12240 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxSound
*arg1
= (wxSound
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (bool)(arg1
)->IsOk();
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12268 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxSound
*arg1
= (wxSound
*) 0 ;
12271 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12273 PyObject
* obj0
= 0 ;
12274 PyObject
* obj1
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "self",(char *) "flags", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12283 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12287 if (!wxPyCheckForApp()) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12303 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxString
*arg1
= 0 ;
12306 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12308 bool temp1
= false ;
12309 PyObject
* obj0
= 0 ;
12310 PyObject
* obj1
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "filename",(char *) "flags", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12317 arg1
= wxString_in_helper(obj0
);
12318 if (arg1
== NULL
) SWIG_fail
;
12322 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12326 if (!wxPyCheckForApp()) SWIG_fail
;
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12350 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 char *kwnames
[] = {
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12358 if (!wxPyCheckForApp()) SWIG_fail
;
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 Py_INCREF(Py_None
); resultobj
= Py_None
;
12372 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12375 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12377 return Py_BuildValue((char *)"");
12379 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxString
*arg1
= 0 ;
12382 wxString
*arg2
= 0 ;
12383 wxString
*arg3
= 0 ;
12384 wxString
*arg4
= 0 ;
12385 wxFileTypeInfo
*result
;
12386 bool temp1
= false ;
12387 bool temp2
= false ;
12388 bool temp3
= false ;
12389 bool temp4
= false ;
12390 PyObject
* obj0
= 0 ;
12391 PyObject
* obj1
= 0 ;
12392 PyObject
* obj2
= 0 ;
12393 PyObject
* obj3
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12400 arg1
= wxString_in_helper(obj0
);
12401 if (arg1
== NULL
) SWIG_fail
;
12405 arg2
= wxString_in_helper(obj1
);
12406 if (arg2
== NULL
) SWIG_fail
;
12410 arg3
= wxString_in_helper(obj2
);
12411 if (arg3
== NULL
) SWIG_fail
;
12415 arg4
= wxString_in_helper(obj3
);
12416 if (arg4
== NULL
) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12465 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxArrayString
*arg1
= 0 ;
12468 wxFileTypeInfo
*result
;
12469 bool temp1
= false ;
12470 PyObject
* obj0
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "sArray", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12477 if (! PySequence_Check(obj0
)) {
12478 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12481 arg1
= new wxArrayString
;
12483 int i
, len
=PySequence_Length(obj0
);
12484 for (i
=0; i
<len
; i
++) {
12485 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12487 PyObject
* str
= PyObject_Unicode(item
);
12489 PyObject
* str
= PyObject_Str(item
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12492 arg1
->Add(Py2wxString(str
));
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12506 if (temp1
) delete arg1
;
12511 if (temp1
) delete arg1
;
12517 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxFileTypeInfo
*result
;
12520 char *kwnames
[] = {
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12539 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12567 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12570 wxString
*arg2
= 0 ;
12571 int arg3
= (int) 0 ;
12572 bool temp2
= false ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 PyObject
* obj2
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12584 arg2
= wxString_in_helper(obj1
);
12585 if (arg2
== NULL
) SWIG_fail
;
12589 arg3
= (int)SWIG_As_int(obj2
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 Py_INCREF(Py_None
); resultobj
= Py_None
;
12614 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12617 wxString
*arg2
= 0 ;
12618 bool temp2
= false ;
12619 PyObject
* obj0
= 0 ;
12620 PyObject
* obj1
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "self",(char *) "shortDesc", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12629 arg2
= wxString_in_helper(obj1
);
12630 if (arg2
== NULL
) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 Py_INCREF(Py_None
); resultobj
= Py_None
;
12655 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12671 result
= (wxString
*) &_result_ref
;
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12681 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12690 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12706 result
= (wxString
*) &_result_ref
;
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12725 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12741 result
= (wxString
*) &_result_ref
;
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12760 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "self", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12776 result
= (wxString
*) &_result_ref
;
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12786 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12795 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
;
12797 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12799 PyObject
* obj0
= 0 ;
12800 char *kwnames
[] = {
12801 (char *) "self", NULL
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12811 result
= (wxString
*) &_result_ref
;
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12821 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12830 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12833 wxArrayString
*result
;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12846 result
= (wxArrayString
*) &_result_ref
;
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= wxArrayString2PyList_helper(*result
);
12861 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12865 PyObject
* obj0
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self", NULL
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_From_int((int)result
);
12887 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
;
12889 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12891 PyObject
* obj0
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12903 result
= (wxString
*) &_result_ref
;
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12913 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12922 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
;
12924 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12926 PyObject
* obj0
= 0 ;
12927 char *kwnames
[] = {
12928 (char *) "self", NULL
12931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= SWIG_From_int((int)result
);
12948 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12951 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12953 return Py_BuildValue((char *)"");
12955 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxFileTypeInfo
*arg1
= 0 ;
12958 wxFileType
*result
;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "ftInfo", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12968 if (arg1
== NULL
) {
12969 PyErr_SetString(PyExc_TypeError
,"null reference");
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12986 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxFileType
*arg1
= (wxFileType
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 Py_INCREF(Py_None
); resultobj
= Py_None
;
13011 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxFileType
*arg1
= (wxFileType
*) 0 ;
13015 PyObject
* obj0
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "self", NULL
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
13021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
;
13037 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxFileType
*arg1
= (wxFileType
*) 0 ;
13041 PyObject
* obj0
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
13047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= result
;
13063 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxFileType
*arg1
= (wxFileType
*) 0 ;
13067 PyObject
* obj0
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "self", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
13073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 resultobj
= result
;
13089 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxFileType
*arg1
= (wxFileType
*) 0 ;
13093 PyObject
* obj0
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
13099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
13115 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxFileType
*arg1
= (wxFileType
*) 0 ;
13119 PyObject
* obj0
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= result
;
13141 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxFileType
*arg1
= (wxFileType
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= result
;
13167 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxFileType
*arg1
= (wxFileType
*) 0 ;
13170 wxString
*arg2
= 0 ;
13171 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13172 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13174 bool temp2
= false ;
13175 bool temp3
= false ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 PyObject
* obj2
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13187 arg2
= wxString_in_helper(obj1
);
13188 if (arg2
== NULL
) SWIG_fail
;
13193 arg3
= wxString_in_helper(obj2
);
13194 if (arg3
== NULL
) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= result
;
13228 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxFileType
*arg1
= (wxFileType
*) 0 ;
13231 wxString
*arg2
= 0 ;
13232 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13233 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13235 bool temp2
= false ;
13236 bool temp3
= false ;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 PyObject
* obj2
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13248 arg2
= wxString_in_helper(obj1
);
13249 if (arg2
== NULL
) SWIG_fail
;
13254 arg3
= wxString_in_helper(obj2
);
13255 if (arg3
== NULL
) SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= result
;
13289 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxFileType
*arg1
= (wxFileType
*) 0 ;
13292 wxString
*arg2
= 0 ;
13293 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13294 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13296 bool temp2
= false ;
13297 bool temp3
= false ;
13298 PyObject
* obj0
= 0 ;
13299 PyObject
* obj1
= 0 ;
13300 PyObject
* obj2
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13309 arg2
= wxString_in_helper(obj1
);
13310 if (arg2
== NULL
) SWIG_fail
;
13315 arg3
= wxString_in_helper(obj2
);
13316 if (arg3
== NULL
) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= result
;
13350 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxFileType
*arg1
= (wxFileType
*) 0 ;
13353 wxString
*arg2
= 0 ;
13354 wxString
*arg3
= 0 ;
13355 bool arg4
= (bool) true ;
13357 bool temp2
= false ;
13358 bool temp3
= false ;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 PyObject
* obj2
= 0 ;
13362 PyObject
* obj3
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13371 arg2
= wxString_in_helper(obj1
);
13372 if (arg2
== NULL
) SWIG_fail
;
13376 arg3
= wxString_in_helper(obj2
);
13377 if (arg3
== NULL
) SWIG_fail
;
13381 arg4
= (bool)SWIG_As_bool(obj3
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13416 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxFileType
*arg1
= (wxFileType
*) 0 ;
13419 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13420 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13421 int arg3
= (int) 0 ;
13423 bool temp2
= false ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 PyObject
* obj2
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self",(char *) "cmd",(char *) "index", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13436 arg2
= wxString_in_helper(obj1
);
13437 if (arg2
== NULL
) SWIG_fail
;
13442 arg3
= (int)SWIG_As_int(obj2
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13469 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
;
13471 wxFileType
*arg1
= (wxFileType
*) 0 ;
13473 PyObject
* obj0
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (bool)(arg1
)->Unassociate();
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13497 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 wxString
*arg1
= 0 ;
13500 wxString
*arg2
= 0 ;
13501 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13502 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13504 bool temp1
= false ;
13505 bool temp2
= false ;
13506 bool temp3
= false ;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 PyObject
* obj2
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13516 arg1
= wxString_in_helper(obj0
);
13517 if (arg1
== NULL
) SWIG_fail
;
13521 arg2
= wxString_in_helper(obj1
);
13522 if (arg2
== NULL
) SWIG_fail
;
13527 arg3
= wxString_in_helper(obj2
);
13528 if (arg3
== NULL
) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13576 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13579 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13581 return Py_BuildValue((char *)"");
13583 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13584 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13589 static PyObject
*_wrap_TheMimeTypesManager_get() {
13592 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13597 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxString
*arg1
= 0 ;
13600 wxString
*arg2
= 0 ;
13602 bool temp1
= false ;
13603 bool temp2
= false ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "mimeType",(char *) "wildcard", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13612 arg1
= wxString_in_helper(obj0
);
13613 if (arg1
== NULL
) SWIG_fail
;
13617 arg2
= wxString_in_helper(obj1
);
13618 if (arg2
== NULL
) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13653 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxMimeTypesManager
*result
;
13656 char *kwnames
[] = {
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13675 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13678 int arg2
= (int) wxMAILCAP_ALL
;
13679 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13680 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13681 bool temp3
= false ;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 PyObject
* obj2
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13693 arg2
= (int)SWIG_As_int(obj1
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13698 arg3
= wxString_in_helper(obj2
);
13699 if (arg3
== NULL
) SWIG_fail
;
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 Py_INCREF(Py_None
); resultobj
= Py_None
;
13725 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 (arg1
)->ClearData();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 Py_INCREF(Py_None
); resultobj
= Py_None
;
13750 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13753 wxString
*arg2
= 0 ;
13754 wxFileType
*result
;
13755 bool temp2
= false ;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "ext", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13766 arg2
= wxString_in_helper(obj1
);
13767 if (arg2
== NULL
) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13792 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13795 wxString
*arg2
= 0 ;
13796 wxFileType
*result
;
13797 bool temp2
= false ;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self",(char *) "mimeType", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13808 arg2
= wxString_in_helper(obj1
);
13809 if (arg2
== NULL
) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13834 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13837 wxString
*arg2
= 0 ;
13838 bool arg3
= (bool) false ;
13840 bool temp2
= false ;
13841 PyObject
* obj0
= 0 ;
13842 PyObject
* obj1
= 0 ;
13843 PyObject
* obj2
= 0 ;
13844 char *kwnames
[] = {
13845 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13852 arg2
= wxString_in_helper(obj1
);
13853 if (arg2
== NULL
) SWIG_fail
;
13857 arg3
= (bool)SWIG_As_bool(obj2
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13884 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13887 wxString
*arg2
= 0 ;
13889 bool temp2
= false ;
13890 PyObject
* obj0
= 0 ;
13891 PyObject
* obj1
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self",(char *) "filename", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13900 arg2
= wxString_in_helper(obj1
);
13901 if (arg2
== NULL
) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13928 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13932 PyObject
* obj0
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "self", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= result
;
13954 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13957 wxFileTypeInfo
*arg2
= 0 ;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 char *kwnames
[] = {
13961 (char *) "self",(char *) "ft", NULL
13964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13970 if (arg2
== NULL
) {
13971 PyErr_SetString(PyExc_TypeError
,"null reference");
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 Py_INCREF(Py_None
); resultobj
= Py_None
;
13988 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13991 wxFileTypeInfo
*arg2
= 0 ;
13992 wxFileType
*result
;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self",(char *) "ftInfo", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
14003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14005 if (arg2
== NULL
) {
14006 PyErr_SetString(PyExc_TypeError
,"null reference");
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
14023 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14026 wxFileType
*arg2
= (wxFileType
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self",(char *) "ft", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
14038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (bool)(arg1
)->Unassociate(arg2
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14055 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
;
14057 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14058 PyObject
* obj0
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14073 Py_INCREF(Py_None
); resultobj
= Py_None
;
14080 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
14082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14083 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
14085 return Py_BuildValue((char *)"");
14087 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
14088 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
14093 static PyObject
*_wrap_ART_TOOLBAR_get() {
14098 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14100 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14107 static int _wrap_ART_MENU_set(PyObject
*) {
14108 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
14113 static PyObject
*_wrap_ART_MENU_get() {
14118 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14120 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14127 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
14128 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
14133 static PyObject
*_wrap_ART_FRAME_ICON_get() {
14138 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14140 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14147 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
14148 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
14153 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14158 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14160 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14167 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14168 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14173 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14178 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14180 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14187 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14188 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14193 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14198 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14200 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14207 static int _wrap_ART_BUTTON_set(PyObject
*) {
14208 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14213 static PyObject
*_wrap_ART_BUTTON_get() {
14218 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14220 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14227 static int _wrap_ART_OTHER_set(PyObject
*) {
14228 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14233 static PyObject
*_wrap_ART_OTHER_get() {
14238 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14240 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14247 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14248 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14253 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14258 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14260 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14267 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14268 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14273 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14278 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14280 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14287 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14288 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14293 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14298 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14300 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14307 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14308 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14313 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14318 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14320 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14327 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14328 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14333 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14338 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14340 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14347 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14348 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14353 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14358 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14360 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14367 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14368 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14373 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14378 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14380 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14387 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14388 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14393 static PyObject
*_wrap_ART_GO_BACK_get() {
14398 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14400 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14407 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14408 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14413 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14418 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14420 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14427 static int _wrap_ART_GO_UP_set(PyObject
*) {
14428 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14433 static PyObject
*_wrap_ART_GO_UP_get() {
14438 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14440 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14447 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14448 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14453 static PyObject
*_wrap_ART_GO_DOWN_get() {
14458 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14460 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14467 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14468 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14473 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14478 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14480 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14487 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14488 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14493 static PyObject
*_wrap_ART_GO_HOME_get() {
14498 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14500 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14507 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14508 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14513 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14518 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14520 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14527 static int _wrap_ART_PRINT_set(PyObject
*) {
14528 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14533 static PyObject
*_wrap_ART_PRINT_get() {
14538 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14540 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14547 static int _wrap_ART_HELP_set(PyObject
*) {
14548 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14553 static PyObject
*_wrap_ART_HELP_get() {
14558 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14560 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14567 static int _wrap_ART_TIP_set(PyObject
*) {
14568 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14573 static PyObject
*_wrap_ART_TIP_get() {
14578 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14580 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14587 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14588 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14593 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14598 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14600 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14607 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14608 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14613 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14618 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14620 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14627 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14628 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14633 static PyObject
*_wrap_ART_NEW_DIR_get() {
14638 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14640 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14647 static int _wrap_ART_HARDDISK_set(PyObject
*) {
14648 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
14653 static PyObject
*_wrap_ART_HARDDISK_get() {
14658 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14660 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14667 static int _wrap_ART_FLOPPY_set(PyObject
*) {
14668 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
14673 static PyObject
*_wrap_ART_FLOPPY_get() {
14678 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14680 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14687 static int _wrap_ART_CDROM_set(PyObject
*) {
14688 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
14693 static PyObject
*_wrap_ART_CDROM_get() {
14698 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14700 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14707 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
14708 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
14713 static PyObject
*_wrap_ART_REMOVABLE_get() {
14718 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14720 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14727 static int _wrap_ART_FOLDER_set(PyObject
*) {
14728 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14733 static PyObject
*_wrap_ART_FOLDER_get() {
14738 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14740 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14747 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
14748 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
14753 static PyObject
*_wrap_ART_FOLDER_OPEN_get() {
14758 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14760 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14767 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14768 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14773 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14778 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14780 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14787 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14788 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14793 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14798 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14800 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14807 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14808 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14813 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14818 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14820 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14827 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14828 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14833 static PyObject
*_wrap_ART_TICK_MARK_get() {
14838 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14840 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14847 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14848 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14853 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14858 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14860 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14867 static int _wrap_ART_ERROR_set(PyObject
*) {
14868 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14873 static PyObject
*_wrap_ART_ERROR_get() {
14878 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14880 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14887 static int _wrap_ART_QUESTION_set(PyObject
*) {
14888 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14893 static PyObject
*_wrap_ART_QUESTION_get() {
14898 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14900 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14907 static int _wrap_ART_WARNING_set(PyObject
*) {
14908 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14913 static PyObject
*_wrap_ART_WARNING_get() {
14918 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14920 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14927 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14928 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14933 static PyObject
*_wrap_ART_INFORMATION_get() {
14938 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14940 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14947 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14948 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14953 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14958 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14960 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14967 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxPyArtProvider
*result
;
14970 char *kwnames
[] = {
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14976 if (!wxPyCheckForApp()) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14990 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14993 PyObject
*arg2
= (PyObject
*) 0 ;
14994 PyObject
*arg3
= (PyObject
*) 0 ;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 PyObject
* obj2
= 0 ;
14998 char *kwnames
[] = {
14999 (char *) "self",(char *) "self",(char *) "_class", NULL
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 Py_INCREF(Py_None
); resultobj
= Py_None
;
15021 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15024 PyObject
* obj0
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "provider", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 wxPyArtProvider::PushProvider(arg1
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 Py_INCREF(Py_None
); resultobj
= Py_None
;
15046 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15049 char *kwnames
[] = {
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 result
= (bool)wxPyArtProvider::PopProvider();
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15070 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15074 PyObject
* obj0
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "provider", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15098 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
;
15100 wxString
*arg1
= 0 ;
15101 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15102 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15103 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15104 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15106 bool temp1
= false ;
15107 bool temp2
= false ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 PyObject
* obj2
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "id",(char *) "client",(char *) "size", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15118 arg1
= wxString_in_helper(obj0
);
15119 if (arg1
== NULL
) SWIG_fail
;
15124 arg2
= wxString_in_helper(obj1
);
15125 if (arg2
== NULL
) SWIG_fail
;
15132 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15136 if (!wxPyCheckForApp()) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15144 wxBitmap
* resultptr
;
15145 resultptr
= new wxBitmap((wxBitmap
&) result
);
15146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15170 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxString
*arg1
= 0 ;
15173 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15174 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15175 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15176 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15178 bool temp1
= false ;
15179 bool temp2
= false ;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 PyObject
* obj2
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "id",(char *) "client",(char *) "size", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15190 arg1
= wxString_in_helper(obj0
);
15191 if (arg1
== NULL
) SWIG_fail
;
15196 arg2
= wxString_in_helper(obj1
);
15197 if (arg2
== NULL
) SWIG_fail
;
15204 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15208 if (!wxPyCheckForApp()) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 wxIcon
* resultptr
;
15217 resultptr
= new wxIcon((wxIcon
&) result
);
15218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
15242 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 wxPyArtProvider_Destroy(arg1
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 Py_INCREF(Py_None
); resultobj
= Py_None
;
15267 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15270 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15272 return Py_BuildValue((char *)"");
15274 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 Py_INCREF(Py_None
); resultobj
= Py_None
;
15299 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15302 wxConfigBase
*result
;
15303 PyObject
* obj0
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "config", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15325 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 bool arg1
= (bool) true ;
15328 wxConfigBase
*result
;
15329 PyObject
* obj0
= 0 ;
15330 char *kwnames
[] = {
15331 (char *) "createOnDemand", NULL
15334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15336 arg1
= (bool)SWIG_As_bool(obj0
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15353 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxConfigBase
*result
;
15356 char *kwnames
[] = {
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (wxConfigBase
*)wxConfigBase::Create();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15375 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 char *kwnames
[] = {
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 wxConfigBase::DontCreateOnDemand();
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 Py_INCREF(Py_None
); resultobj
= Py_None
;
15396 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
;
15398 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15399 wxString
*arg2
= 0 ;
15400 bool temp2
= false ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self",(char *) "path", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 arg2
= wxString_in_helper(obj1
);
15412 if (arg2
== NULL
) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetPath((wxString
const &)*arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 Py_INCREF(Py_None
); resultobj
= Py_None
;
15437 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "self", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15453 result
= (wxString
*) &_result_ref
;
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15463 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15472 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= result
;
15498 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15503 PyObject
* obj0
= 0 ;
15504 PyObject
* obj1
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "self",(char *) "index", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15512 arg2
= (long)SWIG_As_long(obj1
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= result
;
15528 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= result
;
15554 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15559 PyObject
* obj0
= 0 ;
15560 PyObject
* obj1
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "self",(char *) "index", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15568 arg2
= (long)SWIG_As_long(obj1
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= result
;
15584 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15585 PyObject
*resultobj
;
15586 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15587 bool arg2
= (bool) false ;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self",(char *) "recursive", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15599 arg2
= (bool)SWIG_As_bool(obj1
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15616 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15619 bool arg2
= (bool) false ;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self",(char *) "recursive", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15631 arg2
= (bool)SWIG_As_bool(obj1
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15648 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15651 wxString
*arg2
= 0 ;
15653 bool temp2
= false ;
15654 PyObject
* obj0
= 0 ;
15655 PyObject
* obj1
= 0 ;
15656 char *kwnames
[] = {
15657 (char *) "self",(char *) "name", NULL
15660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15664 arg2
= wxString_in_helper(obj1
);
15665 if (arg2
== NULL
) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15692 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15695 wxString
*arg2
= 0 ;
15697 bool temp2
= false ;
15698 PyObject
* obj0
= 0 ;
15699 PyObject
* obj1
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self",(char *) "name", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15708 arg2
= wxString_in_helper(obj1
);
15709 if (arg2
== NULL
) SWIG_fail
;
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15736 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
;
15738 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15739 wxString
*arg2
= 0 ;
15741 bool temp2
= false ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self",(char *) "name", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15752 arg2
= wxString_in_helper(obj1
);
15753 if (arg2
== NULL
) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15780 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15781 PyObject
*resultobj
;
15782 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15783 wxString
*arg2
= 0 ;
15785 bool temp2
= false ;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 char *kwnames
[] = {
15789 (char *) "self",(char *) "name", NULL
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15796 arg2
= wxString_in_helper(obj1
);
15797 if (arg2
== NULL
) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= SWIG_From_int((int)result
);
15822 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15825 wxString
*arg2
= 0 ;
15826 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15827 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15829 bool temp2
= false ;
15830 bool temp3
= false ;
15831 PyObject
* obj0
= 0 ;
15832 PyObject
* obj1
= 0 ;
15833 PyObject
* obj2
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15842 arg2
= wxString_in_helper(obj1
);
15843 if (arg2
== NULL
) SWIG_fail
;
15848 arg3
= wxString_in_helper(obj2
);
15849 if (arg3
== NULL
) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15889 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15892 wxString
*arg2
= 0 ;
15893 long arg3
= (long) 0 ;
15895 bool temp2
= false ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 PyObject
* obj2
= 0 ;
15899 char *kwnames
[] = {
15900 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15907 arg2
= wxString_in_helper(obj1
);
15908 if (arg2
== NULL
) SWIG_fail
;
15912 arg3
= (long)SWIG_As_long(obj2
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= SWIG_From_long((long)result
);
15937 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15940 wxString
*arg2
= 0 ;
15941 double arg3
= (double) 0.0 ;
15943 bool temp2
= false ;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 PyObject
* obj2
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15955 arg2
= wxString_in_helper(obj1
);
15956 if (arg2
== NULL
) SWIG_fail
;
15960 arg3
= (double)SWIG_As_double(obj2
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= SWIG_From_double((double)result
);
15985 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15986 PyObject
*resultobj
;
15987 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15988 wxString
*arg2
= 0 ;
15989 bool arg3
= (bool) false ;
15991 bool temp2
= false ;
15992 PyObject
* obj0
= 0 ;
15993 PyObject
* obj1
= 0 ;
15994 PyObject
* obj2
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16003 arg2
= wxString_in_helper(obj1
);
16004 if (arg2
== NULL
) SWIG_fail
;
16008 arg3
= (bool)SWIG_As_bool(obj2
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16035 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16038 wxString
*arg2
= 0 ;
16039 wxString
*arg3
= 0 ;
16041 bool temp2
= false ;
16042 bool temp3
= false ;
16043 PyObject
* obj0
= 0 ;
16044 PyObject
* obj1
= 0 ;
16045 PyObject
* obj2
= 0 ;
16046 char *kwnames
[] = {
16047 (char *) "self",(char *) "key",(char *) "value", NULL
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16054 arg2
= wxString_in_helper(obj1
);
16055 if (arg2
== NULL
) SWIG_fail
;
16059 arg3
= wxString_in_helper(obj2
);
16060 if (arg3
== NULL
) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16095 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16098 wxString
*arg2
= 0 ;
16101 bool temp2
= false ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 PyObject
* obj2
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self",(char *) "key",(char *) "value", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 arg2
= wxString_in_helper(obj1
);
16114 if (arg2
== NULL
) SWIG_fail
;
16117 arg3
= (long)SWIG_As_long(obj2
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16143 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16146 wxString
*arg2
= 0 ;
16149 bool temp2
= false ;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 PyObject
* obj2
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self",(char *) "key",(char *) "value", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 arg2
= wxString_in_helper(obj1
);
16162 if (arg2
== NULL
) SWIG_fail
;
16165 arg3
= (double)SWIG_As_double(obj2
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16191 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16194 wxString
*arg2
= 0 ;
16197 bool temp2
= false ;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 PyObject
* obj2
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self",(char *) "key",(char *) "value", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 arg2
= wxString_in_helper(obj1
);
16210 if (arg2
== NULL
) SWIG_fail
;
16213 arg3
= (bool)SWIG_As_bool(obj2
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16242 bool arg2
= (bool) false ;
16244 PyObject
* obj0
= 0 ;
16245 PyObject
* obj1
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self",(char *) "currentOnly", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 arg2
= (bool)SWIG_As_bool(obj1
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (bool)(arg1
)->Flush(arg2
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16273 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16276 wxString
*arg2
= 0 ;
16277 wxString
*arg3
= 0 ;
16279 bool temp2
= false ;
16280 bool temp3
= false ;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 PyObject
* obj2
= 0 ;
16284 char *kwnames
[] = {
16285 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 arg2
= wxString_in_helper(obj1
);
16293 if (arg2
== NULL
) SWIG_fail
;
16297 arg3
= wxString_in_helper(obj2
);
16298 if (arg3
== NULL
) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16333 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16336 wxString
*arg2
= 0 ;
16337 wxString
*arg3
= 0 ;
16339 bool temp2
= false ;
16340 bool temp3
= false ;
16341 PyObject
* obj0
= 0 ;
16342 PyObject
* obj1
= 0 ;
16343 PyObject
* obj2
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16352 arg2
= wxString_in_helper(obj1
);
16353 if (arg2
== NULL
) SWIG_fail
;
16357 arg3
= wxString_in_helper(obj2
);
16358 if (arg3
== NULL
) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16393 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16396 wxString
*arg2
= 0 ;
16397 bool arg3
= (bool) true ;
16399 bool temp2
= false ;
16400 PyObject
* obj0
= 0 ;
16401 PyObject
* obj1
= 0 ;
16402 PyObject
* obj2
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16411 arg2
= wxString_in_helper(obj1
);
16412 if (arg2
== NULL
) SWIG_fail
;
16416 arg3
= (bool)SWIG_As_bool(obj2
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16443 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16446 wxString
*arg2
= 0 ;
16448 bool temp2
= false ;
16449 PyObject
* obj0
= 0 ;
16450 PyObject
* obj1
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self",(char *) "key", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16459 arg2
= wxString_in_helper(obj1
);
16460 if (arg2
== NULL
) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16487 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (bool)(arg1
)->DeleteAll();
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16515 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16518 bool arg2
= (bool) true ;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self",(char *) "doIt", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 arg2
= (bool)SWIG_As_bool(obj1
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 (arg1
)->SetExpandEnvVars(arg2
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 Py_INCREF(Py_None
); resultobj
= Py_None
;
16546 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16574 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16577 bool arg2
= (bool) true ;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self",(char *) "doIt", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16588 arg2
= (bool)SWIG_As_bool(obj1
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 (arg1
)->SetRecordDefaults(arg2
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 Py_INCREF(Py_None
); resultobj
= Py_None
;
16605 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16633 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16636 wxString
*arg2
= 0 ;
16638 bool temp2
= false ;
16639 PyObject
* obj0
= 0 ;
16640 PyObject
* obj1
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self",(char *) "str", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 arg2
= wxString_in_helper(obj1
);
16650 if (arg2
== NULL
) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16681 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16685 PyObject
* obj0
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16713 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16717 PyObject
* obj0
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "self", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16745 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16748 wxString
*arg2
= 0 ;
16749 bool temp2
= false ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self",(char *) "appName", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 arg2
= wxString_in_helper(obj1
);
16761 if (arg2
== NULL
) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 (arg1
)->SetAppName((wxString
const &)*arg2
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16786 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16789 wxString
*arg2
= 0 ;
16790 bool temp2
= false ;
16791 PyObject
* obj0
= 0 ;
16792 PyObject
* obj1
= 0 ;
16793 char *kwnames
[] = {
16794 (char *) "self",(char *) "vendorName", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16801 arg2
= wxString_in_helper(obj1
);
16802 if (arg2
== NULL
) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 Py_INCREF(Py_None
); resultobj
= Py_None
;
16827 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 char *kwnames
[] = {
16834 (char *) "self",(char *) "style", NULL
16837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16840 arg2
= (long)SWIG_As_long(obj1
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 (arg1
)->SetStyle(arg2
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 Py_INCREF(Py_None
); resultobj
= Py_None
;
16856 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16860 PyObject
* obj0
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_From_long((long)result
);
16882 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16885 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16887 return Py_BuildValue((char *)"");
16889 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16892 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16893 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16894 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16895 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16896 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16897 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16898 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16899 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16901 bool temp1
= false ;
16902 bool temp2
= false ;
16903 bool temp3
= false ;
16904 bool temp4
= false ;
16905 PyObject
* obj0
= 0 ;
16906 PyObject
* obj1
= 0 ;
16907 PyObject
* obj2
= 0 ;
16908 PyObject
* obj3
= 0 ;
16909 PyObject
* obj4
= 0 ;
16910 char *kwnames
[] = {
16911 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16917 arg1
= wxString_in_helper(obj0
);
16918 if (arg1
== NULL
) SWIG_fail
;
16924 arg2
= wxString_in_helper(obj1
);
16925 if (arg2
== NULL
) SWIG_fail
;
16931 arg3
= wxString_in_helper(obj2
);
16932 if (arg3
== NULL
) SWIG_fail
;
16938 arg4
= wxString_in_helper(obj3
);
16939 if (arg4
== NULL
) SWIG_fail
;
16944 arg5
= (long)SWIG_As_long(obj4
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16993 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxConfig
*arg1
= (wxConfig
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
17002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
17003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17011 Py_INCREF(Py_None
); resultobj
= Py_None
;
17018 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
17020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17021 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
17023 return Py_BuildValue((char *)"");
17025 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
;
17027 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17028 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17029 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17030 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17031 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17032 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17033 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17034 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17035 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
17036 wxFileConfig
*result
;
17037 bool temp1
= false ;
17038 bool temp2
= false ;
17039 bool temp3
= false ;
17040 bool temp4
= false ;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 PyObject
* obj2
= 0 ;
17044 PyObject
* obj3
= 0 ;
17045 PyObject
* obj4
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17053 arg1
= wxString_in_helper(obj0
);
17054 if (arg1
== NULL
) SWIG_fail
;
17060 arg2
= wxString_in_helper(obj1
);
17061 if (arg2
== NULL
) SWIG_fail
;
17067 arg3
= wxString_in_helper(obj2
);
17068 if (arg3
== NULL
) SWIG_fail
;
17074 arg4
= wxString_in_helper(obj3
);
17075 if (arg4
== NULL
) SWIG_fail
;
17080 arg5
= (long)SWIG_As_long(obj4
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
17129 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
;
17131 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
17138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
17139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17147 Py_INCREF(Py_None
); resultobj
= Py_None
;
17154 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
17156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17157 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
17159 return Py_BuildValue((char *)"");
17161 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17164 wxString
*arg2
= 0 ;
17165 wxConfigPathChanger
*result
;
17166 bool temp2
= false ;
17167 PyObject
* obj0
= 0 ;
17168 PyObject
* obj1
= 0 ;
17169 char *kwnames
[] = {
17170 (char *) "config",(char *) "entry", NULL
17173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
17174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
17175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17177 arg2
= wxString_in_helper(obj1
);
17178 if (arg2
== NULL
) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
17203 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17206 PyObject
* obj0
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "self", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
17212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 Py_INCREF(Py_None
); resultobj
= Py_None
;
17228 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
17238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
17244 result
= (wxString
*) &_result_ref
;
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17254 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17263 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17266 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17268 return Py_BuildValue((char *)"");
17270 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxString
*arg1
= 0 ;
17274 bool temp1
= false ;
17275 PyObject
* obj0
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "sz", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17282 arg1
= wxString_in_helper(obj0
);
17283 if (arg1
== NULL
) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17314 static int _wrap_DateFormatStr_set(PyObject
*) {
17315 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17320 static PyObject
*_wrap_DateFormatStr_get() {
17325 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17327 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17334 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17335 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17340 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17345 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17347 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17354 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17357 PyObject
* obj0
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "country", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17363 arg1
= (int)SWIG_As_int(obj0
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 Py_INCREF(Py_None
); resultobj
= Py_None
;
17379 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17382 char *kwnames
[] = {
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= (int)wxDateTime::GetCountry();
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= SWIG_From_int((int)result
);
17401 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 int arg1
= (int) wxDateTime::Country_Default
;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "country", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17412 arg1
= (int)SWIG_As_int(obj0
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17431 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 int arg1
= (int) wxDateTime::Gregorian
;
17435 PyObject
* obj0
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "cal", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17442 arg1
= (int)SWIG_As_int(obj0
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17447 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= SWIG_From_int((int)result
);
17459 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
;
17463 PyObject
* obj0
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "year", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17469 arg1
= (int)SWIG_As_int(obj0
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_From_int((int)result
);
17485 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 int arg1
= (int) wxDateTime::Gregorian
;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "cal", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17496 arg1
= (int)SWIG_As_int(obj0
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= SWIG_From_int((int)result
);
17513 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 int arg1
= (int) wxDateTime::Inv_Year
;
17516 int arg2
= (int) wxDateTime::Gregorian
;
17518 PyObject
* obj0
= 0 ;
17519 PyObject
* obj1
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "year",(char *) "cal", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17526 arg1
= (int)SWIG_As_int(obj0
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 arg2
= (int)SWIG_As_int(obj1
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17549 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
;
17551 int arg1
= (int) wxDateTime::Inv_Year
;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "year", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17560 arg1
= (int)SWIG_As_int(obj0
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (int)wxDateTime::GetCentury(arg1
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_From_int((int)result
);
17577 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17580 int arg2
= (int) wxDateTime::Gregorian
;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "year",(char *) "cal", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17589 arg1
= (int)SWIG_As_int(obj0
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 arg2
= (int)SWIG_As_int(obj1
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_From_int((int)result
);
17609 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17612 int arg2
= (int) wxDateTime::Inv_Year
;
17613 int arg3
= (int) wxDateTime::Gregorian
;
17615 PyObject
* obj0
= 0 ;
17616 PyObject
* obj1
= 0 ;
17617 PyObject
* obj2
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "month",(char *) "year",(char *) "cal", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17623 arg1
= (int)SWIG_As_int(obj0
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 arg2
= (int)SWIG_As_int(obj1
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17630 arg3
= (int)SWIG_As_int(obj2
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 resultobj
= SWIG_From_int((int)result
);
17647 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17650 int arg2
= (int) wxDateTime::Name_Full
;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "month",(char *) "flags", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17659 arg1
= (int)SWIG_As_int(obj0
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 arg2
= (int)SWIG_As_int(obj1
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17685 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17688 int arg2
= (int) wxDateTime::Name_Full
;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "weekday",(char *) "flags", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17697 arg1
= (int)SWIG_As_int(obj0
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 arg2
= (int)SWIG_As_int(obj1
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17723 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxString
*arg1
= (wxString
*) 0 ;
17726 wxString
*arg2
= (wxString
*) 0 ;
17727 bool temp1
= false ;
17728 bool temp2
= false ;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17737 arg1
= wxString_in_helper(obj0
);
17738 if (arg1
== NULL
) SWIG_fail
;
17742 arg2
= wxString_in_helper(obj1
);
17743 if (arg2
== NULL
) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 Py_INCREF(Py_None
); resultobj
= Py_None
;
17776 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 int arg1
= (int) wxDateTime::Inv_Year
;
17779 int arg2
= (int) wxDateTime::Country_Default
;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "year",(char *) "country", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17789 arg1
= (int)SWIG_As_int(obj0
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17793 arg2
= (int)SWIG_As_int(obj1
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17812 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 int arg1
= (int) wxDateTime::Inv_Year
;
17815 int arg2
= (int) wxDateTime::Country_Default
;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "year",(char *) "country", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17825 arg1
= (int)SWIG_As_int(obj0
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17829 arg2
= (int)SWIG_As_int(obj1
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 wxDateTime
* resultptr
;
17841 resultptr
= new wxDateTime((wxDateTime
&) result
);
17842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17850 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 int arg1
= (int) wxDateTime::Inv_Year
;
17853 int arg2
= (int) wxDateTime::Country_Default
;
17855 PyObject
* obj0
= 0 ;
17856 PyObject
* obj1
= 0 ;
17857 char *kwnames
[] = {
17858 (char *) "year",(char *) "country", NULL
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17863 arg1
= (int)SWIG_As_int(obj0
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 arg2
= (int)SWIG_As_int(obj1
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 wxDateTime
* resultptr
;
17879 resultptr
= new wxDateTime((wxDateTime
&) result
);
17880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17888 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17891 char *kwnames
[] = {
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= wxDateTime::Now();
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 wxDateTime
* resultptr
;
17905 resultptr
= new wxDateTime((wxDateTime
&) result
);
17906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17914 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17917 char *kwnames
[] = {
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 result
= wxDateTime::UNow();
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17930 wxDateTime
* resultptr
;
17931 resultptr
= new wxDateTime((wxDateTime
&) result
);
17932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17940 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17943 char *kwnames
[] = {
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= wxDateTime::Today();
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17956 wxDateTime
* resultptr
;
17957 resultptr
= new wxDateTime((wxDateTime
&) result
);
17958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17966 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
;
17968 wxDateTime
*result
;
17969 char *kwnames
[] = {
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= (wxDateTime
*)new wxDateTime();
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17988 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17991 wxDateTime
*result
;
17992 PyObject
* obj0
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "timet", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17998 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (wxDateTime
*)new wxDateTime(arg1
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18014 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18017 wxDateTime
*result
;
18018 PyObject
* obj0
= 0 ;
18019 char *kwnames
[] = {
18020 (char *) "jdn", NULL
18023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
18024 arg1
= (double)SWIG_As_double(obj0
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 result
= (wxDateTime
*)new wxDateTime(arg1
);
18030 wxPyEndAllowThreads(__tstate
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18040 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18043 int arg2
= (int) 0 ;
18044 int arg3
= (int) 0 ;
18045 int arg4
= (int) 0 ;
18046 wxDateTime
*result
;
18047 PyObject
* obj0
= 0 ;
18048 PyObject
* obj1
= 0 ;
18049 PyObject
* obj2
= 0 ;
18050 PyObject
* obj3
= 0 ;
18051 char *kwnames
[] = {
18052 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18056 arg1
= (int)SWIG_As_int(obj0
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 arg2
= (int)SWIG_As_int(obj1
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18063 arg3
= (int)SWIG_As_int(obj2
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18067 arg4
= (int)SWIG_As_int(obj3
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18084 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18087 int arg2
= (int) wxDateTime::Inv_Month
;
18088 int arg3
= (int) wxDateTime::Inv_Year
;
18089 int arg4
= (int) 0 ;
18090 int arg5
= (int) 0 ;
18091 int arg6
= (int) 0 ;
18092 int arg7
= (int) 0 ;
18093 wxDateTime
*result
;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 PyObject
* obj2
= 0 ;
18097 PyObject
* obj3
= 0 ;
18098 PyObject
* obj4
= 0 ;
18099 PyObject
* obj5
= 0 ;
18100 PyObject
* obj6
= 0 ;
18101 char *kwnames
[] = {
18102 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18106 arg1
= (int)SWIG_As_int(obj0
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 arg2
= (int)SWIG_As_int(obj1
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 arg3
= (int)SWIG_As_int(obj2
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 arg4
= (int)SWIG_As_int(obj3
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18121 arg5
= (int)SWIG_As_int(obj4
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 arg6
= (int)SWIG_As_int(obj5
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18129 arg7
= (int)SWIG_As_int(obj6
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18146 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18174 wxDateTime
*result
;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
18187 result
= (wxDateTime
*) &_result_ref
;
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18200 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18204 wxDateTime
*result
;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj1
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self",(char *) "timet", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
18212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18214 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18220 result
= (wxDateTime
*) &_result_ref
;
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18233 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18237 wxDateTime
*result
;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self",(char *) "jdn", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
18245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18247 arg2
= (double)SWIG_As_double(obj1
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18253 result
= (wxDateTime
*) &_result_ref
;
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18266 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18270 int arg3
= (int) 0 ;
18271 int arg4
= (int) 0 ;
18272 int arg5
= (int) 0 ;
18273 wxDateTime
*result
;
18274 PyObject
* obj0
= 0 ;
18275 PyObject
* obj1
= 0 ;
18276 PyObject
* obj2
= 0 ;
18277 PyObject
* obj3
= 0 ;
18278 PyObject
* obj4
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18286 arg2
= (int)SWIG_As_int(obj1
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 arg3
= (int)SWIG_As_int(obj2
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 arg4
= (int)SWIG_As_int(obj3
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 arg5
= (int)SWIG_As_int(obj4
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18304 result
= (wxDateTime
*) &_result_ref
;
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18317 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18321 int arg3
= (int) wxDateTime::Inv_Month
;
18322 int arg4
= (int) wxDateTime::Inv_Year
;
18323 int arg5
= (int) 0 ;
18324 int arg6
= (int) 0 ;
18325 int arg7
= (int) 0 ;
18326 int arg8
= (int) 0 ;
18327 wxDateTime
*result
;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 PyObject
* obj2
= 0 ;
18331 PyObject
* obj3
= 0 ;
18332 PyObject
* obj4
= 0 ;
18333 PyObject
* obj5
= 0 ;
18334 PyObject
* obj6
= 0 ;
18335 PyObject
* obj7
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18343 arg2
= (int)SWIG_As_int(obj1
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 arg3
= (int)SWIG_As_int(obj2
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18350 arg4
= (int)SWIG_As_int(obj3
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18354 arg5
= (int)SWIG_As_int(obj4
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18358 arg6
= (int)SWIG_As_int(obj5
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18362 arg7
= (int)SWIG_As_int(obj6
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18366 arg8
= (int)SWIG_As_int(obj7
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18373 result
= (wxDateTime
*) &_result_ref
;
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18386 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18389 wxDateTime
*result
;
18390 PyObject
* obj0
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18402 result
= (wxDateTime
*) &_result_ref
;
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18415 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
;
18417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18419 wxDateTime
*result
;
18420 PyObject
* obj0
= 0 ;
18421 PyObject
* obj1
= 0 ;
18422 char *kwnames
[] = {
18423 (char *) "self",(char *) "year", NULL
18426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18429 arg2
= (int)SWIG_As_int(obj1
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18435 result
= (wxDateTime
*) &_result_ref
;
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18448 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18452 wxDateTime
*result
;
18453 PyObject
* obj0
= 0 ;
18454 PyObject
* obj1
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self",(char *) "month", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18462 arg2
= (int)SWIG_As_int(obj1
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18468 result
= (wxDateTime
*) &_result_ref
;
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18481 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18485 wxDateTime
*result
;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self",(char *) "day", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 arg2
= (int)SWIG_As_int(obj1
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18501 result
= (wxDateTime
*) &_result_ref
;
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18514 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18518 wxDateTime
*result
;
18519 PyObject
* obj0
= 0 ;
18520 PyObject
* obj1
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self",(char *) "hour", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18528 arg2
= (int)SWIG_As_int(obj1
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18534 result
= (wxDateTime
*) &_result_ref
;
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18547 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18551 wxDateTime
*result
;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "minute", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18561 arg2
= (int)SWIG_As_int(obj1
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18567 result
= (wxDateTime
*) &_result_ref
;
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18580 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18584 wxDateTime
*result
;
18585 PyObject
* obj0
= 0 ;
18586 PyObject
* obj1
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self",(char *) "second", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18594 arg2
= (int)SWIG_As_int(obj1
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18600 result
= (wxDateTime
*) &_result_ref
;
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18613 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18617 wxDateTime
*result
;
18618 PyObject
* obj0
= 0 ;
18619 PyObject
* obj1
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self",(char *) "millisecond", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18627 arg2
= (int)SWIG_As_int(obj1
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18633 result
= (wxDateTime
*) &_result_ref
;
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18646 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
;
18648 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18650 int arg3
= (int) wxDateTime::Monday_First
;
18651 wxDateTime
*result
;
18652 PyObject
* obj0
= 0 ;
18653 PyObject
* obj1
= 0 ;
18654 PyObject
* obj2
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 arg2
= (int)SWIG_As_int(obj1
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 arg3
= (int)SWIG_As_int(obj2
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18672 result
= (wxDateTime
*) &_result_ref
;
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18685 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
;
18687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18689 int arg3
= (int) wxDateTime::Monday_First
;
18691 PyObject
* obj0
= 0 ;
18692 PyObject
* obj1
= 0 ;
18693 PyObject
* obj2
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18701 arg2
= (int)SWIG_As_int(obj1
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 arg3
= (int)SWIG_As_int(obj2
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18715 wxDateTime
* resultptr
;
18716 resultptr
= new wxDateTime((wxDateTime
&) result
);
18717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18725 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18729 wxDateTime
*result
;
18730 PyObject
* obj0
= 0 ;
18731 PyObject
* obj1
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self",(char *) "weekday", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18739 arg2
= (int)SWIG_As_int(obj1
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18745 result
= (wxDateTime
*) &_result_ref
;
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18758 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self",(char *) "weekday", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18772 arg2
= (int)SWIG_As_int(obj1
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18782 wxDateTime
* resultptr
;
18783 resultptr
= new wxDateTime((wxDateTime
&) result
);
18784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18792 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
;
18794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18796 wxDateTime
*result
;
18797 PyObject
* obj0
= 0 ;
18798 PyObject
* obj1
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self",(char *) "weekday", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18806 arg2
= (int)SWIG_As_int(obj1
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18812 result
= (wxDateTime
*) &_result_ref
;
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18825 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
;
18827 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18830 PyObject
* obj0
= 0 ;
18831 PyObject
* obj1
= 0 ;
18832 char *kwnames
[] = {
18833 (char *) "self",(char *) "weekday", NULL
18836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18839 arg2
= (int)SWIG_As_int(obj1
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18849 wxDateTime
* resultptr
;
18850 resultptr
= new wxDateTime((wxDateTime
&) result
);
18851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18859 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18863 int arg3
= (int) 1 ;
18864 int arg4
= (int) wxDateTime::Inv_Month
;
18865 int arg5
= (int) wxDateTime::Inv_Year
;
18867 PyObject
* obj0
= 0 ;
18868 PyObject
* obj1
= 0 ;
18869 PyObject
* obj2
= 0 ;
18870 PyObject
* obj3
= 0 ;
18871 PyObject
* obj4
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18879 arg2
= (int)SWIG_As_int(obj1
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 arg3
= (int)SWIG_As_int(obj2
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18886 arg4
= (int)SWIG_As_int(obj3
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18890 arg5
= (int)SWIG_As_int(obj4
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18909 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18913 int arg3
= (int) wxDateTime::Inv_Month
;
18914 int arg4
= (int) wxDateTime::Inv_Year
;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 PyObject
* obj2
= 0 ;
18919 PyObject
* obj3
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18927 arg2
= (int)SWIG_As_int(obj1
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 arg3
= (int)SWIG_As_int(obj2
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18934 arg4
= (int)SWIG_As_int(obj3
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18953 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18957 int arg3
= (int) wxDateTime::Inv_Month
;
18958 int arg4
= (int) wxDateTime::Inv_Year
;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 PyObject
* obj2
= 0 ;
18963 PyObject
* obj3
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 arg2
= (int)SWIG_As_int(obj1
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 arg3
= (int)SWIG_As_int(obj2
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18978 arg4
= (int)SWIG_As_int(obj3
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18989 wxDateTime
* resultptr
;
18990 resultptr
= new wxDateTime((wxDateTime
&) result
);
18991 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18999 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19003 int arg3
= (int) wxDateTime::Mon
;
19004 int arg4
= (int) wxDateTime::Monday_First
;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 PyObject
* obj2
= 0 ;
19009 PyObject
* obj3
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19017 arg2
= (int)SWIG_As_int(obj1
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 arg3
= (int)SWIG_As_int(obj2
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19024 arg4
= (int)SWIG_As_int(obj3
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19043 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19047 int arg3
= (int) wxDateTime::Mon
;
19048 int arg4
= (int) wxDateTime::Monday_First
;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 PyObject
* obj2
= 0 ;
19053 PyObject
* obj3
= 0 ;
19054 char *kwnames
[] = {
19055 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19061 arg2
= (int)SWIG_As_int(obj1
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 arg3
= (int)SWIG_As_int(obj2
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19068 arg4
= (int)SWIG_As_int(obj3
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19079 wxDateTime
* resultptr
;
19080 resultptr
= new wxDateTime((wxDateTime
&) result
);
19081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19089 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
;
19093 int arg3
= (int) wxDateTime::Mon
;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 PyObject
* obj2
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19103 arg1
= (int)SWIG_As_int(obj0
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19105 arg2
= (int)SWIG_As_int(obj1
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 arg3
= (int)SWIG_As_int(obj2
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19119 wxDateTime
* resultptr
;
19120 resultptr
= new wxDateTime((wxDateTime
&) result
);
19121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19129 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19132 int arg2
= (int) wxDateTime::Inv_Month
;
19133 int arg3
= (int) wxDateTime::Inv_Year
;
19134 wxDateTime
*result
;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 PyObject
* obj2
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self",(char *) "month",(char *) "year", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19146 arg2
= (int)SWIG_As_int(obj1
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19150 arg3
= (int)SWIG_As_int(obj2
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19157 result
= (wxDateTime
*) &_result_ref
;
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19170 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19173 int arg2
= (int) wxDateTime::Inv_Month
;
19174 int arg3
= (int) wxDateTime::Inv_Year
;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 PyObject
* obj2
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "month",(char *) "year", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19187 arg2
= (int)SWIG_As_int(obj1
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19191 arg3
= (int)SWIG_As_int(obj2
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19202 wxDateTime
* resultptr
;
19203 resultptr
= new wxDateTime((wxDateTime
&) result
);
19204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19212 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19216 wxDateTime
*result
;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self",(char *) "yday", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 arg2
= (int)SWIG_As_int(obj1
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
19232 result
= (wxDateTime
*) &_result_ref
;
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19245 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 PyObject
* obj1
= 0 ;
19252 char *kwnames
[] = {
19253 (char *) "self",(char *) "yday", NULL
19256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 arg2
= (int)SWIG_As_int(obj1
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (arg1
)->GetYearDay(arg2
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19269 wxDateTime
* resultptr
;
19270 resultptr
= new wxDateTime((wxDateTime
&) result
);
19271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19279 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19283 PyObject
* obj0
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "self", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (double)(arg1
)->GetJulianDayNumber();
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= SWIG_From_double((double)result
);
19305 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= (double)(arg1
)->GetJDN();
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= SWIG_From_double((double)result
);
19331 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19335 PyObject
* obj0
= 0 ;
19336 char *kwnames
[] = {
19337 (char *) "self", NULL
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_From_double((double)result
);
19357 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19361 PyObject
* obj0
= 0 ;
19362 char *kwnames
[] = {
19363 (char *) "self", NULL
19366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 result
= (double)(arg1
)->GetMJD();
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= SWIG_From_double((double)result
);
19383 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= (double)(arg1
)->GetRataDie();
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= SWIG_From_double((double)result
);
19409 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19412 wxDateTime::TimeZone
*arg2
= 0 ;
19413 bool arg3
= (bool) false ;
19415 bool temp2
= false ;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 PyObject
* obj2
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19427 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19431 arg3
= (bool)SWIG_As_bool(obj2
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19442 wxDateTime
* resultptr
;
19443 resultptr
= new wxDateTime((wxDateTime
&) result
);
19444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19447 if (temp2
) delete arg2
;
19452 if (temp2
) delete arg2
;
19458 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19461 wxDateTime::TimeZone
*arg2
= 0 ;
19462 bool arg3
= (bool) false ;
19463 wxDateTime
*result
;
19464 bool temp2
= false ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 PyObject
* obj2
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19476 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19480 arg3
= (bool)SWIG_As_bool(obj2
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19487 result
= (wxDateTime
*) &_result_ref
;
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19495 if (temp2
) delete arg2
;
19500 if (temp2
) delete arg2
;
19506 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19507 PyObject
*resultobj
;
19508 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19509 bool arg2
= (bool) false ;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self",(char *) "noDST", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19521 arg2
= (bool)SWIG_As_bool(obj1
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (arg1
)->ToGMT(arg2
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19532 wxDateTime
* resultptr
;
19533 resultptr
= new wxDateTime((wxDateTime
&) result
);
19534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19542 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19545 bool arg2
= (bool) false ;
19546 wxDateTime
*result
;
19547 PyObject
* obj0
= 0 ;
19548 PyObject
* obj1
= 0 ;
19549 char *kwnames
[] = {
19550 (char *) "self",(char *) "noDST", NULL
19553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19557 arg2
= (bool)SWIG_As_bool(obj1
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19564 result
= (wxDateTime
*) &_result_ref
;
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19577 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
;
19579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19580 int arg2
= (int) wxDateTime::Country_Default
;
19582 PyObject
* obj0
= 0 ;
19583 PyObject
* obj1
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "self",(char *) "country", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19592 arg2
= (int)SWIG_As_int(obj1
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_From_int((int)result
);
19609 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 char *kwnames
[] = {
19615 (char *) "self", NULL
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19637 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19663 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19666 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19667 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19669 bool temp2
= false ;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self",(char *) "tz", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19681 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= SWIG_From_int((int)result
);
19694 if (temp2
) delete arg2
;
19699 if (temp2
) delete arg2
;
19705 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19708 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19709 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19711 bool temp2
= false ;
19712 PyObject
* obj0
= 0 ;
19713 PyObject
* obj1
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self",(char *) "tz", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19723 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= SWIG_From_int((int)result
);
19736 if (temp2
) delete arg2
;
19741 if (temp2
) delete arg2
;
19747 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
;
19749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19750 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19751 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19753 bool temp2
= false ;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self",(char *) "tz", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19765 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 resultobj
= SWIG_From_int((int)result
);
19778 if (temp2
) delete arg2
;
19783 if (temp2
) delete arg2
;
19789 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
;
19791 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19792 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19793 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19795 bool temp2
= false ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self",(char *) "tz", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= SWIG_From_int((int)result
);
19820 if (temp2
) delete arg2
;
19825 if (temp2
) delete arg2
;
19831 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19834 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19835 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19837 bool temp2
= false ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self",(char *) "tz", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19849 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_From_int((int)result
);
19862 if (temp2
) delete arg2
;
19867 if (temp2
) delete arg2
;
19873 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19876 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19877 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19879 bool temp2
= false ;
19880 PyObject
* obj0
= 0 ;
19881 PyObject
* obj1
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self",(char *) "tz", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19891 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= SWIG_From_int((int)result
);
19904 if (temp2
) delete arg2
;
19909 if (temp2
) delete arg2
;
19915 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19918 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19919 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19921 bool temp2
= false ;
19922 PyObject
* obj0
= 0 ;
19923 PyObject
* obj1
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self",(char *) "tz", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= SWIG_From_int((int)result
);
19946 if (temp2
) delete arg2
;
19951 if (temp2
) delete arg2
;
19957 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19960 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19961 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19963 bool temp2
= false ;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self",(char *) "tz", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19975 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= SWIG_From_int((int)result
);
19988 if (temp2
) delete arg2
;
19993 if (temp2
) delete arg2
;
19999 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20002 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
20003 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
20005 bool temp2
= false ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self",(char *) "tz", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20017 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_From_int((int)result
);
20030 if (temp2
) delete arg2
;
20035 if (temp2
) delete arg2
;
20041 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20042 PyObject
*resultobj
;
20043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20044 int arg2
= (int) wxDateTime::Monday_First
;
20045 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20046 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20048 bool temp3
= false ;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 PyObject
* obj2
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self",(char *) "flags",(char *) "tz", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20060 arg2
= (int)SWIG_As_int(obj1
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20065 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= SWIG_From_int((int)result
);
20078 if (temp3
) delete arg3
;
20083 if (temp3
) delete arg3
;
20089 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20092 int arg2
= (int) wxDateTime::Monday_First
;
20093 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20094 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20096 bool temp3
= false ;
20097 PyObject
* obj0
= 0 ;
20098 PyObject
* obj1
= 0 ;
20099 PyObject
* obj2
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self",(char *) "flags",(char *) "tz", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20108 arg2
= (int)SWIG_As_int(obj1
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20113 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_From_int((int)result
);
20126 if (temp3
) delete arg3
;
20131 if (temp3
) delete arg3
;
20137 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20140 int arg2
= (int) wxDateTime::Country_Default
;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self",(char *) "country", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20152 arg2
= (int)SWIG_As_int(obj1
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20171 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20174 wxDateTime
*arg2
= 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self",(char *) "datetime", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20186 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20188 if (arg2
== NULL
) {
20189 PyErr_SetString(PyExc_TypeError
,"null reference");
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20208 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20211 wxDateTime
*arg2
= 0 ;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 char *kwnames
[] = {
20216 (char *) "self",(char *) "datetime", NULL
20219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20225 if (arg2
== NULL
) {
20226 PyErr_SetString(PyExc_TypeError
,"null reference");
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20245 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20248 wxDateTime
*arg2
= 0 ;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "self",(char *) "datetime", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20262 if (arg2
== NULL
) {
20263 PyErr_SetString(PyExc_TypeError
,"null reference");
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20282 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20283 PyObject
*resultobj
;
20284 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20285 wxDateTime
*arg2
= 0 ;
20286 wxDateTime
*arg3
= 0 ;
20288 PyObject
* obj0
= 0 ;
20289 PyObject
* obj1
= 0 ;
20290 PyObject
* obj2
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self",(char *) "t1",(char *) "t2", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20301 if (arg2
== NULL
) {
20302 PyErr_SetString(PyExc_TypeError
,"null reference");
20305 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20308 if (arg3
== NULL
) {
20309 PyErr_SetString(PyExc_TypeError
,"null reference");
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20328 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
;
20330 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20331 wxDateTime
*arg2
= 0 ;
20332 wxDateTime
*arg3
= 0 ;
20334 PyObject
* obj0
= 0 ;
20335 PyObject
* obj1
= 0 ;
20336 PyObject
* obj2
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self",(char *) "t1",(char *) "t2", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20347 if (arg2
== NULL
) {
20348 PyErr_SetString(PyExc_TypeError
,"null reference");
20351 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20354 if (arg3
== NULL
) {
20355 PyErr_SetString(PyExc_TypeError
,"null reference");
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20374 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
;
20376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20377 wxDateTime
*arg2
= 0 ;
20379 PyObject
* obj0
= 0 ;
20380 PyObject
* obj1
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self",(char *) "dt", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20391 if (arg2
== NULL
) {
20392 PyErr_SetString(PyExc_TypeError
,"null reference");
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20411 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20414 wxDateTime
*arg2
= 0 ;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self",(char *) "dt", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20428 if (arg2
== NULL
) {
20429 PyErr_SetString(PyExc_TypeError
,"null reference");
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20448 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20451 wxDateTime
*arg2
= 0 ;
20452 wxTimeSpan
*arg3
= 0 ;
20454 PyObject
* obj0
= 0 ;
20455 PyObject
* obj1
= 0 ;
20456 PyObject
* obj2
= 0 ;
20457 char *kwnames
[] = {
20458 (char *) "self",(char *) "dt",(char *) "ts", NULL
20461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20467 if (arg2
== NULL
) {
20468 PyErr_SetString(PyExc_TypeError
,"null reference");
20471 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20474 if (arg3
== NULL
) {
20475 PyErr_SetString(PyExc_TypeError
,"null reference");
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20494 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20497 wxTimeSpan
*arg2
= 0 ;
20498 wxDateTime
*result
;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self",(char *) "diff", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20511 if (arg2
== NULL
) {
20512 PyErr_SetString(PyExc_TypeError
,"null reference");
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20519 result
= (wxDateTime
*) &_result_ref
;
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20532 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20535 wxDateSpan
*arg2
= 0 ;
20536 wxDateTime
*result
;
20537 PyObject
* obj0
= 0 ;
20538 PyObject
* obj1
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self",(char *) "diff", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20549 if (arg2
== NULL
) {
20550 PyErr_SetString(PyExc_TypeError
,"null reference");
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20557 result
= (wxDateTime
*) &_result_ref
;
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20570 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20573 wxTimeSpan
*arg2
= 0 ;
20574 wxDateTime
*result
;
20575 PyObject
* obj0
= 0 ;
20576 PyObject
* obj1
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "self",(char *) "diff", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20587 if (arg2
== NULL
) {
20588 PyErr_SetString(PyExc_TypeError
,"null reference");
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20595 result
= (wxDateTime
*) &_result_ref
;
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20608 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20609 PyObject
*resultobj
;
20610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20611 wxDateSpan
*arg2
= 0 ;
20612 wxDateTime
*result
;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self",(char *) "diff", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20625 if (arg2
== NULL
) {
20626 PyErr_SetString(PyExc_TypeError
,"null reference");
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20633 result
= (wxDateTime
*) &_result_ref
;
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20646 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20649 wxDateTime
*arg2
= 0 ;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self",(char *) "dt", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20663 if (arg2
== NULL
) {
20664 PyErr_SetString(PyExc_TypeError
,"null reference");
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20675 wxTimeSpan
* resultptr
;
20676 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20685 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20686 PyObject
*resultobj
;
20687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20688 wxTimeSpan
*arg2
= 0 ;
20689 wxDateTime
*result
;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20693 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20695 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20699 if (arg2
== NULL
) {
20700 PyErr_SetString(PyExc_TypeError
,"null reference");
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20707 result
= (wxDateTime
*) &_result_ref
;
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20720 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20721 PyObject
*resultobj
;
20722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20723 wxDateSpan
*arg2
= 0 ;
20724 wxDateTime
*result
;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20728 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20730 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20734 if (arg2
== NULL
) {
20735 PyErr_SetString(PyExc_TypeError
,"null reference");
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20742 result
= (wxDateTime
*) &_result_ref
;
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20755 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20760 argc
= PyObject_Length(args
);
20761 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20762 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20768 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20778 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20786 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20794 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20804 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20812 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20817 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20822 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20823 PyObject
*resultobj
;
20824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20825 wxTimeSpan
*arg2
= 0 ;
20826 wxDateTime
*result
;
20827 PyObject
* obj0
= 0 ;
20828 PyObject
* obj1
= 0 ;
20830 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20832 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20836 if (arg2
== NULL
) {
20837 PyErr_SetString(PyExc_TypeError
,"null reference");
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20844 result
= (wxDateTime
*) &_result_ref
;
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20857 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20858 PyObject
*resultobj
;
20859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20860 wxDateSpan
*arg2
= 0 ;
20861 wxDateTime
*result
;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20865 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20867 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20871 if (arg2
== NULL
) {
20872 PyErr_SetString(PyExc_TypeError
,"null reference");
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20879 result
= (wxDateTime
*) &_result_ref
;
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20892 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20897 argc
= PyObject_Length(args
);
20898 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20899 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20905 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20915 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20923 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20931 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20941 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20949 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20954 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20959 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20960 PyObject
*resultobj
;
20961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20962 wxTimeSpan
*arg2
= 0 ;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20967 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20973 if (arg2
== NULL
) {
20974 PyErr_SetString(PyExc_TypeError
,"null reference");
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20985 wxDateTime
* resultptr
;
20986 resultptr
= new wxDateTime((wxDateTime
&) result
);
20987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20995 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20996 PyObject
*resultobj
;
20997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20998 wxDateSpan
*arg2
= 0 ;
21000 PyObject
* obj0
= 0 ;
21001 PyObject
* obj1
= 0 ;
21003 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
21004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21009 if (arg2
== NULL
) {
21010 PyErr_SetString(PyExc_TypeError
,"null reference");
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21021 wxDateTime
* resultptr
;
21022 resultptr
= new wxDateTime((wxDateTime
&) result
);
21023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21031 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
21036 argc
= PyObject_Length(args
);
21037 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21038 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21044 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21054 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21062 return _wrap_DateTime___add____SWIG_0(self
,args
);
21070 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21080 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21088 return _wrap_DateTime___add____SWIG_1(self
,args
);
21093 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
21098 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
21099 PyObject
*resultobj
;
21100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21101 wxDateTime
*arg2
= 0 ;
21103 PyObject
* obj0
= 0 ;
21104 PyObject
* obj1
= 0 ;
21106 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21112 if (arg2
== NULL
) {
21113 PyErr_SetString(PyExc_TypeError
,"null reference");
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21124 wxTimeSpan
* resultptr
;
21125 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21134 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
21135 PyObject
*resultobj
;
21136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21137 wxTimeSpan
*arg2
= 0 ;
21139 PyObject
* obj0
= 0 ;
21140 PyObject
* obj1
= 0 ;
21142 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21148 if (arg2
== NULL
) {
21149 PyErr_SetString(PyExc_TypeError
,"null reference");
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21160 wxDateTime
* resultptr
;
21161 resultptr
= new wxDateTime((wxDateTime
&) result
);
21162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21170 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
21171 PyObject
*resultobj
;
21172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21173 wxDateSpan
*arg2
= 0 ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21178 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21184 if (arg2
== NULL
) {
21185 PyErr_SetString(PyExc_TypeError
,"null reference");
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21196 wxDateTime
* resultptr
;
21197 resultptr
= new wxDateTime((wxDateTime
&) result
);
21198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21206 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
21211 argc
= PyObject_Length(args
);
21212 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21213 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21219 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21229 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21237 return _wrap_DateTime___sub____SWIG_0(self
,args
);
21245 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21255 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21263 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21271 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21281 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21289 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21294 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21299 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21300 PyObject
*resultobj
;
21301 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21302 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21304 PyObject
* obj0
= 0 ;
21305 PyObject
* obj1
= 0 ;
21307 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21328 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21329 PyObject
*resultobj
;
21330 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21331 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21333 PyObject
* obj0
= 0 ;
21334 PyObject
* obj1
= 0 ;
21336 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21357 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21358 PyObject
*resultobj
;
21359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21360 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21362 PyObject
* obj0
= 0 ;
21363 PyObject
* obj1
= 0 ;
21365 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21386 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21387 PyObject
*resultobj
;
21388 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21389 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21394 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21415 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21416 PyObject
*resultobj
;
21417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21418 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21423 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21444 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21445 PyObject
*resultobj
;
21446 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21447 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21452 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21473 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21474 PyObject
*resultobj
;
21475 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21476 wxString
*arg2
= 0 ;
21478 bool temp2
= false ;
21479 PyObject
* obj0
= 0 ;
21480 PyObject
* obj1
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "self",(char *) "date", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21489 arg2
= wxString_in_helper(obj1
);
21490 if (arg2
== NULL
) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_From_int((int)result
);
21515 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
;
21517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21518 wxString
*arg2
= 0 ;
21519 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21521 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21522 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21524 bool temp2
= false ;
21525 bool temp3
= false ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 PyObject
* obj2
= 0 ;
21529 PyObject
* obj3
= 0 ;
21530 char *kwnames
[] = {
21531 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 arg2
= wxString_in_helper(obj1
);
21539 if (arg2
== NULL
) SWIG_fail
;
21544 arg3
= wxString_in_helper(obj2
);
21545 if (arg3
== NULL
) SWIG_fail
;
21550 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21553 if (arg4
== NULL
) {
21554 PyErr_SetString(PyExc_TypeError
,"null reference");
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= SWIG_From_int((int)result
);
21588 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21590 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21591 wxString
*arg2
= 0 ;
21593 bool temp2
= false ;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self",(char *) "datetime", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21604 arg2
= wxString_in_helper(obj1
);
21605 if (arg2
== NULL
) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= SWIG_From_int((int)result
);
21630 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21631 PyObject
*resultobj
;
21632 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21633 wxString
*arg2
= 0 ;
21635 bool temp2
= false ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self",(char *) "date", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21646 arg2
= wxString_in_helper(obj1
);
21647 if (arg2
== NULL
) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= SWIG_From_int((int)result
);
21672 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
;
21674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21675 wxString
*arg2
= 0 ;
21677 bool temp2
= false ;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self",(char *) "time", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21688 arg2
= wxString_in_helper(obj1
);
21689 if (arg2
== NULL
) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= SWIG_From_int((int)result
);
21714 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
;
21716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21717 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21718 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21719 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21720 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21722 bool temp2
= false ;
21723 bool temp3
= false ;
21724 PyObject
* obj0
= 0 ;
21725 PyObject
* obj1
= 0 ;
21726 PyObject
* obj2
= 0 ;
21727 char *kwnames
[] = {
21728 (char *) "self",(char *) "format",(char *) "tz", NULL
21731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21736 arg2
= wxString_in_helper(obj1
);
21737 if (arg2
== NULL
) SWIG_fail
;
21743 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21766 if (temp3
) delete arg3
;
21775 if (temp3
) delete arg3
;
21781 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21785 PyObject
* obj0
= 0 ;
21786 char *kwnames
[] = {
21787 (char *) "self", NULL
21790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21813 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21817 PyObject
* obj0
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21845 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21877 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21881 PyObject
* obj0
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "self", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21909 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21912 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21914 return Py_BuildValue((char *)"");
21916 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21920 PyObject
* obj0
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "sec", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21926 arg1
= (long)SWIG_As_long(obj0
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= wxTimeSpan::Seconds(arg1
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 wxTimeSpan
* resultptr
;
21937 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21946 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21949 char *kwnames
[] = {
21953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= wxTimeSpan::Second();
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21962 wxTimeSpan
* resultptr
;
21963 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21972 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
;
21976 PyObject
* obj0
= 0 ;
21977 char *kwnames
[] = {
21978 (char *) "min", NULL
21981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21982 arg1
= (long)SWIG_As_long(obj0
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 result
= wxTimeSpan::Minutes(arg1
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21992 wxTimeSpan
* resultptr
;
21993 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22002 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
;
22005 char *kwnames
[] = {
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= wxTimeSpan::Minute();
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 wxTimeSpan
* resultptr
;
22019 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22028 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
;
22032 PyObject
* obj0
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "hours", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
22038 arg1
= (long)SWIG_As_long(obj0
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 result
= wxTimeSpan::Hours(arg1
);
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22048 wxTimeSpan
* resultptr
;
22049 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22058 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22061 char *kwnames
[] = {
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 result
= wxTimeSpan::Hour();
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22074 wxTimeSpan
* resultptr
;
22075 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22084 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22088 PyObject
* obj0
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "days", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
22094 arg1
= (long)SWIG_As_long(obj0
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= wxTimeSpan::Days(arg1
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22104 wxTimeSpan
* resultptr
;
22105 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22114 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22117 char *kwnames
[] = {
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= wxTimeSpan::Day();
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22130 wxTimeSpan
* resultptr
;
22131 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22140 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22144 PyObject
* obj0
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "days", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22150 arg1
= (long)SWIG_As_long(obj0
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 result
= wxTimeSpan::Weeks(arg1
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22160 wxTimeSpan
* resultptr
;
22161 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22170 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22173 char *kwnames
[] = {
22177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 result
= wxTimeSpan::Week();
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22186 wxTimeSpan
* resultptr
;
22187 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22196 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
;
22198 long arg1
= (long) 0 ;
22199 long arg2
= (long) 0 ;
22200 long arg3
= (long) 0 ;
22201 long arg4
= (long) 0 ;
22202 wxTimeSpan
*result
;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 PyObject
* obj2
= 0 ;
22206 PyObject
* obj3
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22213 arg1
= (long)SWIG_As_long(obj0
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22217 arg2
= (long)SWIG_As_long(obj1
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 arg3
= (long)SWIG_As_long(obj2
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 arg4
= (long)SWIG_As_long(obj3
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22242 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22243 PyObject
*resultobj
;
22244 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22245 PyObject
* obj0
= 0 ;
22246 char *kwnames
[] = {
22247 (char *) "self", NULL
22250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
22251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 Py_INCREF(Py_None
); resultobj
= Py_None
;
22267 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
;
22269 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22270 wxTimeSpan
*arg2
= 0 ;
22271 wxTimeSpan
*result
;
22272 PyObject
* obj0
= 0 ;
22273 PyObject
* obj1
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self",(char *) "diff", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22284 if (arg2
== NULL
) {
22285 PyErr_SetString(PyExc_TypeError
,"null reference");
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22292 result
= (wxTimeSpan
*) &_result_ref
;
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22305 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22308 wxTimeSpan
*arg2
= 0 ;
22309 wxTimeSpan
*result
;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self",(char *) "diff", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22322 if (arg2
== NULL
) {
22323 PyErr_SetString(PyExc_TypeError
,"null reference");
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22330 result
= (wxTimeSpan
*) &_result_ref
;
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22343 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22347 wxTimeSpan
*result
;
22348 PyObject
* obj0
= 0 ;
22349 PyObject
* obj1
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self",(char *) "n", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22357 arg2
= (int)SWIG_As_int(obj1
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22363 result
= (wxTimeSpan
*) &_result_ref
;
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22376 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22379 wxTimeSpan
*result
;
22380 PyObject
* obj0
= 0 ;
22381 char *kwnames
[] = {
22382 (char *) "self", NULL
22385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22392 result
= (wxTimeSpan
*) &_result_ref
;
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22405 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 wxTimeSpan
* resultptr
;
22426 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22435 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22438 wxTimeSpan
*arg2
= 0 ;
22439 wxTimeSpan
*result
;
22440 PyObject
* obj0
= 0 ;
22441 PyObject
* obj1
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self",(char *) "diff", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22448 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22452 if (arg2
== NULL
) {
22453 PyErr_SetString(PyExc_TypeError
,"null reference");
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22460 result
= (wxTimeSpan
*) &_result_ref
;
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22473 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22476 wxTimeSpan
*arg2
= 0 ;
22477 wxTimeSpan
*result
;
22478 PyObject
* obj0
= 0 ;
22479 PyObject
* obj1
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self",(char *) "diff", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22486 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22490 if (arg2
== NULL
) {
22491 PyErr_SetString(PyExc_TypeError
,"null reference");
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22498 result
= (wxTimeSpan
*) &_result_ref
;
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22511 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22515 wxTimeSpan
*result
;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self",(char *) "n", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22524 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22525 arg2
= (int)SWIG_As_int(obj1
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22531 result
= (wxTimeSpan
*) &_result_ref
;
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22544 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22547 wxTimeSpan
*result
;
22548 PyObject
* obj0
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22560 result
= (wxTimeSpan
*) &_result_ref
;
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22573 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
;
22575 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22576 wxTimeSpan
*arg2
= 0 ;
22578 PyObject
* obj0
= 0 ;
22579 PyObject
* obj1
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self",(char *) "other", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22590 if (arg2
== NULL
) {
22591 PyErr_SetString(PyExc_TypeError
,"null reference");
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22602 wxTimeSpan
* resultptr
;
22603 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22612 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22615 wxTimeSpan
*arg2
= 0 ;
22617 PyObject
* obj0
= 0 ;
22618 PyObject
* obj1
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self",(char *) "other", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22629 if (arg2
== NULL
) {
22630 PyErr_SetString(PyExc_TypeError
,"null reference");
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22641 wxTimeSpan
* resultptr
;
22642 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22651 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22652 PyObject
*resultobj
;
22653 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 PyObject
* obj1
= 0 ;
22658 char *kwnames
[] = {
22659 (char *) "self",(char *) "n", NULL
22662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22665 arg2
= (int)SWIG_As_int(obj1
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= wxTimeSpan___mul__(arg1
,arg2
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22675 wxTimeSpan
* resultptr
;
22676 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22685 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22687 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22690 PyObject
* obj0
= 0 ;
22691 PyObject
* obj1
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self",(char *) "n", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22699 arg2
= (int)SWIG_As_int(obj1
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22709 wxTimeSpan
* resultptr
;
22710 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22719 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22722 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 char *kwnames
[] = {
22727 (char *) "self",(char *) "other", NULL
22730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22751 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22754 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22756 PyObject
* obj0
= 0 ;
22757 PyObject
* obj1
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self",(char *) "other", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22783 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
;
22785 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22786 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self",(char *) "other", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22815 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22817 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22818 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22820 PyObject
* obj0
= 0 ;
22821 PyObject
* obj1
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self",(char *) "other", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22847 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22849 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22850 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self",(char *) "other", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22879 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
;
22881 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22882 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22884 PyObject
* obj0
= 0 ;
22885 PyObject
* obj1
= 0 ;
22886 char *kwnames
[] = {
22887 (char *) "self",(char *) "other", NULL
22890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22911 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22912 PyObject
*resultobj
;
22913 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22915 PyObject
* obj0
= 0 ;
22916 char *kwnames
[] = {
22917 (char *) "self", NULL
22920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22939 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22940 PyObject
*resultobj
;
22941 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22943 PyObject
* obj0
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "self", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22967 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
;
22969 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22995 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22998 wxTimeSpan
*arg2
= 0 ;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self",(char *) "ts", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23012 if (arg2
== NULL
) {
23013 PyErr_SetString(PyExc_TypeError
,"null reference");
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23032 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23035 wxTimeSpan
*arg2
= 0 ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self",(char *) "ts", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23049 if (arg2
== NULL
) {
23050 PyErr_SetString(PyExc_TypeError
,"null reference");
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23069 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23072 wxTimeSpan
*arg2
= 0 ;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self",(char *) "t", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23086 if (arg2
== NULL
) {
23087 PyErr_SetString(PyExc_TypeError
,"null reference");
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23106 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_From_int((int)result
);
23132 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23136 PyObject
* obj0
= 0 ;
23137 char *kwnames
[] = {
23138 (char *) "self", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= SWIG_From_int((int)result
);
23158 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23162 PyObject
* obj0
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 resultobj
= SWIG_From_int((int)result
);
23184 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
;
23186 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23188 PyObject
* obj0
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
23194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= SWIG_From_int((int)result
);
23210 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23212 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23214 PyObject
* obj0
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "self", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
23220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23230 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23231 hi
= PyLong_FromLong( (&result
)->GetHi() );
23232 lo
= PyLong_FromLong( (&result
)->GetLo() );
23233 shifter
= PyLong_FromLong(32);
23234 shifted
= PyNumber_Lshift(hi
, shifter
);
23235 resultobj
= PyNumber_Or(shifted
, lo
);
23238 Py_DECREF(shifter
);
23239 Py_DECREF(shifted
);
23247 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23248 PyObject
*resultobj
;
23249 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23251 PyObject
* obj0
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "self", NULL
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23267 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23268 hi
= PyLong_FromLong( (&result
)->GetHi() );
23269 lo
= PyLong_FromLong( (&result
)->GetLo() );
23270 shifter
= PyLong_FromLong(32);
23271 shifted
= PyNumber_Lshift(hi
, shifter
);
23272 resultobj
= PyNumber_Or(shifted
, lo
);
23275 Py_DECREF(shifter
);
23276 Py_DECREF(shifted
);
23284 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
;
23286 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23287 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23288 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23290 bool temp2
= false ;
23291 PyObject
* obj0
= 0 ;
23292 PyObject
* obj1
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self",(char *) "format", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23302 arg2
= wxString_in_helper(obj1
);
23303 if (arg2
== NULL
) SWIG_fail
;
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23335 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23338 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23340 return Py_BuildValue((char *)"");
23342 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
;
23344 int arg1
= (int) 0 ;
23345 int arg2
= (int) 0 ;
23346 int arg3
= (int) 0 ;
23347 int arg4
= (int) 0 ;
23348 wxDateSpan
*result
;
23349 PyObject
* obj0
= 0 ;
23350 PyObject
* obj1
= 0 ;
23351 PyObject
* obj2
= 0 ;
23352 PyObject
* obj3
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23359 arg1
= (int)SWIG_As_int(obj0
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23363 arg2
= (int)SWIG_As_int(obj1
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23367 arg3
= (int)SWIG_As_int(obj2
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23371 arg4
= (int)SWIG_As_int(obj3
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23388 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23391 PyObject
* obj0
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 Py_INCREF(Py_None
); resultobj
= Py_None
;
23413 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23417 PyObject
* obj0
= 0 ;
23418 char *kwnames
[] = {
23419 (char *) "days", NULL
23422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23423 arg1
= (int)SWIG_As_int(obj0
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 result
= wxDateSpan::Days(arg1
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23433 wxDateSpan
* resultptr
;
23434 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23443 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23446 char *kwnames
[] = {
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 result
= wxDateSpan::Day();
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23459 wxDateSpan
* resultptr
;
23460 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23469 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
;
23473 PyObject
* obj0
= 0 ;
23474 char *kwnames
[] = {
23475 (char *) "weeks", NULL
23478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23479 arg1
= (int)SWIG_As_int(obj0
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 result
= wxDateSpan::Weeks(arg1
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 wxDateSpan
* resultptr
;
23490 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23499 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
;
23502 char *kwnames
[] = {
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 result
= wxDateSpan::Week();
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23515 wxDateSpan
* resultptr
;
23516 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23525 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23529 PyObject
* obj0
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "mon", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23535 arg1
= (int)SWIG_As_int(obj0
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 result
= wxDateSpan::Months(arg1
);
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23545 wxDateSpan
* resultptr
;
23546 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23555 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23558 char *kwnames
[] = {
23562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= wxDateSpan::Month();
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23571 wxDateSpan
* resultptr
;
23572 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23581 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23585 PyObject
* obj0
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "years", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23591 arg1
= (int)SWIG_As_int(obj0
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= wxDateSpan::Years(arg1
);
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23601 wxDateSpan
* resultptr
;
23602 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23611 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23614 char *kwnames
[] = {
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= wxDateSpan::Year();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 wxDateSpan
* resultptr
;
23628 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23637 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23641 wxDateSpan
*result
;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 char *kwnames
[] = {
23645 (char *) "self",(char *) "n", NULL
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23651 arg2
= (int)SWIG_As_int(obj1
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23657 result
= (wxDateSpan
*) &_result_ref
;
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23670 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
;
23672 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23674 wxDateSpan
*result
;
23675 PyObject
* obj0
= 0 ;
23676 PyObject
* obj1
= 0 ;
23677 char *kwnames
[] = {
23678 (char *) "self",(char *) "n", NULL
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23684 arg2
= (int)SWIG_As_int(obj1
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23690 result
= (wxDateSpan
*) &_result_ref
;
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23703 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23707 wxDateSpan
*result
;
23708 PyObject
* obj0
= 0 ;
23709 PyObject
* obj1
= 0 ;
23710 char *kwnames
[] = {
23711 (char *) "self",(char *) "n", NULL
23714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 arg2
= (int)SWIG_As_int(obj1
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23723 result
= (wxDateSpan
*) &_result_ref
;
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23736 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23738 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23740 wxDateSpan
*result
;
23741 PyObject
* obj0
= 0 ;
23742 PyObject
* obj1
= 0 ;
23743 char *kwnames
[] = {
23744 (char *) "self",(char *) "n", NULL
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23750 arg2
= (int)SWIG_As_int(obj1
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23756 result
= (wxDateSpan
*) &_result_ref
;
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23769 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23770 PyObject
*resultobj
;
23771 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23773 PyObject
* obj0
= 0 ;
23774 char *kwnames
[] = {
23775 (char *) "self", NULL
23778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= SWIG_From_int((int)result
);
23795 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23799 PyObject
* obj0
= 0 ;
23800 char *kwnames
[] = {
23801 (char *) "self", NULL
23804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= SWIG_From_int((int)result
);
23821 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= SWIG_From_int((int)result
);
23847 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= SWIG_From_int((int)result
);
23873 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23874 PyObject
*resultobj
;
23875 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23877 PyObject
* obj0
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= SWIG_From_int((int)result
);
23899 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23902 wxDateSpan
*arg2
= 0 ;
23903 wxDateSpan
*result
;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 char *kwnames
[] = {
23907 (char *) "self",(char *) "other", NULL
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23916 if (arg2
== NULL
) {
23917 PyErr_SetString(PyExc_TypeError
,"null reference");
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23924 result
= (wxDateSpan
*) &_result_ref
;
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23937 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23940 wxDateSpan
*arg2
= 0 ;
23941 wxDateSpan
*result
;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 char *kwnames
[] = {
23945 (char *) "self",(char *) "other", NULL
23948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23954 if (arg2
== NULL
) {
23955 PyErr_SetString(PyExc_TypeError
,"null reference");
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23962 result
= (wxDateSpan
*) &_result_ref
;
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23975 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23978 wxDateSpan
*result
;
23979 PyObject
* obj0
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23991 result
= (wxDateSpan
*) &_result_ref
;
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24004 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24008 wxDateSpan
*result
;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "self",(char *) "factor", NULL
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
24016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24018 arg2
= (int)SWIG_As_int(obj1
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
24024 result
= (wxDateSpan
*) &_result_ref
;
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24037 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24040 wxDateSpan
*arg2
= 0 ;
24041 wxDateSpan
*result
;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self",(char *) "other", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24050 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24054 if (arg2
== NULL
) {
24055 PyErr_SetString(PyExc_TypeError
,"null reference");
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
24062 result
= (wxDateSpan
*) &_result_ref
;
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24075 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24078 wxDateSpan
*arg2
= 0 ;
24079 wxDateSpan
*result
;
24080 PyObject
* obj0
= 0 ;
24081 PyObject
* obj1
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self",(char *) "other", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24088 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24092 if (arg2
== NULL
) {
24093 PyErr_SetString(PyExc_TypeError
,"null reference");
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24100 result
= (wxDateSpan
*) &_result_ref
;
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24113 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24115 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24116 wxDateSpan
*result
;
24117 PyObject
* obj0
= 0 ;
24118 char *kwnames
[] = {
24119 (char *) "self", NULL
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
24123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 wxDateSpan
&_result_ref
= (arg1
)->operator -();
24129 result
= (wxDateSpan
*) &_result_ref
;
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24142 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24144 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24146 wxDateSpan
*result
;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 char *kwnames
[] = {
24150 (char *) "self",(char *) "factor", NULL
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24155 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24156 arg2
= (int)SWIG_As_int(obj1
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24162 result
= (wxDateSpan
*) &_result_ref
;
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24175 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24176 PyObject
*resultobj
;
24177 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24178 wxDateSpan
*arg2
= 0 ;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 char *kwnames
[] = {
24183 (char *) "self",(char *) "other", NULL
24186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24192 if (arg2
== NULL
) {
24193 PyErr_SetString(PyExc_TypeError
,"null reference");
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24204 wxDateSpan
* resultptr
;
24205 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24214 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
;
24216 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24217 wxDateSpan
*arg2
= 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "self",(char *) "other", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24231 if (arg2
== NULL
) {
24232 PyErr_SetString(PyExc_TypeError
,"null reference");
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 wxDateSpan
* resultptr
;
24244 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24253 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
;
24255 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24258 PyObject
* obj0
= 0 ;
24259 PyObject
* obj1
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "self",(char *) "n", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24267 arg2
= (int)SWIG_As_int(obj1
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= wxDateSpan___mul__(arg1
,arg2
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24277 wxDateSpan
* resultptr
;
24278 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24287 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self",(char *) "n", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24301 arg2
= (int)SWIG_As_int(obj1
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= wxDateSpan___rmul__(arg1
,arg2
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24311 wxDateSpan
* resultptr
;
24312 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24321 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24324 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "other", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24353 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24356 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 PyObject
* obj1
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self",(char *) "other", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24385 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24388 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24390 return Py_BuildValue((char *)"");
24392 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
;
24395 char *kwnames
[] = {
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 result
= (long)wxGetLocalTime();
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= SWIG_From_long((long)result
);
24414 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24417 char *kwnames
[] = {
24421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 result
= (long)wxGetUTCTime();
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_From_long((long)result
);
24436 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
;
24439 char *kwnames
[] = {
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 result
= (long)wxGetCurrentTime();
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= SWIG_From_long((long)result
);
24458 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
;
24461 char *kwnames
[] = {
24465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= wxGetLocalTimeMillis();
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24474 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24475 hi
= PyLong_FromLong( (&result
)->GetHi() );
24476 lo
= PyLong_FromLong( (&result
)->GetLo() );
24477 shifter
= PyLong_FromLong(32);
24478 shifted
= PyNumber_Lshift(hi
, shifter
);
24479 resultobj
= PyNumber_Or(shifted
, lo
);
24482 Py_DECREF(shifter
);
24483 Py_DECREF(shifted
);
24491 static int _wrap_DefaultDateTime_set(PyObject
*) {
24492 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24497 static PyObject
*_wrap_DefaultDateTime_get() {
24500 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24505 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24508 wxDataFormat
*result
;
24509 PyObject
* obj0
= 0 ;
24510 char *kwnames
[] = {
24511 (char *) "type", NULL
24514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24515 arg1
= (int)SWIG_As_int(obj0
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24531 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxString
*arg1
= 0 ;
24534 wxDataFormat
*result
;
24535 bool temp1
= false ;
24536 PyObject
* obj0
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "format", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24543 arg1
= wxString_in_helper(obj0
);
24544 if (arg1
== NULL
) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24569 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 Py_INCREF(Py_None
); resultobj
= Py_None
;
24594 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24595 PyObject
*resultobj
;
24596 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24599 PyObject
* obj0
= 0 ;
24600 PyObject
* obj1
= 0 ;
24602 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24605 arg2
= (int)SWIG_As_int(obj1
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24623 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24624 PyObject
*resultobj
;
24625 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24628 PyObject
* obj0
= 0 ;
24629 PyObject
* obj1
= 0 ;
24631 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24634 arg2
= (int)SWIG_As_int(obj1
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24652 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24653 PyObject
*resultobj
;
24654 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24655 wxDataFormat
*arg2
= 0 ;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24660 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24666 if (arg2
== NULL
) {
24667 PyErr_SetString(PyExc_TypeError
,"null reference");
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24686 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24691 argc
= PyObject_Length(args
);
24692 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24693 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24699 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24709 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24717 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24725 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24733 _v
= SWIG_Check_int(argv
[1]);
24735 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24740 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24745 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24746 PyObject
*resultobj
;
24747 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24748 wxDataFormat
*arg2
= 0 ;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24753 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24759 if (arg2
== NULL
) {
24760 PyErr_SetString(PyExc_TypeError
,"null reference");
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24779 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24784 argc
= PyObject_Length(args
);
24785 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24786 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24792 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24802 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24810 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24818 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24826 _v
= SWIG_Check_int(argv
[1]);
24828 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24833 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24838 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
;
24840 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24842 PyObject
* obj0
= 0 ;
24843 PyObject
* obj1
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self",(char *) "format", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24851 arg2
= (int)SWIG_As_int(obj1
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 (arg1
)->SetType((wxDataFormatId
)arg2
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 Py_INCREF(Py_None
); resultobj
= Py_None
;
24867 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= SWIG_From_int((int)result
);
24893 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= ((wxDataFormat
const *)arg1
)->GetId();
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24925 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24928 wxString
*arg2
= 0 ;
24929 bool temp2
= false ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self",(char *) "format", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24940 arg2
= wxString_in_helper(obj1
);
24941 if (arg2
== NULL
) SWIG_fail
;
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 (arg1
)->SetId((wxString
const &)*arg2
);
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24951 Py_INCREF(Py_None
); resultobj
= Py_None
;
24966 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24969 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24971 return Py_BuildValue((char *)"");
24973 static int _wrap_FormatInvalid_set(PyObject
*) {
24974 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24979 static PyObject
*_wrap_FormatInvalid_get() {
24982 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24987 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
;
24989 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24990 PyObject
* obj0
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 Py_INCREF(Py_None
); resultobj
= Py_None
;
25012 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
;
25014 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25015 int arg2
= (int) wxDataObject::Get
;
25016 SwigValueWrapper
< wxDataFormat
> result
;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self",(char *) "dir", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25027 arg2
= (int)SWIG_As_int(obj1
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25038 wxDataFormat
* resultptr
;
25039 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
25040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
25048 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25051 int arg2
= (int) wxDataObject::Get
;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 char *kwnames
[] = {
25056 (char *) "self",(char *) "dir", NULL
25059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
25060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25063 arg2
= (int)SWIG_As_int(obj1
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25080 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25083 wxDataFormat
*arg2
= 0 ;
25084 int arg3
= (int) wxDataObject::Get
;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 PyObject
* obj2
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "self",(char *) "format",(char *) "dir", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25099 if (arg2
== NULL
) {
25100 PyErr_SetString(PyExc_TypeError
,"null reference");
25104 arg3
= (int)SWIG_As_int(obj2
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25123 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25126 wxDataFormat
*arg2
= 0 ;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self",(char *) "format", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25140 if (arg2
== NULL
) {
25141 PyErr_SetString(PyExc_TypeError
,"null reference");
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25158 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25161 int arg2
= (int) wxDataObject::Get
;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self",(char *) "dir", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
25170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25173 arg2
= (int)SWIG_As_int(obj1
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25183 resultobj
= result
;
25190 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25193 wxDataFormat
*arg2
= 0 ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "self",(char *) "format", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
25202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25207 if (arg2
== NULL
) {
25208 PyErr_SetString(PyExc_TypeError
,"null reference");
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= result
;
25225 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25228 wxDataFormat
*arg2
= 0 ;
25229 PyObject
*arg3
= (PyObject
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 PyObject
* obj2
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self",(char *) "format",(char *) "data", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25244 if (arg2
== NULL
) {
25245 PyErr_SetString(PyExc_TypeError
,"null reference");
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25265 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25268 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25270 return Py_BuildValue((char *)"");
25272 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25275 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25276 wxDataObjectSimple
*result
;
25277 PyObject
* obj0
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "format", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25287 if (arg1
== NULL
) {
25288 PyErr_SetString(PyExc_TypeError
,"null reference");
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25306 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25309 wxDataFormat
*result
;
25310 PyObject
* obj0
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25322 result
= (wxDataFormat
*) &_result_ref
;
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25335 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25336 PyObject
*resultobj
;
25337 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25338 wxDataFormat
*arg2
= 0 ;
25339 PyObject
* obj0
= 0 ;
25340 PyObject
* obj1
= 0 ;
25341 char *kwnames
[] = {
25342 (char *) "self",(char *) "format", NULL
25345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25351 if (arg2
== NULL
) {
25352 PyErr_SetString(PyExc_TypeError
,"null reference");
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 Py_INCREF(Py_None
); resultobj
= Py_None
;
25369 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25373 PyObject
* obj0
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "self", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25395 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25399 PyObject
* obj0
= 0 ;
25400 char *kwnames
[] = {
25401 (char *) "self", NULL
25404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= result
;
25421 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25424 PyObject
*arg2
= (PyObject
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self",(char *) "data", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25452 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25455 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25457 return Py_BuildValue((char *)"");
25459 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
;
25461 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25462 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25463 wxPyDataObjectSimple
*result
;
25464 PyObject
* obj0
= 0 ;
25465 char *kwnames
[] = {
25466 (char *) "format", NULL
25469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25474 if (arg1
== NULL
) {
25475 PyErr_SetString(PyExc_TypeError
,"null reference");
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25493 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
;
25495 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25496 PyObject
*arg2
= (PyObject
*) 0 ;
25497 PyObject
*arg3
= (PyObject
*) 0 ;
25498 PyObject
* obj0
= 0 ;
25499 PyObject
* obj1
= 0 ;
25500 PyObject
* obj2
= 0 ;
25501 char *kwnames
[] = {
25502 (char *) "self",(char *) "self",(char *) "_class", NULL
25505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 Py_INCREF(Py_None
); resultobj
= Py_None
;
25524 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25527 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25529 return Py_BuildValue((char *)"");
25531 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25532 PyObject
*resultobj
;
25533 wxDataObjectComposite
*result
;
25534 char *kwnames
[] = {
25538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25553 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
;
25555 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25556 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25557 bool arg3
= (bool) false ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 PyObject
* obj2
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25569 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25571 arg3
= (bool)SWIG_As_bool(obj2
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 (arg1
)->Add(arg2
,arg3
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 Py_INCREF(Py_None
); resultobj
= Py_None
;
25588 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25591 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25593 return Py_BuildValue((char *)"");
25595 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
;
25597 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25598 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25599 wxTextDataObject
*result
;
25600 bool temp1
= false ;
25601 PyObject
* obj0
= 0 ;
25602 char *kwnames
[] = {
25603 (char *) "text", NULL
25606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25609 arg1
= wxString_in_helper(obj0
);
25610 if (arg1
== NULL
) SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25618 wxPyEndAllowThreads(__tstate
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25636 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25640 PyObject
* obj0
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (size_t)(arg1
)->GetTextLength();
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25662 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25666 PyObject
* obj0
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 result
= (arg1
)->GetText();
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25694 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
;
25696 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25697 wxString
*arg2
= 0 ;
25698 bool temp2
= false ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "text", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25709 arg2
= wxString_in_helper(obj1
);
25710 if (arg2
== NULL
) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 (arg1
)->SetText((wxString
const &)*arg2
);
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 Py_INCREF(Py_None
); resultobj
= Py_None
;
25735 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25738 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25740 return Py_BuildValue((char *)"");
25742 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25745 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25746 wxPyTextDataObject
*result
;
25747 bool temp1
= false ;
25748 PyObject
* obj0
= 0 ;
25749 char *kwnames
[] = {
25750 (char *) "text", NULL
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25756 arg1
= wxString_in_helper(obj0
);
25757 if (arg1
== NULL
) SWIG_fail
;
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25783 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25786 PyObject
*arg2
= (PyObject
*) 0 ;
25787 PyObject
*arg3
= (PyObject
*) 0 ;
25788 PyObject
* obj0
= 0 ;
25789 PyObject
* obj1
= 0 ;
25790 PyObject
* obj2
= 0 ;
25791 char *kwnames
[] = {
25792 (char *) "self",(char *) "self",(char *) "_class", NULL
25795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25804 wxPyEndAllowThreads(__tstate
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25807 Py_INCREF(Py_None
); resultobj
= Py_None
;
25814 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25817 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25819 return Py_BuildValue((char *)"");
25821 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
;
25823 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25824 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25825 wxBitmapDataObject
*result
;
25826 PyObject
* obj0
= 0 ;
25827 char *kwnames
[] = {
25828 (char *) "bitmap", NULL
25831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25836 if (arg1
== NULL
) {
25837 PyErr_SetString(PyExc_TypeError
,"null reference");
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25855 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25875 wxBitmap
* resultptr
;
25876 resultptr
= new wxBitmap((wxBitmap
&) result
);
25877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25885 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25886 PyObject
*resultobj
;
25887 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25888 wxBitmap
*arg2
= 0 ;
25889 PyObject
* obj0
= 0 ;
25890 PyObject
* obj1
= 0 ;
25891 char *kwnames
[] = {
25892 (char *) "self",(char *) "bitmap", NULL
25895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25901 if (arg2
== NULL
) {
25902 PyErr_SetString(PyExc_TypeError
,"null reference");
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 Py_INCREF(Py_None
); resultobj
= Py_None
;
25919 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25922 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25924 return Py_BuildValue((char *)"");
25926 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25929 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25930 wxPyBitmapDataObject
*result
;
25931 PyObject
* obj0
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "bitmap", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25941 if (arg1
== NULL
) {
25942 PyErr_SetString(PyExc_TypeError
,"null reference");
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25960 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
;
25962 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25963 PyObject
*arg2
= (PyObject
*) 0 ;
25964 PyObject
*arg3
= (PyObject
*) 0 ;
25965 PyObject
* obj0
= 0 ;
25966 PyObject
* obj1
= 0 ;
25967 PyObject
* obj2
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self",(char *) "self",(char *) "_class", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 Py_INCREF(Py_None
); resultobj
= Py_None
;
25991 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25994 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25996 return Py_BuildValue((char *)"");
25998 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxFileDataObject
*result
;
26001 char *kwnames
[] = {
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 result
= (wxFileDataObject
*)new wxFileDataObject();
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
26020 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
;
26022 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
26023 wxArrayString
*result
;
26024 PyObject
* obj0
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
26036 result
= (wxArrayString
*) &_result_ref
;
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26043 resultobj
= wxArrayString2PyList_helper(*result
);
26051 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26052 PyObject
*resultobj
;
26053 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
26054 wxString
*arg2
= 0 ;
26055 bool temp2
= false ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self",(char *) "filename", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
26063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26066 arg2
= wxString_in_helper(obj1
);
26067 if (arg2
== NULL
) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 (arg1
)->AddFile((wxString
const &)*arg2
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 Py_INCREF(Py_None
); resultobj
= Py_None
;
26092 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26095 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
26097 return Py_BuildValue((char *)"");
26099 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
;
26101 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
26102 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
26103 wxCustomDataObject
*result
;
26104 PyObject
* obj0
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "format", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
26111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
26112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26114 if (arg1
== NULL
) {
26115 PyErr_SetString(PyExc_TypeError
,"null reference");
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
26133 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
;
26135 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26136 PyObject
*arg2
= (PyObject
*) 0 ;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self",(char *) "data", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26164 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
;
26166 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26168 PyObject
* obj0
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
26174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (size_t)(arg1
)->GetSize();
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26190 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26194 PyObject
* obj0
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= result
;
26216 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
26218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26219 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
26221 return Py_BuildValue((char *)"");
26223 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxURLDataObject
*result
;
26226 char *kwnames
[] = {
26230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 result
= (wxURLDataObject
*)new wxURLDataObject();
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
26245 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
;
26247 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (arg1
)->GetURL();
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26277 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26280 wxString
*arg2
= 0 ;
26281 bool temp2
= false ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self",(char *) "url", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26292 arg2
= wxString_in_helper(obj1
);
26293 if (arg2
== NULL
) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 (arg1
)->SetURL((wxString
const &)*arg2
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 Py_INCREF(Py_None
); resultobj
= Py_None
;
26318 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26321 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26323 return Py_BuildValue((char *)"");
26325 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
;
26327 wxMetafileDataObject
*result
;
26328 char *kwnames
[] = {
26332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26337 wxPyEndAllowThreads(__tstate
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26347 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
;
26349 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26350 wxMetafile
*arg2
= 0 ;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self",(char *) "metafile", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
26358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26363 if (arg2
== NULL
) {
26364 PyErr_SetString(PyExc_TypeError
,"null reference");
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 Py_INCREF(Py_None
); resultobj
= Py_None
;
26381 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
26391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26401 wxMetafile
* resultptr
;
26402 resultptr
= new wxMetafile((wxMetafile
&) result
);
26403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
26411 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26414 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26416 return Py_BuildValue((char *)"");
26418 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26422 PyObject
* obj0
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "res", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26428 arg1
= (int)SWIG_As_int(obj0
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26446 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
;
26448 wxWindow
*arg1
= (wxWindow
*) 0 ;
26449 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26450 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26451 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26452 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26453 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26454 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26455 wxPyDropSource
*result
;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 PyObject
* obj2
= 0 ;
26459 PyObject
* obj3
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26471 if (arg2
== NULL
) {
26472 PyErr_SetString(PyExc_TypeError
,"null reference");
26477 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26480 if (arg3
== NULL
) {
26481 PyErr_SetString(PyExc_TypeError
,"null reference");
26486 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26489 if (arg4
== NULL
) {
26490 PyErr_SetString(PyExc_TypeError
,"null reference");
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26508 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
;
26510 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26511 PyObject
*arg2
= (PyObject
*) 0 ;
26512 PyObject
*arg3
= (PyObject
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 PyObject
* obj1
= 0 ;
26516 PyObject
* obj2
= 0 ;
26517 PyObject
* obj3
= 0 ;
26518 char *kwnames
[] = {
26519 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26527 arg4
= (int)SWIG_As_int(obj3
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 Py_INCREF(Py_None
); resultobj
= Py_None
;
26543 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26546 PyObject
* obj0
= 0 ;
26547 char *kwnames
[] = {
26548 (char *) "self", NULL
26551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 Py_INCREF(Py_None
); resultobj
= Py_None
;
26568 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26571 wxDataObject
*arg2
= 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "data", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26584 if (arg2
== NULL
) {
26585 PyErr_SetString(PyExc_TypeError
,"null reference");
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 (arg1
)->SetData(*arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 Py_INCREF(Py_None
); resultobj
= Py_None
;
26602 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
;
26604 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26605 wxDataObject
*result
;
26606 PyObject
* obj0
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26628 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26632 wxCursor
*arg3
= 0 ;
26633 PyObject
* obj0
= 0 ;
26634 PyObject
* obj1
= 0 ;
26635 PyObject
* obj2
= 0 ;
26636 char *kwnames
[] = {
26637 (char *) "self",(char *) "res",(char *) "cursor", NULL
26640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26643 arg2
= (int)SWIG_As_int(obj1
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26645 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26648 if (arg3
== NULL
) {
26649 PyErr_SetString(PyExc_TypeError
,"null reference");
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 Py_INCREF(Py_None
); resultobj
= Py_None
;
26666 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
;
26668 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26669 int arg2
= (int) wxDrag_CopyOnly
;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self",(char *) "flags", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26681 arg2
= (int)SWIG_As_int(obj1
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (int)(arg1
)->DoDragDrop(arg2
);
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_From_int((int)result
);
26698 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26703 PyObject
* obj0
= 0 ;
26704 PyObject
* obj1
= 0 ;
26705 char *kwnames
[] = {
26706 (char *) "self",(char *) "effect", NULL
26709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26712 arg2
= (int)SWIG_As_int(obj1
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26730 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26733 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26735 return Py_BuildValue((char *)"");
26737 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26739 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26740 wxPyDropTarget
*result
;
26741 PyObject
* obj0
= 0 ;
26742 char *kwnames
[] = {
26743 (char *) "dataObject", NULL
26746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26749 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26765 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26768 PyObject
*arg2
= (PyObject
*) 0 ;
26769 PyObject
*arg3
= (PyObject
*) 0 ;
26770 PyObject
* obj0
= 0 ;
26771 PyObject
* obj1
= 0 ;
26772 PyObject
* obj2
= 0 ;
26773 char *kwnames
[] = {
26774 (char *) "self",(char *) "self",(char *) "_class", NULL
26777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 Py_INCREF(Py_None
); resultobj
= Py_None
;
26796 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
;
26798 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "self", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26814 Py_INCREF(Py_None
); resultobj
= Py_None
;
26821 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26824 wxDataObject
*result
;
26825 PyObject
* obj0
= 0 ;
26826 char *kwnames
[] = {
26827 (char *) "self", NULL
26830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26847 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26848 PyObject
*resultobj
;
26849 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26850 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26851 PyObject
* obj0
= 0 ;
26852 PyObject
* obj1
= 0 ;
26853 char *kwnames
[] = {
26854 (char *) "self",(char *) "dataObject", NULL
26857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26861 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 (arg1
)->SetDataObject(arg2
);
26866 wxPyEndAllowThreads(__tstate
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26869 Py_INCREF(Py_None
); resultobj
= Py_None
;
26876 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
;
26878 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 PyObject
* obj2
= 0 ;
26886 PyObject
* obj3
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26894 arg2
= (int)SWIG_As_int(obj1
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26896 arg3
= (int)SWIG_As_int(obj2
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26898 arg4
= (int)SWIG_As_int(obj3
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= SWIG_From_int((int)result
);
26914 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26921 PyObject
* obj0
= 0 ;
26922 PyObject
* obj1
= 0 ;
26923 PyObject
* obj2
= 0 ;
26924 PyObject
* obj3
= 0 ;
26925 char *kwnames
[] = {
26926 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26932 arg2
= (int)SWIG_As_int(obj1
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26934 arg3
= (int)SWIG_As_int(obj2
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26936 arg4
= (int)SWIG_As_int(obj3
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26945 resultobj
= SWIG_From_int((int)result
);
26952 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
;
26954 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26955 PyObject
* obj0
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 (arg1
)->base_OnLeave();
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 Py_INCREF(Py_None
); resultobj
= Py_None
;
26977 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26983 PyObject
* obj0
= 0 ;
26984 PyObject
* obj1
= 0 ;
26985 PyObject
* obj2
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self",(char *) "x",(char *) "y", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26993 arg2
= (int)SWIG_As_int(obj1
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26995 arg3
= (int)SWIG_As_int(obj2
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27013 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
;
27015 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
27017 PyObject
* obj0
= 0 ;
27018 char *kwnames
[] = {
27019 (char *) "self", NULL
27022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
27023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
27024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (bool)(arg1
)->GetData();
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27041 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
27043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27044 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
27046 return Py_BuildValue((char *)"");
27048 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
;
27050 wxPyTextDropTarget
*result
;
27051 char *kwnames
[] = {
27055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
27070 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27073 PyObject
*arg2
= (PyObject
*) 0 ;
27074 PyObject
*arg3
= (PyObject
*) 0 ;
27075 PyObject
* obj0
= 0 ;
27076 PyObject
* obj1
= 0 ;
27077 PyObject
* obj2
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self",(char *) "self",(char *) "_class", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27094 Py_INCREF(Py_None
); resultobj
= Py_None
;
27101 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj1
= 0 ;
27110 PyObject
* obj2
= 0 ;
27111 PyObject
* obj3
= 0 ;
27112 char *kwnames
[] = {
27113 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27119 arg2
= (int)SWIG_As_int(obj1
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27121 arg3
= (int)SWIG_As_int(obj2
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27123 arg4
= (int)SWIG_As_int(obj3
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27129 wxPyEndAllowThreads(__tstate
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= SWIG_From_int((int)result
);
27139 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
;
27141 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27146 PyObject
* obj0
= 0 ;
27147 PyObject
* obj1
= 0 ;
27148 PyObject
* obj2
= 0 ;
27149 PyObject
* obj3
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27157 arg2
= (int)SWIG_As_int(obj1
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27159 arg3
= (int)SWIG_As_int(obj2
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27161 arg4
= (int)SWIG_As_int(obj3
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= SWIG_From_int((int)result
);
27177 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27178 PyObject
*resultobj
;
27179 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27180 PyObject
* obj0
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 (arg1
)->base_OnLeave();
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 Py_INCREF(Py_None
); resultobj
= Py_None
;
27202 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27208 PyObject
* obj0
= 0 ;
27209 PyObject
* obj1
= 0 ;
27210 PyObject
* obj2
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self",(char *) "x",(char *) "y", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27218 arg2
= (int)SWIG_As_int(obj1
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27220 arg3
= (int)SWIG_As_int(obj2
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27238 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27239 PyObject
*resultobj
;
27240 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 PyObject
* obj2
= 0 ;
27248 PyObject
* obj3
= 0 ;
27249 char *kwnames
[] = {
27250 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27256 arg2
= (int)SWIG_As_int(obj1
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27258 arg3
= (int)SWIG_As_int(obj2
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27260 arg4
= (int)SWIG_As_int(obj3
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27266 wxPyEndAllowThreads(__tstate
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 resultobj
= SWIG_From_int((int)result
);
27276 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27279 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27281 return Py_BuildValue((char *)"");
27283 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxPyFileDropTarget
*result
;
27286 char *kwnames
[] = {
27290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27293 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27295 wxPyEndAllowThreads(__tstate
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27305 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27306 PyObject
*resultobj
;
27307 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27308 PyObject
*arg2
= (PyObject
*) 0 ;
27309 PyObject
*arg3
= (PyObject
*) 0 ;
27310 PyObject
* obj0
= 0 ;
27311 PyObject
* obj1
= 0 ;
27312 PyObject
* obj2
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self",(char *) "self",(char *) "_class", NULL
27317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27329 Py_INCREF(Py_None
); resultobj
= Py_None
;
27336 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
;
27338 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27343 PyObject
* obj0
= 0 ;
27344 PyObject
* obj1
= 0 ;
27345 PyObject
* obj2
= 0 ;
27346 PyObject
* obj3
= 0 ;
27347 char *kwnames
[] = {
27348 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27354 arg2
= (int)SWIG_As_int(obj1
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27356 arg3
= (int)SWIG_As_int(obj2
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27358 arg4
= (int)SWIG_As_int(obj3
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= SWIG_From_int((int)result
);
27374 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27381 PyObject
* obj0
= 0 ;
27382 PyObject
* obj1
= 0 ;
27383 PyObject
* obj2
= 0 ;
27384 PyObject
* obj3
= 0 ;
27385 char *kwnames
[] = {
27386 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27392 arg2
= (int)SWIG_As_int(obj1
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27394 arg3
= (int)SWIG_As_int(obj2
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27396 arg4
= (int)SWIG_As_int(obj3
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27400 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= SWIG_From_int((int)result
);
27412 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27413 PyObject
*resultobj
;
27414 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27415 PyObject
* obj0
= 0 ;
27416 char *kwnames
[] = {
27417 (char *) "self", NULL
27420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 (arg1
)->base_OnLeave();
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27430 Py_INCREF(Py_None
); resultobj
= Py_None
;
27437 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27443 PyObject
* obj0
= 0 ;
27444 PyObject
* obj1
= 0 ;
27445 PyObject
* obj2
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "x",(char *) "y", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27453 arg2
= (int)SWIG_As_int(obj1
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27455 arg3
= (int)SWIG_As_int(obj2
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27473 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27474 PyObject
*resultobj
;
27475 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27480 PyObject
* obj0
= 0 ;
27481 PyObject
* obj1
= 0 ;
27482 PyObject
* obj2
= 0 ;
27483 PyObject
* obj3
= 0 ;
27484 char *kwnames
[] = {
27485 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27491 arg2
= (int)SWIG_As_int(obj1
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27493 arg3
= (int)SWIG_As_int(obj2
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27495 arg4
= (int)SWIG_As_int(obj3
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= SWIG_From_int((int)result
);
27511 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27514 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27516 return Py_BuildValue((char *)"");
27518 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxClipboard
*result
;
27521 char *kwnames
[] = {
27525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27528 result
= (wxClipboard
*)new wxClipboard();
27530 wxPyEndAllowThreads(__tstate
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27540 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
;
27542 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27543 PyObject
* obj0
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 Py_INCREF(Py_None
); resultobj
= Py_None
;
27565 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27569 PyObject
* obj0
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (bool)(arg1
)->Open();
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27593 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27611 Py_INCREF(Py_None
); resultobj
= Py_None
;
27618 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27619 PyObject
*resultobj
;
27620 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27622 PyObject
* obj0
= 0 ;
27623 char *kwnames
[] = {
27624 (char *) "self", NULL
27627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27646 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27647 PyObject
*resultobj
;
27648 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27649 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27651 PyObject
* obj0
= 0 ;
27652 PyObject
* obj1
= 0 ;
27653 char *kwnames
[] = {
27654 (char *) "self",(char *) "data", NULL
27657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27661 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27664 result
= (bool)(arg1
)->AddData(arg2
);
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27678 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27679 PyObject
*resultobj
;
27680 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27681 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 PyObject
* obj1
= 0 ;
27685 char *kwnames
[] = {
27686 (char *) "self",(char *) "data", NULL
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27693 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27696 result
= (bool)(arg1
)->SetData(arg2
);
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27710 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27711 PyObject
*resultobj
;
27712 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27713 wxDataFormat
*arg2
= 0 ;
27715 PyObject
* obj0
= 0 ;
27716 PyObject
* obj1
= 0 ;
27717 char *kwnames
[] = {
27718 (char *) "self",(char *) "format", NULL
27721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27727 if (arg2
== NULL
) {
27728 PyErr_SetString(PyExc_TypeError
,"null reference");
27732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27733 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27747 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
;
27749 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27750 wxDataObject
*arg2
= 0 ;
27752 PyObject
* obj0
= 0 ;
27753 PyObject
* obj1
= 0 ;
27754 char *kwnames
[] = {
27755 (char *) "self",(char *) "data", NULL
27758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27764 if (arg2
== NULL
) {
27765 PyErr_SetString(PyExc_TypeError
,"null reference");
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= (bool)(arg1
)->GetData(*arg2
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27784 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27787 PyObject
* obj0
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 wxPyEndAllowThreads(__tstate
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27802 Py_INCREF(Py_None
); resultobj
= Py_None
;
27809 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27813 PyObject
* obj0
= 0 ;
27814 char *kwnames
[] = {
27815 (char *) "self", NULL
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (bool)(arg1
)->Flush();
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27837 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27838 PyObject
*resultobj
;
27839 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27840 bool arg2
= (bool) true ;
27841 PyObject
* obj0
= 0 ;
27842 PyObject
* obj1
= 0 ;
27843 char *kwnames
[] = {
27844 (char *) "self",(char *) "primary", NULL
27847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27851 arg2
= (bool)SWIG_As_bool(obj1
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 (arg1
)->UsePrimarySelection(arg2
);
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 Py_INCREF(Py_None
); resultobj
= Py_None
;
27868 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxClipboard
*result
;
27871 char *kwnames
[] = {
27875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 result
= (wxClipboard
*)wxClipboard::Get();
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27890 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27893 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27895 return Py_BuildValue((char *)"");
27897 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27898 PyObject
*resultobj
;
27899 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27900 wxClipboardLocker
*result
;
27901 PyObject
* obj0
= 0 ;
27902 char *kwnames
[] = {
27903 (char *) "clipboard", NULL
27906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27925 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
;
27927 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27928 PyObject
* obj0
= 0 ;
27929 char *kwnames
[] = {
27930 (char *) "self", NULL
27933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27940 wxPyEndAllowThreads(__tstate
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27943 Py_INCREF(Py_None
); resultobj
= Py_None
;
27950 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
;
27952 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27954 PyObject
* obj0
= 0 ;
27955 char *kwnames
[] = {
27956 (char *) "self", NULL
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27978 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27981 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27983 return Py_BuildValue((char *)"");
27985 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27986 PyObject
*resultobj
;
27987 int arg1
= (int) 0 ;
27988 int arg2
= (int) 0 ;
27989 int arg3
= (int) 0 ;
27990 int arg4
= (int) 0 ;
27991 wxVideoMode
*result
;
27992 PyObject
* obj0
= 0 ;
27993 PyObject
* obj1
= 0 ;
27994 PyObject
* obj2
= 0 ;
27995 PyObject
* obj3
= 0 ;
27996 char *kwnames
[] = {
27997 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28002 arg1
= (int)SWIG_As_int(obj0
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28006 arg2
= (int)SWIG_As_int(obj1
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28010 arg3
= (int)SWIG_As_int(obj2
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28014 arg4
= (int)SWIG_As_int(obj3
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
28031 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
;
28033 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28034 PyObject
* obj0
= 0 ;
28035 char *kwnames
[] = {
28036 (char *) "self", NULL
28039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
28040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 Py_INCREF(Py_None
); resultobj
= Py_None
;
28056 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28059 wxVideoMode
*arg2
= 0 ;
28061 PyObject
* obj0
= 0 ;
28062 PyObject
* obj1
= 0 ;
28063 char *kwnames
[] = {
28064 (char *) "self",(char *) "other", NULL
28067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
28068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28073 if (arg2
== NULL
) {
28074 PyErr_SetString(PyExc_TypeError
,"null reference");
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28093 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28094 PyObject
*resultobj
;
28095 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28097 PyObject
* obj0
= 0 ;
28098 char *kwnames
[] = {
28099 (char *) "self", NULL
28102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
28103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28107 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= SWIG_From_int((int)result
);
28119 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28123 PyObject
* obj0
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
28129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= SWIG_From_int((int)result
);
28145 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
;
28147 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28149 PyObject
* obj0
= 0 ;
28150 char *kwnames
[] = {
28151 (char *) "self", NULL
28154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
28155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= SWIG_From_int((int)result
);
28171 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28172 PyObject
*resultobj
;
28173 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28175 PyObject
* obj0
= 0 ;
28176 char *kwnames
[] = {
28177 (char *) "self", NULL
28180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
28181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28185 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
28187 wxPyEndAllowThreads(__tstate
);
28188 if (PyErr_Occurred()) SWIG_fail
;
28191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28199 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28200 PyObject
*resultobj
;
28201 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28202 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28204 PyObject
* obj0
= 0 ;
28205 PyObject
* obj1
= 0 ;
28206 char *kwnames
[] = {
28207 (char *) "self",(char *) "other", NULL
28210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28231 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
;
28233 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28234 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "self",(char *) "other", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28263 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
;
28265 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28267 PyObject
* obj0
= 0 ;
28268 PyObject
* obj1
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self",(char *) "w", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28276 arg2
= (int)SWIG_As_int(obj1
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28278 if (arg1
) (arg1
)->w
= arg2
;
28280 Py_INCREF(Py_None
); resultobj
= Py_None
;
28287 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
;
28289 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28291 PyObject
* obj0
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "self", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28299 result
= (int) ((arg1
)->w
);
28301 resultobj
= SWIG_From_int((int)result
);
28308 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
;
28310 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28312 PyObject
* obj0
= 0 ;
28313 PyObject
* obj1
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self",(char *) "h", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28321 arg2
= (int)SWIG_As_int(obj1
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28323 if (arg1
) (arg1
)->h
= arg2
;
28325 Py_INCREF(Py_None
); resultobj
= Py_None
;
28332 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
;
28334 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28336 PyObject
* obj0
= 0 ;
28337 char *kwnames
[] = {
28338 (char *) "self", NULL
28341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28344 result
= (int) ((arg1
)->h
);
28346 resultobj
= SWIG_From_int((int)result
);
28353 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
;
28355 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28357 PyObject
* obj0
= 0 ;
28358 PyObject
* obj1
= 0 ;
28359 char *kwnames
[] = {
28360 (char *) "self",(char *) "bpp", NULL
28363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28366 arg2
= (int)SWIG_As_int(obj1
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28368 if (arg1
) (arg1
)->bpp
= arg2
;
28370 Py_INCREF(Py_None
); resultobj
= Py_None
;
28377 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28378 PyObject
*resultobj
;
28379 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28381 PyObject
* obj0
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28389 result
= (int) ((arg1
)->bpp
);
28391 resultobj
= SWIG_From_int((int)result
);
28398 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28402 PyObject
* obj0
= 0 ;
28403 PyObject
* obj1
= 0 ;
28404 char *kwnames
[] = {
28405 (char *) "self",(char *) "refresh", NULL
28408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28411 arg2
= (int)SWIG_As_int(obj1
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28413 if (arg1
) (arg1
)->refresh
= arg2
;
28415 Py_INCREF(Py_None
); resultobj
= Py_None
;
28422 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
;
28424 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28426 PyObject
* obj0
= 0 ;
28427 char *kwnames
[] = {
28428 (char *) "self", NULL
28431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28434 result
= (int) ((arg1
)->refresh
);
28436 resultobj
= SWIG_From_int((int)result
);
28443 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28446 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28448 return Py_BuildValue((char *)"");
28450 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28451 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28456 static PyObject
*_wrap_DefaultVideoMode_get() {
28459 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28464 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28465 PyObject
*resultobj
;
28466 size_t arg1
= (size_t) 0 ;
28468 PyObject
* obj0
= 0 ;
28469 char *kwnames
[] = {
28470 (char *) "index", NULL
28473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28475 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 result
= (wxDisplay
*)new wxDisplay(arg1
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28492 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
;
28494 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28495 PyObject
* obj0
= 0 ;
28496 char *kwnames
[] = {
28497 (char *) "self", NULL
28500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 Py_INCREF(Py_None
); resultobj
= Py_None
;
28517 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28518 PyObject
*resultobj
;
28520 char *kwnames
[] = {
28524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 result
= (size_t)wxDisplay::GetCount();
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28539 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 wxPoint
*arg1
= 0 ;
28544 PyObject
* obj0
= 0 ;
28545 char *kwnames
[] = {
28546 (char *) "pt", NULL
28549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28552 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28558 wxPyEndAllowThreads(__tstate
);
28559 if (PyErr_Occurred()) SWIG_fail
;
28561 resultobj
= SWIG_From_int((int)result
);
28568 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28569 PyObject
*resultobj
;
28570 wxWindow
*arg1
= (wxWindow
*) 0 ;
28572 PyObject
* obj0
= 0 ;
28573 char *kwnames
[] = {
28574 (char *) "window", NULL
28577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28582 result
= (int)Display_GetFromWindow(arg1
);
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= SWIG_From_int((int)result
);
28594 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
;
28596 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28598 PyObject
* obj0
= 0 ;
28599 char *kwnames
[] = {
28600 (char *) "self", NULL
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28622 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28623 PyObject
*resultobj
;
28624 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28626 PyObject
* obj0
= 0 ;
28627 char *kwnames
[] = {
28628 (char *) "self", NULL
28631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28642 wxRect
* resultptr
;
28643 resultptr
= new wxRect((wxRect
&) result
);
28644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28652 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
;
28654 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28656 PyObject
* obj0
= 0 ;
28657 char *kwnames
[] = {
28658 (char *) "self", NULL
28661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 result
= ((wxDisplay
const *)arg1
)->GetName();
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28684 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
;
28686 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28688 PyObject
* obj0
= 0 ;
28689 char *kwnames
[] = {
28690 (char *) "self", NULL
28693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28712 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28715 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28716 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28718 PyObject
* obj0
= 0 ;
28719 PyObject
* obj1
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self",(char *) "mode", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28731 if (arg2
== NULL
) {
28732 PyErr_SetString(PyExc_TypeError
,"null reference");
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= result
;
28750 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
;
28752 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28753 wxVideoMode result
;
28754 PyObject
* obj0
= 0 ;
28755 char *kwnames
[] = {
28756 (char *) "self", NULL
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28770 wxVideoMode
* resultptr
;
28771 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28780 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28781 PyObject
*resultobj
;
28782 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28783 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28784 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28786 PyObject
* obj0
= 0 ;
28787 PyObject
* obj1
= 0 ;
28788 char *kwnames
[] = {
28789 (char *) "self",(char *) "mode", NULL
28792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28799 if (arg2
== NULL
) {
28800 PyErr_SetString(PyExc_TypeError
,"null reference");
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28808 wxPyEndAllowThreads(__tstate
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28820 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
;
28822 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28823 PyObject
* obj0
= 0 ;
28824 char *kwnames
[] = {
28825 (char *) "self", NULL
28828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 (arg1
)->ResetMode();
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28838 Py_INCREF(Py_None
); resultobj
= Py_None
;
28845 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28848 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28850 return Py_BuildValue((char *)"");
28852 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
;
28854 wxStandardPaths
*result
;
28855 char *kwnames
[] = {
28859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28862 result
= (wxStandardPaths
*)StandardPaths_Get();
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
28874 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
;
28876 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28878 PyObject
* obj0
= 0 ;
28879 char *kwnames
[] = {
28880 (char *) "self", NULL
28883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
28884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
28890 wxPyEndAllowThreads(__tstate
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28906 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28908 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28910 PyObject
* obj0
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
28916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28938 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
;
28940 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28942 PyObject
* obj0
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "self", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
28948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28952 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
28954 wxPyEndAllowThreads(__tstate
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28970 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
;
28972 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28974 PyObject
* obj0
= 0 ;
28975 char *kwnames
[] = {
28976 (char *) "self", NULL
28979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
28980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29002 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29006 PyObject
* obj0
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
29012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29034 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29038 PyObject
* obj0
= 0 ;
29039 char *kwnames
[] = {
29040 (char *) "self", NULL
29043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
29044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
29050 wxPyEndAllowThreads(__tstate
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29066 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29067 PyObject
*resultobj
;
29068 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29070 PyObject
* obj0
= 0 ;
29071 char *kwnames
[] = {
29072 (char *) "self", NULL
29075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
29076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29098 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
;
29100 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29101 wxString
*arg2
= 0 ;
29102 bool temp2
= false ;
29103 PyObject
* obj0
= 0 ;
29104 PyObject
* obj1
= 0 ;
29105 char *kwnames
[] = {
29106 (char *) "self",(char *) "prefix", NULL
29109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
29110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29113 arg2
= wxString_in_helper(obj1
);
29114 if (arg2
== NULL
) SWIG_fail
;
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
29121 wxPyEndAllowThreads(__tstate
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29124 Py_INCREF(Py_None
); resultobj
= Py_None
;
29139 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29140 PyObject
*resultobj
;
29141 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29143 PyObject
* obj0
= 0 ;
29144 char *kwnames
[] = {
29145 (char *) "self", NULL
29148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
29149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 result
= wxStandardPaths_GetInstallPrefix(arg1
);
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29171 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
29173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29174 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
29176 return Py_BuildValue((char *)"");
29178 static PyMethodDef SwigMethods
[] = {
29179 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
29186 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
29193 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29235 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29255 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
29257 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
29265 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29269 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29272 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
29281 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29284 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
29286 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29287 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29288 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
29289 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29290 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29291 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
29292 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29296 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
29298 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29303 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
29312 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
29318 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29320 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29322 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
29324 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
29327 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29329 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29331 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
29341 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
29344 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
29345 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
29348 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29355 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29358 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
29375 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
29377 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
29379 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
29381 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29382 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29383 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
29388 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29391 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29392 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29393 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
29394 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29400 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29401 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29402 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
29408 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
29412 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29413 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29414 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
29415 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29416 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29417 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29418 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29419 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29420 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29421 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29422 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29423 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29428 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29429 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29430 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29431 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
29432 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29435 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29436 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29437 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
29440 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29446 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29447 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29448 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29449 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29450 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29451 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29458 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29459 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29465 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29467 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29468 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29471 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29472 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29473 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29475 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29476 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29477 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29478 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29479 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29480 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29483 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29485 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
29487 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29499 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29513 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
29515 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29523 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
29525 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29531 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
29541 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
29557 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29565 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29569 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
29571 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29573 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
29580 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29583 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29590 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29612 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29613 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29615 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29617 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29619 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29620 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29623 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29626 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29629 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29633 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29671 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29674 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29676 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29677 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29678 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29679 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29680 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29681 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29682 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29683 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29684 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29685 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29688 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29689 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29690 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29692 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29694 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29696 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29704 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29705 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29709 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29710 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29712 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29720 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29721 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29724 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29725 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29726 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29727 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29728 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29729 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29730 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29731 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29732 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29733 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29734 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29735 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29736 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29737 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29738 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29739 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29740 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29741 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29742 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29743 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29744 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29745 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29746 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29747 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29748 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29749 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29750 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29751 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29752 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29753 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29754 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29755 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29756 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29757 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29758 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29759 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29760 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29761 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29762 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29763 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29764 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29765 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29766 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29767 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29768 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29769 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29770 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29771 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29772 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29773 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29774 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29775 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29776 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29777 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29778 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29779 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29780 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29781 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29782 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29783 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29784 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29785 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29786 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29787 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29788 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29789 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29790 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29791 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29792 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29793 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29794 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29795 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29796 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29797 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29798 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29799 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29800 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29801 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29802 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29803 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29804 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29805 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29806 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29807 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29808 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29809 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29810 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29811 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29812 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29813 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29814 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29815 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29816 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29817 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29818 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29819 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29820 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29821 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29822 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29823 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29824 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29825 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29826 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29827 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29828 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29829 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29830 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29831 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29832 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29833 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29834 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29835 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29836 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29837 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29838 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29839 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29840 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29841 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29842 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29843 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29844 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29845 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29846 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29847 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29848 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29849 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29850 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29851 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29852 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29853 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29854 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29855 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29856 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29857 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29858 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29859 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29860 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29861 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29862 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29863 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29864 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29865 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29866 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29867 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29869 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29870 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29871 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29872 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29873 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29874 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29876 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29877 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29878 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29879 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29880 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29881 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29882 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29883 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29884 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29885 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29886 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29887 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29888 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29889 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29890 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29891 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29892 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29893 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29894 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29895 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29896 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29897 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29898 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29899 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29900 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29901 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29902 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29903 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29904 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29905 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29906 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29907 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29908 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29909 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29910 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29911 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29912 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29913 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29914 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29915 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29916 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29917 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29918 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29919 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29920 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29921 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29922 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29923 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29924 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29925 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29926 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29927 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29928 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29929 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29930 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29931 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29932 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29933 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29934 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29935 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29936 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29937 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29938 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29939 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29940 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29941 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29942 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29943 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29944 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29945 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29946 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29947 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29948 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29949 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29950 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29951 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29952 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29953 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29954 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29955 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29956 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29957 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29958 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29959 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29960 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29961 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29962 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29963 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29964 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29965 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29966 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29967 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29968 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29969 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29970 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29971 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29972 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29973 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29974 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29975 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29976 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29977 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29978 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29979 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29980 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29981 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29982 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29983 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29984 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29985 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29986 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29987 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29988 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29989 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29990 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
29991 { NULL
, NULL
, 0, NULL
}
29995 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29997 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29998 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30000 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30001 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30003 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30004 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30006 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30007 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30009 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30010 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30012 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30013 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30015 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
30016 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
30018 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30019 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30021 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30022 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30024 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30025 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30027 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30028 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30030 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
30031 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
30033 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30034 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30036 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30037 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30039 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30040 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30042 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30043 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30045 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30046 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30048 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30049 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30051 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30052 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30054 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30055 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30057 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30058 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30060 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30061 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30063 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30064 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30066 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30067 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30069 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30070 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30072 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30073 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30075 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30076 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30078 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30079 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30081 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30082 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30084 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30087 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
30088 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
30090 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30091 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30093 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30094 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30096 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30099 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30102 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30103 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30105 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30106 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30108 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30109 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30111 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
30112 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
30114 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
30115 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
30117 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
30118 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30120 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
30121 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30123 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
30124 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
30126 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
30127 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30129 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
30130 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
30132 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
30133 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30135 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
30136 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30138 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
30139 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30141 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
30142 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30144 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
30145 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30147 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
30148 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30150 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
30151 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30153 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
30154 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30156 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
30157 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30159 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
30160 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30162 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30163 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30165 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30166 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30168 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30169 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30171 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30172 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30174 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30175 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30177 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
30178 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30180 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30181 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30183 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30184 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30186 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30187 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30189 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30192 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30193 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30195 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
30196 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
30198 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30199 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30201 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30202 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30204 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30205 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30207 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30208 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30210 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
30211 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
30213 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
30214 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
30216 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30217 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30219 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30220 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30222 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30223 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30225 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30226 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30228 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30229 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30231 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30232 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30234 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30235 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30237 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30238 return (void *)((wxObject
*) ((wxSizer
*) x
));
30240 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30241 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30243 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
30244 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
30246 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30249 static void *_p_wxEventTo_p_wxObject(void *x
) {
30250 return (void *)((wxObject
*) ((wxEvent
*) x
));
30252 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30253 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30255 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30256 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30258 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30259 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30261 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30262 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30264 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30265 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30267 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30268 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30270 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30271 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30273 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30274 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30276 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30277 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30279 static void *_p_wxControlTo_p_wxObject(void *x
) {
30280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30282 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30283 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30285 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
30286 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
30288 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30289 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30291 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
30292 return (void *)((wxObject
*) ((wxClipboard
*) x
));
30294 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30295 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30297 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30298 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30300 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30301 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30303 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30304 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30306 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
30307 return (void *)((wxObject
*) ((wxToolTip
*) x
));
30309 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30310 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30312 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30313 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30315 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30318 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30319 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30321 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30322 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30324 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30325 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30327 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30328 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30330 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30331 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30333 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30334 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30336 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30337 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30339 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30340 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30342 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30343 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30345 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30346 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30348 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30349 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30351 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30352 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30354 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30355 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30357 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30358 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30360 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30361 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30363 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30366 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30367 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30369 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30372 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30373 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30375 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30376 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30378 static void *_p_wxImageTo_p_wxObject(void *x
) {
30379 return (void *)((wxObject
*) ((wxImage
*) x
));
30381 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30382 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30384 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
30385 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
30387 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
30388 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
30390 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30393 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30394 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30396 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30397 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30399 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30400 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30402 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30403 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30405 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30408 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
30409 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
30411 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30412 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30414 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30415 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30417 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30418 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30420 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30421 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30423 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30424 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30426 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30427 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30429 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30430 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30432 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
30433 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
30435 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30438 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30439 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30441 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30442 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30444 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30445 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30447 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30450 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
30451 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
30453 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30456 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30459 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30460 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30462 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
30463 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
30465 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
30466 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
30468 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
30469 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
30471 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
30472 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
30474 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
30475 return (void *)((wxLog
*) ((wxLogChain
*) x
));
30477 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
30478 return (void *)((wxLog
*) ((wxLogGui
*) x
));
30480 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
30481 return (void *)((wxLog
*) ((wxPyLog
*) x
));
30483 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30484 return (void *)((wxWindow
*) ((wxControl
*) x
));
30486 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30487 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30489 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30490 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30492 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
30493 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
30495 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
30496 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
30498 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}};
30499 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}};
30500 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}};
30501 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}};
30502 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}};
30503 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}};
30504 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}};
30505 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}};
30506 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}};
30507 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}};
30508 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}};
30509 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}};
30510 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}};
30511 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}};
30512 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}};
30513 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}};
30514 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}};
30515 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}};
30516 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}};
30517 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}};
30518 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}};
30519 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}};
30520 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}};
30521 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}};
30522 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}};
30523 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}};
30524 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}};
30525 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}};
30526 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}};
30527 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}};
30528 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}};
30529 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}};
30530 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}};
30531 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}};
30532 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}};
30533 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}};
30534 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}};
30535 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}};
30536 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}};
30537 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}};
30538 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}};
30539 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}};
30540 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}};
30541 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}};
30542 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}};
30543 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}};
30544 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}};
30545 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}};
30546 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}};
30547 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}};
30548 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}};
30549 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}};
30550 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}};
30551 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}};
30552 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}};
30553 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}};
30554 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}};
30555 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}};
30556 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}};
30557 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}};
30558 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}};
30559 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}};
30560 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}};
30561 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}};
30562 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}};
30563 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}};
30564 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}};
30565 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}};
30566 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}};
30567 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}};
30568 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}};
30569 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}};
30570 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}};
30571 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}};
30572 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}};
30573 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}};
30574 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}};
30575 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}};
30576 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}};
30577 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}};
30578 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}};
30579 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}};
30580 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}};
30581 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}};
30582 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}};
30583 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}};
30584 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}};
30585 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}};
30587 static swig_type_info
*swig_types_initial
[] = {
30588 _swigt__p_wxLogChain
,
30589 _swigt__p_wxMutexGuiLocker
,
30590 _swigt__p_wxMetafile
,
30591 _swigt__p_wxFileHistory
,
30593 _swigt__p_wxDateTime__TimeZone
,
30596 _swigt__p_wxConfigBase
,
30597 _swigt__p_wxDisplay
,
30598 _swigt__p_wxFileType
,
30599 _swigt__p_wxLogGui
,
30601 _swigt__p_wxDataFormat
,
30602 _swigt__p_wxTimerEvent
,
30606 _swigt__p_wxClipboard
,
30607 _swigt__p_wxStopWatch
,
30609 _swigt__p_wxClipboardLocker
,
30611 _swigt__p_wxLogStderr
,
30612 _swigt__p_wxLogTextCtrl
,
30613 _swigt__p_wxTextCtrl
,
30614 _swigt__p_wxBusyCursor
,
30615 _swigt__p_wxPyTextDataObject
,
30616 _swigt__p_wxBitmapDataObject
,
30617 _swigt__p_wxTextDataObject
,
30618 _swigt__p_wxDataObject
,
30619 _swigt__p_wxPyBitmapDataObject
,
30620 _swigt__p_wxFileDataObject
,
30621 _swigt__p_wxCustomDataObject
,
30622 _swigt__p_wxURLDataObject
,
30623 _swigt__p_wxMetafileDataObject
,
30625 _swigt__p_wxTimerRunner
,
30626 _swigt__p_wxLogWindow
,
30627 _swigt__p_wxTimeSpan
,
30628 _swigt__p_wxArrayString
,
30629 _swigt__p_wxWindowDisabler
,
30630 _swigt__p_wxToolTip
,
30631 _swigt__p_wxDataObjectComposite
,
30632 _swigt__p_wxFileConfig
,
30633 _swigt__p_wxSystemSettings
,
30634 _swigt__p_wxVideoMode
,
30635 _swigt__p_wxPyDataObjectSimple
,
30636 _swigt__p_wxDataObjectSimple
,
30637 _swigt__p_wxEvtHandler
,
30640 _swigt__p_wxSingleInstanceChecker
,
30641 _swigt__p_wxStandardPaths
,
30642 _swigt__p_wxFileTypeInfo
,
30645 _swigt__p_wxMimeTypesManager
,
30646 _swigt__p_wxPyArtProvider
,
30647 _swigt__p_wxPyTipProvider
,
30648 _swigt__p_wxTipProvider
,
30649 _swigt__p_wxJoystick
,
30650 _swigt__p_wxSystemOptions
,
30652 _swigt__p_wxJoystickEvent
,
30653 _swigt__p_wxCursor
,
30654 _swigt__p_wxObject
,
30655 _swigt__p_wxOutputStream
,
30656 _swigt__p_wxDateTime
,
30657 _swigt__p_wxPyDropSource
,
30658 _swigt__p_wxKillError
,
30659 _swigt__p_wxWindow
,
30660 _swigt__p_wxString
,
30661 _swigt__p_wxPyProcess
,
30662 _swigt__p_wxBitmap
,
30663 _swigt__p_wxConfig
,
30665 _swigt__p_wxBusyInfo
,
30666 _swigt__p_wxPyDropTarget
,
30667 _swigt__p_wxPyTextDropTarget
,
30668 _swigt__p_wxPyFileDropTarget
,
30669 _swigt__p_wxProcessEvent
,
30671 _swigt__p_wxLogNull
,
30672 _swigt__p_wxColour
,
30673 _swigt__p_wxConfigPathChanger
,
30674 _swigt__p_wxPyTimer
,
30675 _swigt__p_wxDateSpan
,
30680 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30682 static swig_const_info swig_const_table
[] = {
30683 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30684 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30685 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30686 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30687 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30688 {0, 0, 0, 0.0, 0, 0}};
30697 SWIGEXPORT(void) SWIG_init(void) {
30698 static PyObject
*SWIG_globals
= 0;
30699 static int typeinit
= 0;
30702 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30703 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30704 d
= PyModule_GetDict(m
);
30707 for (i
= 0; swig_types_initial
[i
]; i
++) {
30708 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30712 SWIG_InstallConstants(d
,swig_const_table
);
30714 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30715 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30716 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30717 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30718 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30719 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30720 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30721 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30722 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30723 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30724 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30725 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30726 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30727 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30728 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30729 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30730 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30731 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30732 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30733 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30734 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30735 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30736 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30737 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30738 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30739 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30740 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30741 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30742 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30743 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30744 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30745 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30746 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30747 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30748 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30749 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30750 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30751 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30752 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30753 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30754 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30755 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30756 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30757 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30758 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30759 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30760 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30761 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30762 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30763 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30764 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30765 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30766 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30767 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30768 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30769 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30770 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30771 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30772 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30773 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30774 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30775 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30776 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30777 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30778 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30779 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30780 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30781 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30782 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30783 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30784 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30785 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30786 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30787 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30788 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30789 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30790 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30791 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30792 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30793 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30794 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30795 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30796 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30797 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30798 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30799 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30800 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30801 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30802 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30803 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30804 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30805 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30806 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30807 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30808 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30809 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30810 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30811 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30812 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30813 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30814 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30816 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30818 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30819 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30820 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30821 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30822 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30823 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30824 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30825 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30826 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30827 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30828 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30829 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30830 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30831 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30832 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30833 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30834 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30835 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30836 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30837 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30838 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30839 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30840 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30841 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30842 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30843 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30844 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30845 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30846 PyDict_SetItemString(d
,"KILL_NOCHILDREN", SWIG_From_int((int)wxKILL_NOCHILDREN
));
30847 PyDict_SetItemString(d
,"KILL_CHILDREN", SWIG_From_int((int)wxKILL_CHILDREN
));
30848 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30849 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30850 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30851 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30852 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30853 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30854 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30855 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30856 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30857 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30858 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30859 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30860 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30861 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30862 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30863 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30864 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30865 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30866 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30867 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30868 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30869 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30871 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30873 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30874 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30875 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30876 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30877 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30878 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30879 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30880 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30881 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30882 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30883 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30884 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30885 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30886 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30887 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30888 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30889 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30890 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30891 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30892 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30893 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30894 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30895 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30896 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30897 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30898 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30899 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30900 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30901 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30902 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30903 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30904 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30905 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30906 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30907 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30908 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30909 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30910 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30911 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30912 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30913 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30914 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30915 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30916 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30917 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30918 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30919 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30920 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30921 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
30922 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
30923 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
30924 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
30925 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30926 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
30927 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30928 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30929 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30930 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30931 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30932 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30933 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30934 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30935 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30936 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30938 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30940 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30941 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30942 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30943 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30944 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30945 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30946 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30947 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30948 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30949 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30950 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30951 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30952 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30953 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30954 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30955 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30956 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30957 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30958 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30959 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30960 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30961 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30962 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30963 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30964 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30965 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30966 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30967 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30968 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30969 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30970 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30971 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30972 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30973 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30974 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30975 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30976 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30977 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30978 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30979 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30980 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30981 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30982 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30983 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30984 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30985 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30986 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30987 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30988 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30989 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30990 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30991 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30992 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30993 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30994 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30995 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30996 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30997 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30998 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30999 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
31000 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
31001 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
31002 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
31003 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
31004 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
31005 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
31006 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
31007 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
31008 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
31009 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
31010 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
31011 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
31012 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
31013 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
31014 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
31015 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
31016 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
31017 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
31018 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
31019 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
31020 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
31021 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
31022 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
31023 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
31024 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
31025 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
31026 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
31027 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
31028 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
31029 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
31030 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
31031 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
31032 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
31033 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
31034 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
31035 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
31036 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
31037 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
31038 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
31039 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
31040 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
31041 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
31042 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
31043 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
31044 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
31045 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
31046 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
31047 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
31048 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
31049 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
31050 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
31051 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
31052 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
31053 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
31054 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
31055 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
31056 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
31057 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
31058 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
31059 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
31060 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
31061 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
31062 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
31063 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
31064 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
31065 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
31066 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
31067 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
31068 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
31069 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
31070 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
31071 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
31072 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
31073 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
31074 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
31075 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
31076 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
31077 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
31078 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
31079 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
31080 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
31081 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
31082 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
31083 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
31084 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
31085 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
31086 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
31087 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
31088 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
31089 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
31090 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
31091 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
31092 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
31093 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
31094 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
31095 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
31096 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
31097 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
31098 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
31099 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
31100 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
31101 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
31102 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
31103 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
31104 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
31105 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
31106 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
31107 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
31108 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
31109 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
31110 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
31111 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
31112 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
31113 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
31114 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
31115 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
31116 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
31117 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
31118 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
31119 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
31120 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
31121 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
31122 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
31123 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
31124 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
31125 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
31126 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
31127 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
31128 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
31129 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
31130 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
31131 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
31132 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
31133 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
31134 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
31135 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
31136 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
31137 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
31138 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
31139 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
31141 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
31142 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
31143 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
31144 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
31146 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);