1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLogChain swig_types[0]
212 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
213 #define SWIGTYPE_p_wxFileHistory swig_types[2]
214 #define SWIGTYPE_p_wxLog swig_types[3]
215 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
216 #define SWIGTYPE_p_wxMenu swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxConfigBase swig_types[7]
219 #define SWIGTYPE_p_wxDisplay swig_types[8]
220 #define SWIGTYPE_p_wxFileType swig_types[9]
221 #define SWIGTYPE_p_wxLogGui swig_types[10]
222 #define SWIGTYPE_p_wxFont swig_types[11]
223 #define SWIGTYPE_p_wxDataFormat swig_types[12]
224 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
225 #define SWIGTYPE_p_wxCaret swig_types[14]
226 #define SWIGTYPE_p_int swig_types[15]
227 #define SWIGTYPE_p_wxSize swig_types[16]
228 #define SWIGTYPE_p_wxClipboard swig_types[17]
229 #define SWIGTYPE_p_wxStopWatch swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxLogStderr swig_types[22]
234 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
235 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
236 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
237 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[26]
238 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
239 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
240 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
241 #define SWIGTYPE_p_wxDataObject swig_types[30]
242 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
243 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
244 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
245 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
246 #define SWIGTYPE_p_wxSound swig_types[35]
247 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
248 #define SWIGTYPE_p_wxLogWindow swig_types[37]
249 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
250 #define SWIGTYPE_p_wxArrayString swig_types[39]
251 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
252 #define SWIGTYPE_p_wxToolTip swig_types[41]
253 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
254 #define SWIGTYPE_p_wxFileConfig swig_types[43]
255 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
256 #define SWIGTYPE_p_wxVideoMode swig_types[45]
257 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
258 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_char swig_types[50]
262 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
263 #define SWIGTYPE_p_wxStandardPaths swig_types[52]
264 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
265 #define SWIGTYPE_p_wxFrame swig_types[54]
266 #define SWIGTYPE_p_wxTimer swig_types[55]
267 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
268 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
269 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
270 #define SWIGTYPE_p_wxTipProvider swig_types[59]
271 #define SWIGTYPE_p_wxJoystick swig_types[60]
272 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
273 #define SWIGTYPE_p_wxPoint swig_types[62]
274 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
275 #define SWIGTYPE_p_wxCursor swig_types[64]
276 #define SWIGTYPE_p_wxObject swig_types[65]
277 #define SWIGTYPE_p_wxOutputStream swig_types[66]
278 #define SWIGTYPE_p_wxDateTime swig_types[67]
279 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
280 #define SWIGTYPE_p_wxWindow swig_types[69]
281 #define SWIGTYPE_p_wxString swig_types[70]
282 #define SWIGTYPE_p_wxPyProcess swig_types[71]
283 #define SWIGTYPE_p_wxBitmap swig_types[72]
284 #define SWIGTYPE_p_wxConfig swig_types[73]
285 #define SWIGTYPE_p_wxChar swig_types[74]
286 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
287 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
288 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
289 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
290 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
291 #define SWIGTYPE_p_wxPyLog swig_types[80]
292 #define SWIGTYPE_p_wxLogNull swig_types[81]
293 #define SWIGTYPE_p_wxColour swig_types[82]
294 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
295 #define SWIGTYPE_p_wxPyTimer swig_types[84]
296 #define SWIGTYPE_p_wxDateSpan swig_types[85]
297 static swig_type_info
*swig_types
[87];
299 /* -------- TYPES TABLE (END) -------- */
302 /*-----------------------------------------------
303 @(target):= _misc_.so
304 ------------------------------------------------*/
305 #define SWIG_init init_misc_
307 #define SWIG_name "_misc_"
309 /* Auxiliar swig macros that appear in the header */
311 #define SWIG_OLDOBJ 1
312 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
313 #define SWIG_PYSTR SWIG_NEWOBJ + 1
316 #define SWIGSTATICINLINE(a) static inline a
317 #define SWIGSTATIC(a) static a
318 #define swig_new_array(size,Type) (new Type[(size)])
319 #define swig_delete(cptr) delete cptr
320 #define swig_delete_array(cptr) delete[] cptr
321 #define swig_const_cast(a,Type) const_cast<Type >(a)
322 #define swig_static_cast(a,Type) static_cast<Type >(a)
323 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
324 #define swig_new_copy(ptr,Type) (new Type(*ptr))
325 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
329 #define SWIGSTATICINLINE(a) static a
330 #define SWIGSTATIC(a) static a
331 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
332 #define swig_delete(cptr) free((char*)cptr)
333 #define swig_delete_array(cptr) free((char*)cptr)
334 #define swig_const_cast(a,Type) (Type)(a)
335 #define swig_static_cast(a,Type) (Type)(a)
336 #define swig_reinterpret_cast(a,Type) (Type)(a)
337 #define swig_numeric_cast(a,Type) (Type)(a)
338 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
340 #endif /* __cplusplus */
343 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
344 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
347 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
350 #define SWIG_From_short PyInt_FromLong
352 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
353 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
356 #define SWIG_From_int PyInt_FromLong
358 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
359 #define SWIG_From_long PyInt_FromLong
361 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
362 #define SWIG_From_float PyFloat_FromDouble
364 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
365 #define SWIG_From_double PyFloat_FromDouble
369 #include "wx/wxPython/wxPython.h"
370 #include "wx/wxPython/pyclasses.h"
371 #include "wx/wxPython/pyistream.h"
373 static const wxString
wxPyEmptyString(wxEmptyString
);
380 SWIGSTATICINLINE(int)
381 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
384 if (value
< min_value
) {
386 PyErr_Format(PyExc_OverflowError
,
387 "value %ld is less than '%s' minimum %ld",
388 value
, errmsg
, min_value
);
391 } else if (value
> max_value
) {
393 PyErr_Format(PyExc_OverflowError
,
394 "value %ld is greater than '%s' maximum %ld",
395 value
, errmsg
, max_value
);
403 // See my_fragments.i
404 SWIGSTATICINLINE(int)
405 SWIG_AsVal_long(PyObject
* obj
, long* val
)
407 if (PyNumber_Check(obj
)) {
408 if (val
) *val
= PyInt_AsLong(obj
);
412 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
413 obj
->ob_type
->tp_name
);
414 PyErr_SetObject(PyExc_TypeError
, errmsg
);
421 #if INT_MAX != LONG_MAX
422 SWIGSTATICINLINE(int)
423 SWIG_AsVal_int(PyObject
*obj
, int *val
)
425 const char* errmsg
= val
? "int" : 0;
427 if (SWIG_AsVal_long(obj
, &v
)) {
428 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
429 if (val
) *val
= swig_numeric_cast(v
, int);
438 PyErr_SetString(PyExc_TypeError
, "an int is expected");
443 SWIGSTATICINLINE(int)
444 SWIG_AsVal_int(PyObject
*obj
, int *val
)
446 return SWIG_AsVal_long(obj
,(long*)val
);
451 SWIGSTATICINLINE(int)
452 SWIG_As_int(PyObject
* obj
)
455 if (!SWIG_AsVal_int(obj
, &v
)) {
457 this is needed to make valgrind/purify happier. the other
458 solution is throw an exception, but since this code should work
461 memset((void*)&v
, 0, sizeof(int));
467 SWIGSTATICINLINE(int)
468 SWIG_Check_int(PyObject
* obj
)
470 return SWIG_AsVal_int(obj
, (int*)0);
473 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
475 #include <wx/stockitem.h>
477 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
478 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
479 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
481 SWIGSTATICINLINE(long)
482 SWIG_As_long(PyObject
* obj
)
485 if (!SWIG_AsVal_long(obj
, &v
)) {
487 this is needed to make valgrind/purify happier. the other
488 solution is throw an exception, but since this code should work
491 memset((void*)&v
, 0, sizeof(long));
497 SWIGSTATICINLINE(int)
498 SWIG_Check_long(PyObject
* obj
)
500 return SWIG_AsVal_long(obj
, (long*)0);
504 SWIGSTATICINLINE(int)
505 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
507 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
508 if (obj
== Py_True
) {
509 if (val
) *val
= true;
512 if (obj
== Py_False
) {
513 if (val
) *val
= false;
517 if (SWIG_AsVal_int(obj
, &res
)) {
518 if (val
) *val
= (bool)res
;
522 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
528 SWIGSTATICINLINE(bool)
529 SWIG_As_bool(PyObject
* obj
)
532 if (!SWIG_AsVal_bool(obj
, &v
)) {
534 this is needed to make valgrind/purify happier. the other
535 solution is throw an exception, but since this code should work
538 memset((void*)&v
, 0, sizeof(bool));
544 SWIGSTATICINLINE(int)
545 SWIG_Check_bool(PyObject
* obj
)
547 return SWIG_AsVal_bool(obj
, (bool*)0);
551 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
557 } else if (target
== Py_None
) {
561 if (!PyTuple_Check(target
)) {
563 target
= PyTuple_New(1);
564 PyTuple_SetItem(target
, 0, o2
);
567 PyTuple_SetItem(o3
, 0, o
);
570 target
= PySequence_Concat(o2
, o3
);
579 long wxGetFreeMemory()
580 { wxPyRaiseNotImplemented(); return 0; }
583 // See my_fragments.i
584 SWIGSTATICINLINE(int)
585 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
588 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
589 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
593 *val
= (unsigned long)v
;
598 SWIGSTATICINLINE(unsigned long)
599 SWIG_As_unsigned_SS_long(PyObject
* obj
)
602 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
604 this is needed to make valgrind/purify happier. the other
605 solution is throw an exception, but since this code should work
608 memset((void*)&v
, 0, sizeof(unsigned long));
614 SWIGSTATICINLINE(int)
615 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
617 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
621 SWIGSTATICINLINE(PyObject
* )
622 SWIG_From_unsigned_SS_long(unsigned long value
)
624 return (value
> LONG_MAX
) ?
625 PyLong_FromUnsignedLong(value
)
626 : PyInt_FromLong(swig_numeric_cast(value
,long));
630 void wxWakeUpMainThread() {}
633 bool wxThread_IsMain() {
634 #ifdef WXP_WITH_THREAD
635 return wxThread::IsMain();
642 int wxCaret_GetBlinkTime() {
643 return wxCaret::GetBlinkTime();
646 void wxCaret_SetBlinkTime(int milliseconds
) {
647 wxCaret::SetBlinkTime(milliseconds
);
651 #include <wx/snglinst.h>
655 #include <wx/msw/private.h>
656 #include <wx/dynload.h>
661 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
668 // This one only partially works. Appears to be an undocumented
669 // "standard" convention that not all widgets adhear to. For
670 // example, for some widgets backgrounds or non-client areas may
672 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
676 // This one works much better, except for on XP. On Win2k nearly
677 // all widgets and their children are captured correctly[**]. On
678 // XP with Themes activated most native widgets draw only
679 // partially, if at all. Without themes it works just like on
682 // ** For example the radio buttons in a wxRadioBox are not its
683 // children by default, but you can capture it via the panel
684 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
685 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
686 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
687 PRF_ERASEBKGND
| PRF_OWNED
);
691 // This one is only defined in the latest SDK and is only
692 // available on XP. MSDN says it is similar to sending WM_PRINT
693 // so I expect that it will work similar to the above. Since it
694 // is avaialble only on XP, it can't be compiled like this and
695 // will have to be loaded dynamically.
696 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
701 // Use PrintWindow if available, or fallback to WM_PRINT
702 // otherwise. Unfortunately using PrintWindow is even worse than
703 // WM_PRINT. For most native widgets nothing is drawn to the dc
704 // at all, with or without Themes.
705 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
706 static bool s_triedToLoad
= false;
707 static PrintWindow_t pfnPrintWindow
= NULL
;
708 if ( !s_triedToLoad
)
711 s_triedToLoad
= true;
712 wxDynamicLibrary
dllUser32(_T("user32.dll"));
713 if ( dllUser32
.IsLoaded() )
715 wxLogNull nolog
; // Don't report errors here
716 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
721 printf("Using PrintWindow\n");
722 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
726 printf("Using WM_PRINT\n");
727 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
728 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
736 #include <wx/tipdlg.h>
739 class wxPyTipProvider
: public wxTipProvider
{
741 wxPyTipProvider(size_t currentTip
)
742 : wxTipProvider(currentTip
) {}
744 DEC_PYCALLBACK_STRING__pure(GetTip
);
745 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
749 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
750 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
753 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
755 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
757 void wxPyTimer::Notify() {
759 bool blocked
= wxPyBeginBlockThreads();
760 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
761 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
762 wxPyEndBlockThreads(blocked
);
766 void wxPyTimer::base_Notify() {
772 SWIGSTATICINLINE(PyObject
*)
773 SWIG_FromCharPtr(const char* cptr
)
776 size_t size
= strlen(cptr
);
777 if (size
> INT_MAX
) {
778 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
779 SWIG_TypeQuery("char *"), 0);
782 return PyString_FromStringAndSize(cptr
, size
);
784 return PyString_FromString(cptr
);
793 SWIGSTATICINLINE(int)
794 SWIG_CheckUnsignedLongInRange(unsigned long value
,
795 unsigned long max_value
,
798 if (value
> max_value
) {
800 PyErr_Format(PyExc_OverflowError
,
801 "value %ld is greater than '%s' minimum %ld",
802 value
, errmsg
, max_value
);
810 #if UINT_MAX != ULONG_MAX
811 SWIGSTATICINLINE(int)
812 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
814 const char* errmsg
= val
? "unsigned int" : 0;
816 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
817 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
818 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
825 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
830 SWIGSTATICINLINE(unsigned int)
831 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
833 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
838 SWIGSTATICINLINE(unsigned int)
839 SWIG_As_unsigned_SS_int(PyObject
* obj
)
842 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
844 this is needed to make valgrind/purify happier. the other
845 solution is throw an exception, but since this code should work
848 memset((void*)&v
, 0, sizeof(unsigned int));
854 SWIGSTATICINLINE(int)
855 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
857 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
860 wxString
Log_TimeStamp(){
862 wxLog::TimeStamp(&msg
);
865 void wxLog_Destroy(wxLog
*self
){ delete self
; }
866 // Make somce wrappers that double any % signs so they are 'escaped'
867 void wxPyLogFatalError(const wxString
& msg
)
870 m
.Replace(wxT("%"), wxT("%%"));
874 void wxPyLogError(const wxString
& msg
)
877 m
.Replace(wxT("%"), wxT("%%"));
881 void wxPyLogWarning(const wxString
& msg
)
884 m
.Replace(wxT("%"), wxT("%%"));
888 void wxPyLogMessage(const wxString
& msg
)
891 m
.Replace(wxT("%"), wxT("%%"));
895 void wxPyLogInfo(const wxString
& msg
)
898 m
.Replace(wxT("%"), wxT("%%"));
902 void wxPyLogDebug(const wxString
& msg
)
905 m
.Replace(wxT("%"), wxT("%%"));
909 void wxPyLogVerbose(const wxString
& msg
)
912 m
.Replace(wxT("%"), wxT("%%"));
916 void wxPyLogStatus(const wxString
& msg
)
919 m
.Replace(wxT("%"), wxT("%%"));
923 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
926 m
.Replace(wxT("%"), wxT("%%"));
927 wxLogStatus(pFrame
, m
);
930 void wxPyLogSysError(const wxString
& msg
)
933 m
.Replace(wxT("%"), wxT("%%"));
937 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
940 m
.Replace(wxT("%"), wxT("%%"));
941 wxLogGeneric(level
, m
);
944 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
947 m
.Replace(wxT("%"), wxT("%%"));
951 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
954 m
.Replace(wxT("%"), wxT("%%"));
960 // A wxLog class that can be derived from in wxPython
961 class wxPyLog
: public wxLog
{
963 wxPyLog() : wxLog() {}
965 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
967 bool blocked
= wxPyBeginBlockThreads();
968 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
969 PyObject
* s
= wx2PyString(szString
);
970 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
973 wxPyEndBlockThreads(blocked
);
975 wxLog::DoLog(level
, szString
, t
);
978 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
980 bool blocked
= wxPyBeginBlockThreads();
981 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
982 PyObject
* s
= wx2PyString(szString
);
983 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
986 wxPyEndBlockThreads(blocked
);
988 wxLog::DoLogString(szString
, t
);
997 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
1000 #include <wx/joystick.h>
1003 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
1004 // A C++ stub class for wxJoystick for platforms that don't have it.
1005 class wxJoystick
: public wxObject
{
1007 wxJoystick(int joystick
= wxJOYSTICK1
) {
1008 bool blocked
= wxPyBeginBlockThreads();
1009 PyErr_SetString(PyExc_NotImplementedError
,
1010 "wxJoystick is not available on this platform.");
1011 wxPyEndBlockThreads(blocked
);
1013 wxPoint
GetPosition() { return wxPoint(-1,-1); }
1014 int GetZPosition() { return -1; }
1015 int GetButtonState() { return -1; }
1016 int GetPOVPosition() { return -1; }
1017 int GetPOVCTSPosition() { return -1; }
1018 int GetRudderPosition() { return -1; }
1019 int GetUPosition() { return -1; }
1020 int GetVPosition() { return -1; }
1021 int GetMovementThreshold() { return -1; }
1022 void SetMovementThreshold(int threshold
) {}
1024 bool IsOk(void) { return false; }
1025 int GetNumberJoysticks() { return -1; }
1026 int GetManufacturerId() { return -1; }
1027 int GetProductId() { return -1; }
1028 wxString
GetProductName() { return wxEmptyString
; }
1029 int GetXMin() { return -1; }
1030 int GetYMin() { return -1; }
1031 int GetZMin() { return -1; }
1032 int GetXMax() { return -1; }
1033 int GetYMax() { return -1; }
1034 int GetZMax() { return -1; }
1035 int GetNumberButtons() { return -1; }
1036 int GetNumberAxes() { return -1; }
1037 int GetMaxButtons() { return -1; }
1038 int GetMaxAxes() { return -1; }
1039 int GetPollingMin() { return -1; }
1040 int GetPollingMax() { return -1; }
1041 int GetRudderMin() { return -1; }
1042 int GetRudderMax() { return -1; }
1043 int GetUMin() { return -1; }
1044 int GetUMax() { return -1; }
1045 int GetVMin() { return -1; }
1046 int GetVMax() { return -1; }
1048 bool HasRudder() { return false; }
1049 bool HasZ() { return false; }
1050 bool HasU() { return false; }
1051 bool HasV() { return false; }
1052 bool HasPOV() { return false; }
1053 bool HasPOV4Dir() { return false; }
1054 bool HasPOVCTS() { return false; }
1056 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
1057 bool ReleaseCapture() { return false; }
1062 #include <wx/sound.h>
1066 // A C++ stub class for wxWave for platforms that don't have it.
1067 class wxSound
: public wxObject
1071 bool blocked
= wxPyBeginBlockThreads();
1072 PyErr_SetString(PyExc_NotImplementedError
,
1073 "wxSound is not available on this platform.");
1074 wxPyEndBlockThreads(blocked
);
1076 wxSound(const wxString
&/*, bool*/) {
1077 bool blocked
= wxPyBeginBlockThreads();
1078 PyErr_SetString(PyExc_NotImplementedError
,
1079 "wxSound is not available on this platform.");
1080 wxPyEndBlockThreads(blocked
);
1082 wxSound(int, const wxByte
*) {
1083 bool blocked
= wxPyBeginBlockThreads();
1084 PyErr_SetString(PyExc_NotImplementedError
,
1085 "wxSound is not available on this platform.");
1086 wxPyEndBlockThreads(blocked
);
1091 bool Create(const wxString
&/*, bool*/) { return false; }
1092 bool Create(int, const wxByte
*) { return false; };
1093 bool IsOk() { return false; };
1094 bool Play(unsigned) const { return false; }
1095 static bool Play(const wxString
&, unsigned) { return false; }
1096 static void Stop() {}
1101 wxSound
*new_wxSound(wxString
const &fileName
){
1102 if (fileName
.Length() == 0)
1105 return new wxSound(fileName
);
1107 wxSound
*new_wxSound(PyObject
*data
){
1108 unsigned char* buffer
; int size
;
1109 wxSound
*sound
= NULL
;
1111 bool blocked
= wxPyBeginBlockThreads();
1112 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1114 sound
= new wxSound(size
, buffer
);
1116 wxPyEndBlockThreads(blocked
);
1119 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1121 unsigned char* buffer
;
1125 bool blocked
= wxPyBeginBlockThreads();
1126 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1128 rv
= self
->Create(size
, buffer
);
1130 wxPyEndBlockThreads(blocked
);
1133 bool blocked
= wxPyBeginBlockThreads();
1134 PyErr_SetString(PyExc_NotImplementedError
,
1135 "Create from data is not available on this platform.");
1136 wxPyEndBlockThreads(blocked
);
1141 #include <wx/mimetype.h>
1143 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1145 if (self
->GetMimeType(&str
))
1146 return wx2PyString(str
);
1150 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1152 if (self
->GetMimeTypes(arr
))
1153 return wxArrayString2PyList_helper(arr
);
1157 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1159 if (self
->GetExtensions(arr
))
1160 return wxArrayString2PyList_helper(arr
);
1164 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1166 if (self
->GetIcon(&loc
))
1167 return new wxIcon(loc
);
1171 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1173 if (self
->GetIcon(&loc
)) {
1174 wxString iconFile
= loc
.GetFileName();
1179 // Make a tuple and put the values in it
1180 bool blocked
= wxPyBeginBlockThreads();
1181 PyObject
* tuple
= PyTuple_New(3);
1182 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1183 wxT("wxIcon"), true));
1184 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1185 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1186 wxPyEndBlockThreads(blocked
);
1192 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1194 if (self
->GetDescription(&str
))
1195 return wx2PyString(str
);
1199 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1201 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1202 return wx2PyString(str
);
1206 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1208 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1209 return wx2PyString(str
);
1213 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1214 wxArrayString verbs
;
1215 wxArrayString commands
;
1216 if (self
->GetAllCommands(&verbs
, &commands
,
1217 wxFileType::MessageParameters(filename
, mimetype
))) {
1218 bool blocked
= wxPyBeginBlockThreads();
1219 PyObject
* tuple
= PyTuple_New(2);
1220 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1221 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1222 wxPyEndBlockThreads(blocked
);
1228 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1229 return wxFileType::ExpandCommand(command
,
1230 wxFileType::MessageParameters(filename
, mimetype
));
1232 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1234 self
->EnumAllFileTypes(arr
);
1235 return wxArrayString2PyList_helper(arr
);
1238 #include <wx/artprov.h>
1240 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1241 static const wxString
wxPyART_MENU(wxART_MENU
);
1242 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1243 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1244 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1245 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1246 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1247 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1248 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1249 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1250 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1251 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1252 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1253 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1254 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1255 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1256 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1257 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1258 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1259 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1260 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1261 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1262 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1263 static const wxString
wxPyART_HELP(wxART_HELP
);
1264 static const wxString
wxPyART_TIP(wxART_TIP
);
1265 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1266 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1267 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1268 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
1269 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
1270 static const wxString
wxPyART_CDROM(wxART_CDROM
);
1271 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
1272 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1273 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
1274 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1275 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1276 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1277 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1278 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1279 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1280 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1281 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1282 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1283 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1284 // Python aware wxArtProvider
1285 class wxPyArtProvider
: public wxArtProvider
{
1288 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1289 const wxArtClient
& client
,
1290 const wxSize
& size
) {
1291 wxBitmap rval
= wxNullBitmap
;
1292 bool blocked
= wxPyBeginBlockThreads();
1293 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1294 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1298 s1
= wx2PyString(id
);
1299 s2
= wx2PyString(client
);
1300 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1305 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1310 wxPyEndBlockThreads(blocked
);
1317 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1321 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1322 PyObject
* ret
= PyTuple_New(3);
1324 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1325 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1326 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1331 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1336 cont
= self
->GetFirstGroup(value
, index
);
1337 return __EnumerationHelper(cont
, value
, index
);
1339 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1343 cont
= self
->GetNextGroup(value
, index
);
1344 return __EnumerationHelper(cont
, value
, index
);
1346 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1351 cont
= self
->GetFirstEntry(value
, index
);
1352 return __EnumerationHelper(cont
, value
, index
);
1354 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1358 cont
= self
->GetNextEntry(value
, index
);
1359 return __EnumerationHelper(cont
, value
, index
);
1361 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1363 self
->Read(key
, &rv
, defaultVal
);
1367 // See my_fragments.i
1368 SWIGSTATICINLINE(int)
1369 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1371 if (PyNumber_Check(obj
)) {
1372 if (val
) *val
= PyFloat_AsDouble(obj
);
1376 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1377 obj
->ob_type
->tp_name
);
1378 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1385 SWIGSTATICINLINE(double)
1386 SWIG_As_double(PyObject
* obj
)
1389 if (!SWIG_AsVal_double(obj
, &v
)) {
1391 this is needed to make valgrind/purify happier. the other
1392 solution is throw an exception, but since this code should work
1395 memset((void*)&v
, 0, sizeof(double));
1401 SWIGSTATICINLINE(int)
1402 SWIG_Check_double(PyObject
* obj
)
1404 return SWIG_AsVal_double(obj
, (double*)0);
1407 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1409 self
->Read(key
, &rv
, defaultVal
);
1412 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1414 self
->Read(key
, &rv
, defaultVal
);
1418 #include <wx/datetime.h>
1421 static const wxString
wxPyDateFormatStr(wxT("%c"));
1422 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1424 #define LOCAL_TZ wxDateTime::Local
1427 #if UINT_MAX < LONG_MAX
1428 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1429 #define SWIG_From_unsigned_SS_int SWIG_From_long
1432 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1433 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1437 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1438 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1439 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1440 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1441 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1442 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1443 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1444 return (*self
< *other
);
1446 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1447 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1448 return (*self
<= *other
);
1450 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1451 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1452 return (*self
> *other
);
1454 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1455 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1456 return (*self
>= *other
);
1458 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1459 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1460 return (*self
== *other
);
1462 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1463 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1464 return (*self
!= *other
);
1466 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1468 const wxChar
* _date
= date
;
1469 rv
= self
->ParseRfc822Date(_date
);
1470 if (rv
== NULL
) return -1;
1473 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1475 const wxChar
* _date
= date
;
1476 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1477 if (rv
== NULL
) return -1;
1480 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1482 const wxChar
* _datetime
= datetime
;
1483 rv
= self
->ParseDateTime(_datetime
);
1484 if (rv
== NULL
) return -1;
1485 return rv
- _datetime
;
1487 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1489 const wxChar
* _date
= date
;
1490 rv
= self
->ParseDate(_date
);
1491 if (rv
== NULL
) return -1;
1494 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1496 const wxChar
* _time
= time
;
1497 rv
= self
->ParseTime(_time
);
1498 if (rv
== NULL
) return -1;
1501 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1502 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1503 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1504 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1505 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1506 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1507 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1508 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1509 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1510 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1511 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1512 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1513 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1514 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1515 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1516 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1518 #include <wx/dataobj.h>
1520 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1521 size_t count
= self
->GetFormatCount(dir
);
1522 wxDataFormat
* formats
= new wxDataFormat
[count
];
1523 self
->GetAllFormats(formats
, dir
);
1525 bool blocked
= wxPyBeginBlockThreads();
1526 PyObject
* list
= PyList_New(count
);
1527 for (size_t i
=0; i
<count
; i
++) {
1528 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1529 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1530 PyList_Append(list
, obj
);
1533 wxPyEndBlockThreads(blocked
);
1537 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1538 PyObject
* rval
= NULL
;
1539 size_t size
= self
->GetDataSize(format
);
1540 bool blocked
= wxPyBeginBlockThreads();
1542 char* buf
= new char[size
];
1543 if (self
->GetDataHere(format
, buf
))
1544 rval
= PyString_FromStringAndSize(buf
, size
);
1551 wxPyEndBlockThreads(blocked
);
1554 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1556 bool blocked
= wxPyBeginBlockThreads();
1557 if (PyString_Check(data
)) {
1558 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1561 // raise a TypeError if not a string
1562 PyErr_SetString(PyExc_TypeError
, "String expected.");
1565 wxPyEndBlockThreads(blocked
);
1568 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1569 PyObject
* rval
= NULL
;
1570 size_t size
= self
->GetDataSize();
1571 bool blocked
= wxPyBeginBlockThreads();
1573 char* buf
= new char[size
];
1574 if (self
->GetDataHere(buf
))
1575 rval
= PyString_FromStringAndSize(buf
, size
);
1582 wxPyEndBlockThreads(blocked
);
1585 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1587 bool blocked
= wxPyBeginBlockThreads();
1588 if (PyString_Check(data
)) {
1589 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1592 // raise a TypeError if not a string
1593 PyErr_SetString(PyExc_TypeError
, "String expected.");
1596 wxPyEndBlockThreads(blocked
);
1599 // Create a new class for wxPython to use
1600 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1602 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1603 : wxDataObjectSimple(format
) {}
1605 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1606 bool GetDataHere(void *buf
) const;
1607 bool SetData(size_t len
, const void *buf
) const;
1611 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1613 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1614 // We need to get the data for this object and write it to buf. I think
1615 // the best way to do this for wxPython is to have the Python method
1616 // return either a string or None and then act appropriately with the
1620 bool blocked
= wxPyBeginBlockThreads();
1621 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1623 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1625 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1627 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1631 wxPyEndBlockThreads(blocked
);
1635 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1636 // For this one we simply need to make a string from buf and len
1637 // and send it to the Python method.
1639 bool blocked
= wxPyBeginBlockThreads();
1640 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1641 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1642 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1645 wxPyEndBlockThreads(blocked
);
1649 // Create a new class for wxPython to use
1650 class wxPyTextDataObject
: public wxTextDataObject
{
1652 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1653 : wxTextDataObject(text
) {}
1655 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1656 DEC_PYCALLBACK_STRING__const(GetText
);
1657 DEC_PYCALLBACK__STRING(SetText
);
1661 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1662 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1663 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1666 // Create a new class for wxPython to use
1667 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1669 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1670 : wxBitmapDataObject(bitmap
) {}
1672 wxBitmap
GetBitmap() const;
1673 void SetBitmap(const wxBitmap
& bitmap
);
1677 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1678 wxBitmap
* rval
= &wxNullBitmap
;
1679 bool blocked
= wxPyBeginBlockThreads();
1680 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1683 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1685 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1690 wxPyEndBlockThreads(blocked
);
1694 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1695 bool blocked
= wxPyBeginBlockThreads();
1696 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1697 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1698 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1701 wxPyEndBlockThreads(blocked
);
1704 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1706 bool blocked
= wxPyBeginBlockThreads();
1707 if (PyString_Check(data
)) {
1708 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1711 // raise a TypeError if not a string
1712 PyErr_SetString(PyExc_TypeError
, "String expected.");
1715 wxPyEndBlockThreads(blocked
);
1718 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1720 bool blocked
= wxPyBeginBlockThreads();
1721 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1722 wxPyEndBlockThreads(blocked
);
1726 class wxMetafileDataObject
: public wxDataObjectSimple
1729 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1733 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1736 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1737 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1738 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1739 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1740 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1743 class wxPyTextDropTarget
: public wxTextDropTarget
{
1745 wxPyTextDropTarget() {}
1747 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1749 DEC_PYCALLBACK__(OnLeave
);
1750 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1751 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1752 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1753 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1758 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1759 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1760 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1761 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1762 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1763 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1767 class wxPyFileDropTarget
: public wxFileDropTarget
{
1769 wxPyFileDropTarget() {}
1771 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1773 DEC_PYCALLBACK__(OnLeave
);
1774 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1775 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1776 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1777 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1782 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1783 const wxArrayString
& filenames
) {
1785 bool blocked
= wxPyBeginBlockThreads();
1786 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1787 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1788 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1791 wxPyEndBlockThreads(blocked
);
1797 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1798 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1799 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1800 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1801 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1806 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1808 #include <wx/display.h>
1810 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1811 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1813 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1815 #include <wx/dynarray.h>
1816 #include <wx/vidmode.h>
1818 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1819 #include "wx/arrimpl.cpp"
1820 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1821 const wxVideoMode wxDefaultVideoMode
;
1826 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1829 static size_t GetCount()
1830 { wxPyRaiseNotImplemented(); return 0; }
1832 static int GetFromPoint(const wxPoint
& pt
)
1833 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1834 static int GetFromWindow(wxWindow
*window
)
1835 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1837 virtual bool IsOk() const { return false; }
1838 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1839 virtual wxString
GetName() const { return wxEmptyString
; }
1840 bool IsPrimary() const { return false; }
1842 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1843 { wxArrayVideoModes a
; return a
; }
1845 virtual wxVideoMode
GetCurrentMode() const
1846 { return wxDefaultVideoMode
; }
1848 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1855 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1856 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1857 PyObject
* pyList
= NULL
;
1858 wxArrayVideoModes arr
= self
->GetModes(mode
);
1859 bool blocked
= wxPyBeginBlockThreads();
1860 pyList
= PyList_New(0);
1861 for (int i
=0; i
< arr
.GetCount(); i
++) {
1862 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1863 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1864 PyList_Append(pyList
, pyObj
);
1867 wxPyEndBlockThreads(blocked
);
1871 #include <wx/stdpaths.h>
1873 wxStandardPaths
*StandardPaths_Get(){
1874 return (wxStandardPaths
*) &wxStandardPaths::Get();
1879 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
*resultobj
;
1883 PyObject
* obj0
= 0 ;
1885 (char *) "index", NULL
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1889 arg1
= (int)SWIG_As_int(obj0
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 if (!wxPyCheckForApp()) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1900 wxColour
* resultptr
;
1901 resultptr
= new wxColour((wxColour
&) result
);
1902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1910 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1914 PyObject
* obj0
= 0 ;
1916 (char *) "index", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1920 arg1
= (int)SWIG_As_int(obj0
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1923 if (!wxPyCheckForApp()) SWIG_fail
;
1924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1927 wxPyEndAllowThreads(__tstate
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1932 resultptr
= new wxFont((wxFont
&) result
);
1933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1941 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
*resultobj
;
1945 PyObject
* obj0
= 0 ;
1947 (char *) "index", NULL
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1951 arg1
= (int)SWIG_As_int(obj0
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 if (!wxPyCheckForApp()) SWIG_fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 resultobj
= SWIG_From_int((int)result
);
1968 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1972 PyObject
* obj0
= 0 ;
1974 (char *) "index", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1978 arg1
= (int)SWIG_As_int(obj0
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1981 if (!wxPyCheckForApp()) SWIG_fail
;
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) SWIG_fail
;
1989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1997 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
*resultobj
;
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
2006 if (!wxPyCheckForApp()) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 result
= (int)wxSystemSettings::GetScreenType();
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 resultobj
= SWIG_From_int((int)result
);
2020 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2023 PyObject
* obj0
= 0 ;
2025 (char *) "screen", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
2029 arg1
= (int)SWIG_As_int(obj0
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 if (!wxPyCheckForApp()) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 Py_INCREF(Py_None
); resultobj
= Py_None
;
2046 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
2048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2049 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
2051 return Py_BuildValue((char *)"");
2053 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
2054 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
2059 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
2064 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2066 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
2073 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
*resultobj
;
2075 wxSystemOptions
*result
;
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 result
= (wxSystemOptions
*)new wxSystemOptions();
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
2095 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2097 wxString
*arg1
= 0 ;
2098 wxString
*arg2
= 0 ;
2099 bool temp1
= false ;
2100 bool temp2
= false ;
2101 PyObject
* obj0
= 0 ;
2102 PyObject
* obj1
= 0 ;
2104 (char *) "name",(char *) "value", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2109 arg1
= wxString_in_helper(obj0
);
2110 if (arg1
== NULL
) SWIG_fail
;
2114 arg2
= wxString_in_helper(obj1
);
2115 if (arg2
== NULL
) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 Py_INCREF(Py_None
); resultobj
= Py_None
;
2148 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
*resultobj
;
2150 wxString
*arg1
= 0 ;
2152 bool temp1
= false ;
2153 PyObject
* obj0
= 0 ;
2154 PyObject
* obj1
= 0 ;
2156 (char *) "name",(char *) "value", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2161 arg1
= wxString_in_helper(obj0
);
2162 if (arg1
== NULL
) SWIG_fail
;
2165 arg2
= (int)SWIG_As_int(obj1
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 Py_INCREF(Py_None
); resultobj
= Py_None
;
2189 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2191 wxString
*arg1
= 0 ;
2193 bool temp1
= false ;
2194 PyObject
* obj0
= 0 ;
2196 (char *) "name", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2201 arg1
= wxString_in_helper(obj0
);
2202 if (arg1
== NULL
) SWIG_fail
;
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) SWIG_fail
;
2214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2233 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxString
*arg1
= 0 ;
2237 bool temp1
= false ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "name", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2245 arg1
= wxString_in_helper(obj0
);
2246 if (arg1
== NULL
) SWIG_fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2256 resultobj
= SWIG_From_int((int)result
);
2271 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 wxString
*arg1
= 0 ;
2275 bool temp1
= false ;
2276 PyObject
* obj0
= 0 ;
2278 (char *) "name", NULL
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2283 arg1
= wxString_in_helper(obj0
);
2284 if (arg1
== NULL
) SWIG_fail
;
2288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2291 wxPyEndAllowThreads(__tstate
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2311 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2314 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2316 return Py_BuildValue((char *)"");
2318 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2319 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2324 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2329 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2331 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2338 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2339 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2344 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2349 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2351 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2358 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2359 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2364 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2369 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2371 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2378 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 result
= (long)wxNewId();
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2393 resultobj
= SWIG_From_long((long)result
);
2400 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
*resultobj
;
2403 PyObject
* obj0
= 0 ;
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2409 arg1
= (long)SWIG_As_long(obj0
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2418 Py_INCREF(Py_None
); resultobj
= Py_None
;
2425 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
*resultobj
;
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 result
= (long)wxGetCurrentId();
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2440 resultobj
= SWIG_From_long((long)result
);
2447 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2451 PyObject
* obj0
= 0 ;
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2457 arg1
= (int)SWIG_As_int(obj0
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 result
= (bool)wxIsStockID(arg1
);
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) SWIG_fail
;
2467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2475 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2478 wxString
*arg2
= 0 ;
2480 bool temp2
= false ;
2481 PyObject
* obj0
= 0 ;
2482 PyObject
* obj1
= 0 ;
2484 (char *) "id",(char *) "label", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2488 arg1
= (int)SWIG_As_int(obj0
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 arg2
= wxString_in_helper(obj1
);
2492 if (arg2
== NULL
) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2519 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2523 PyObject
* obj0
= 0 ;
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2529 arg1
= (int)SWIG_As_int(obj0
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 result
= wxGetStockLabel(arg1
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2551 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
*resultobj
;
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2559 if (!wxPyCheckForApp()) SWIG_fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 Py_INCREF(Py_None
); resultobj
= Py_None
;
2573 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2581 if (!wxPyCheckForApp()) SWIG_fail
;
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2588 Py_INCREF(Py_None
); resultobj
= Py_None
;
2595 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
*resultobj
;
2597 bool arg1
= (bool) true ;
2599 PyObject
* obj0
= 0 ;
2601 (char *) "resetTimer", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2606 arg1
= (bool)SWIG_As_bool(obj0
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= (long)wxGetElapsedTime(arg1
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2616 resultobj
= SWIG_From_long((long)result
);
2623 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 int *arg1
= (int *) 0 ;
2626 int *arg2
= (int *) 0 ;
2635 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2636 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2639 if (!wxPyCheckForApp()) SWIG_fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 wxGetMousePosition(arg1
,arg2
);
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2646 Py_INCREF(Py_None
); resultobj
= Py_None
;
2647 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2648 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2649 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2650 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2657 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 result
= (bool)wxIsBusy();
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2681 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2709 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2712 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2714 bool temp1
= false ;
2715 PyObject
* obj0
= 0 ;
2717 (char *) "command", NULL
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2723 arg1
= wxString_in_helper(obj0
);
2724 if (arg1
== NULL
) SWIG_fail
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 result
= (bool)wxShell((wxString
const &)*arg1
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2752 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
*resultobj
;
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) SWIG_fail
;
2766 Py_INCREF(Py_None
); resultobj
= Py_None
;
2773 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
*resultobj
;
2775 int *arg1
= (int *) 0 ;
2776 int *arg2
= (int *) 0 ;
2786 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2787 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 result
= (int)wxGetOsVersion(arg1
,arg2
);
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2796 resultobj
= SWIG_From_int((int)result
);
2797 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2798 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2799 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2800 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2807 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2817 result
= wxGetOsDescription();
2819 wxPyEndAllowThreads(__tstate
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2835 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 result
= (long)wxGetFreeMemory();
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 resultobj
= SWIG_From_long((long)result
);
2857 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2861 PyObject
* obj0
= 0 ;
2863 (char *) "wFlags", NULL
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2867 arg1
= (int)SWIG_As_int(obj0
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2870 if (!wxPyCheckForApp()) SWIG_fail
;
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) SWIG_fail
;
2878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2886 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2889 PyObject
* obj0
= 0 ;
2891 (char *) "secs", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2895 arg1
= (int)SWIG_As_int(obj0
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 Py_INCREF(Py_None
); resultobj
= Py_None
;
2911 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 unsigned long arg1
;
2914 PyObject
* obj0
= 0 ;
2916 (char *) "milliseconds", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2920 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2929 Py_INCREF(Py_None
); resultobj
= Py_None
;
2936 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
*resultobj
;
2938 unsigned long arg1
;
2939 PyObject
* obj0
= 0 ;
2941 (char *) "microseconds", NULL
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2945 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) SWIG_fail
;
2954 Py_INCREF(Py_None
); resultobj
= Py_None
;
2961 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
*resultobj
;
2964 PyObject
* obj0
= 0 ;
2966 (char *) "enable", NULL
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2970 arg1
= (bool)SWIG_As_bool(obj0
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 wxEnableTopLevelWindows(arg1
);
2976 wxPyEndAllowThreads(__tstate
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2979 Py_INCREF(Py_None
); resultobj
= Py_None
;
2986 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
*resultobj
;
2988 wxString
*arg1
= 0 ;
2990 bool temp1
= false ;
2991 PyObject
* obj0
= 0 ;
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2998 arg1
= wxString_in_helper(obj0
);
2999 if (arg1
== NULL
) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 result
= wxStripMenuCodes((wxString
const &)*arg1
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3030 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 result
= wxGetEmailAddress();
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3058 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 result
= wxGetHostName();
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3086 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 result
= wxGetFullHostName();
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3114 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 result
= wxGetUserId();
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3142 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 result
= wxGetUserName();
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3170 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
;
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 result
= wxGetHomeDir();
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3198 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3201 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3203 bool temp1
= false ;
3204 PyObject
* obj0
= 0 ;
3206 (char *) "user", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3212 arg1
= wxString_in_helper(obj0
);
3213 if (arg1
== NULL
) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= wxGetUserHome((wxString
const &)*arg1
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3245 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 unsigned long result
;
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 result
= (unsigned long)wxGetProcessId();
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3267 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3281 Py_INCREF(Py_None
); resultobj
= Py_None
;
3288 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
*resultobj
;
3290 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3291 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3292 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3293 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3294 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3295 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3296 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3297 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3298 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3299 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3300 int arg6
= (int) 0 ;
3301 wxWindow
*arg7
= (wxWindow
*) NULL
;
3302 int arg8
= (int) -1 ;
3303 int arg9
= (int) -1 ;
3305 bool temp1
= false ;
3306 bool temp2
= false ;
3307 bool temp3
= false ;
3308 bool temp4
= false ;
3309 bool temp5
= false ;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj1
= 0 ;
3312 PyObject
* obj2
= 0 ;
3313 PyObject
* obj3
= 0 ;
3314 PyObject
* obj4
= 0 ;
3315 PyObject
* obj5
= 0 ;
3316 PyObject
* obj6
= 0 ;
3317 PyObject
* obj7
= 0 ;
3318 PyObject
* obj8
= 0 ;
3320 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3326 arg1
= wxString_in_helper(obj0
);
3327 if (arg1
== NULL
) SWIG_fail
;
3333 arg2
= wxString_in_helper(obj1
);
3334 if (arg2
== NULL
) SWIG_fail
;
3340 arg3
= wxString_in_helper(obj2
);
3341 if (arg3
== NULL
) SWIG_fail
;
3347 arg4
= wxString_in_helper(obj3
);
3348 if (arg4
== NULL
) SWIG_fail
;
3354 arg5
= wxString_in_helper(obj4
);
3355 if (arg5
== NULL
) SWIG_fail
;
3360 arg6
= (int)SWIG_As_int(obj5
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3368 arg8
= (int)SWIG_As_int(obj7
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3372 arg9
= (int)SWIG_As_int(obj8
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3376 if (!wxPyCheckForApp()) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3436 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
*resultobj
;
3438 wxString
*arg1
= 0 ;
3439 wxString
*arg2
= 0 ;
3440 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3441 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3442 wxWindow
*arg4
= (wxWindow
*) NULL
;
3444 bool temp1
= false ;
3445 bool temp2
= false ;
3446 bool temp3
= false ;
3447 PyObject
* obj0
= 0 ;
3448 PyObject
* obj1
= 0 ;
3449 PyObject
* obj2
= 0 ;
3450 PyObject
* obj3
= 0 ;
3452 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3457 arg1
= wxString_in_helper(obj0
);
3458 if (arg1
== NULL
) SWIG_fail
;
3462 arg2
= wxString_in_helper(obj1
);
3463 if (arg2
== NULL
) SWIG_fail
;
3468 arg3
= wxString_in_helper(obj2
);
3469 if (arg3
== NULL
) SWIG_fail
;
3474 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3478 if (!wxPyCheckForApp()) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3522 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxString
*arg1
= 0 ;
3525 wxString
*arg2
= 0 ;
3526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3528 wxWindow
*arg4
= (wxWindow
*) NULL
;
3530 bool temp1
= false ;
3531 bool temp2
= false ;
3532 bool temp3
= false ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3535 PyObject
* obj2
= 0 ;
3536 PyObject
* obj3
= 0 ;
3538 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3543 arg1
= wxString_in_helper(obj0
);
3544 if (arg1
== NULL
) SWIG_fail
;
3548 arg2
= wxString_in_helper(obj1
);
3549 if (arg2
== NULL
) SWIG_fail
;
3554 arg3
= wxString_in_helper(obj2
);
3555 if (arg3
== NULL
) SWIG_fail
;
3560 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3564 if (!wxPyCheckForApp()) SWIG_fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3608 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3611 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3612 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3613 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3614 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3615 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3616 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3617 wxWindow
*arg5
= (wxWindow
*) NULL
;
3619 bool temp1
= false ;
3620 bool temp2
= false ;
3622 PyObject
* obj0
= 0 ;
3623 PyObject
* obj1
= 0 ;
3624 PyObject
* obj2
= 0 ;
3625 PyObject
* obj3
= 0 ;
3626 PyObject
* obj4
= 0 ;
3628 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3634 arg1
= wxString_in_helper(obj0
);
3635 if (arg1
== NULL
) SWIG_fail
;
3641 arg2
= wxString_in_helper(obj1
);
3642 if (arg2
== NULL
) SWIG_fail
;
3647 arg3
= (long)SWIG_As_long(obj2
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3653 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3657 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 if (!wxPyCheckForApp()) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3697 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxString
*arg1
= 0 ;
3700 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3701 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3702 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3704 wxWindow
*arg4
= (wxWindow
*) NULL
;
3705 int arg5
= (int) -1 ;
3706 int arg6
= (int) -1 ;
3707 bool arg7
= (bool) true ;
3709 bool temp1
= false ;
3710 bool temp2
= false ;
3711 bool temp3
= false ;
3712 PyObject
* obj0
= 0 ;
3713 PyObject
* obj1
= 0 ;
3714 PyObject
* obj2
= 0 ;
3715 PyObject
* obj3
= 0 ;
3716 PyObject
* obj4
= 0 ;
3717 PyObject
* obj5
= 0 ;
3718 PyObject
* obj6
= 0 ;
3720 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3725 arg1
= wxString_in_helper(obj0
);
3726 if (arg1
== NULL
) SWIG_fail
;
3731 arg2
= wxString_in_helper(obj1
);
3732 if (arg2
== NULL
) SWIG_fail
;
3738 arg3
= wxString_in_helper(obj2
);
3739 if (arg3
== NULL
) SWIG_fail
;
3744 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 arg5
= (int)SWIG_As_int(obj4
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3752 arg6
= (int)SWIG_As_int(obj5
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3756 arg7
= (bool)SWIG_As_bool(obj6
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3760 if (!wxPyCheckForApp()) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3804 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxString
*arg1
= 0 ;
3807 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3808 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3809 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3810 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3811 wxWindow
*arg4
= (wxWindow
*) NULL
;
3813 bool temp1
= false ;
3814 bool temp2
= false ;
3815 bool temp3
= false ;
3816 PyObject
* obj0
= 0 ;
3817 PyObject
* obj1
= 0 ;
3818 PyObject
* obj2
= 0 ;
3819 PyObject
* obj3
= 0 ;
3821 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3826 arg1
= wxString_in_helper(obj0
);
3827 if (arg1
== NULL
) SWIG_fail
;
3832 arg2
= wxString_in_helper(obj1
);
3833 if (arg2
== NULL
) SWIG_fail
;
3839 arg3
= wxString_in_helper(obj2
);
3840 if (arg3
== NULL
) SWIG_fail
;
3845 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 if (!wxPyCheckForApp()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3893 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3895 wxString
*arg1
= 0 ;
3896 wxString
*arg2
= 0 ;
3898 wxString
*arg4
= (wxString
*) 0 ;
3899 wxWindow
*arg5
= (wxWindow
*) NULL
;
3900 int arg6
= (int) -1 ;
3901 int arg7
= (int) -1 ;
3902 bool arg8
= (bool) true ;
3903 int arg9
= (int) 150 ;
3904 int arg10
= (int) 200 ;
3906 bool temp1
= false ;
3907 bool temp2
= false ;
3908 PyObject
* obj0
= 0 ;
3909 PyObject
* obj1
= 0 ;
3910 PyObject
* obj2
= 0 ;
3911 PyObject
* obj3
= 0 ;
3912 PyObject
* obj4
= 0 ;
3913 PyObject
* obj5
= 0 ;
3914 PyObject
* obj6
= 0 ;
3915 PyObject
* obj7
= 0 ;
3916 PyObject
* obj8
= 0 ;
3918 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3923 arg1
= wxString_in_helper(obj0
);
3924 if (arg1
== NULL
) SWIG_fail
;
3928 arg2
= wxString_in_helper(obj1
);
3929 if (arg2
== NULL
) SWIG_fail
;
3933 arg3
= PyList_Size(obj2
);
3934 arg4
= wxString_LIST_helper(obj2
);
3935 if (arg4
== NULL
) SWIG_fail
;
3938 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3942 arg6
= (int)SWIG_As_int(obj4
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3946 arg7
= (int)SWIG_As_int(obj5
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3950 arg8
= (bool)SWIG_As_bool(obj6
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3954 arg9
= (int)SWIG_As_int(obj7
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3958 arg10
= (int)SWIG_As_int(obj8
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 if (!wxPyCheckForApp()) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3985 if (arg4
) delete [] arg4
;
3998 if (arg4
) delete [] arg4
;
4004 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4006 wxString
*arg1
= 0 ;
4007 wxString
*arg2
= 0 ;
4009 wxString
*arg4
= (wxString
*) 0 ;
4010 wxWindow
*arg5
= (wxWindow
*) NULL
;
4011 int arg6
= (int) -1 ;
4012 int arg7
= (int) -1 ;
4013 bool arg8
= (bool) true ;
4014 int arg9
= (int) 150 ;
4015 int arg10
= (int) 200 ;
4017 bool temp1
= false ;
4018 bool temp2
= false ;
4019 PyObject
* obj0
= 0 ;
4020 PyObject
* obj1
= 0 ;
4021 PyObject
* obj2
= 0 ;
4022 PyObject
* obj3
= 0 ;
4023 PyObject
* obj4
= 0 ;
4024 PyObject
* obj5
= 0 ;
4025 PyObject
* obj6
= 0 ;
4026 PyObject
* obj7
= 0 ;
4027 PyObject
* obj8
= 0 ;
4029 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4034 arg1
= wxString_in_helper(obj0
);
4035 if (arg1
== NULL
) SWIG_fail
;
4039 arg2
= wxString_in_helper(obj1
);
4040 if (arg2
== NULL
) SWIG_fail
;
4044 arg3
= PyList_Size(obj2
);
4045 arg4
= wxString_LIST_helper(obj2
);
4046 if (arg4
== NULL
) SWIG_fail
;
4049 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
4050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4053 arg6
= (int)SWIG_As_int(obj4
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4057 arg7
= (int)SWIG_As_int(obj5
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4061 arg8
= (bool)SWIG_As_bool(obj6
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 arg9
= (int)SWIG_As_int(obj7
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4069 arg10
= (int)SWIG_As_int(obj8
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4073 if (!wxPyCheckForApp()) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 resultobj
= SWIG_From_int((int)result
);
4090 if (arg4
) delete [] arg4
;
4103 if (arg4
) delete [] arg4
;
4109 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxString
*arg1
= 0 ;
4112 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4113 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4114 int arg3
= (int) wxOK
|wxCENTRE
;
4115 wxWindow
*arg4
= (wxWindow
*) NULL
;
4116 int arg5
= (int) -1 ;
4117 int arg6
= (int) -1 ;
4119 bool temp1
= false ;
4120 bool temp2
= false ;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4123 PyObject
* obj2
= 0 ;
4124 PyObject
* obj3
= 0 ;
4125 PyObject
* obj4
= 0 ;
4126 PyObject
* obj5
= 0 ;
4128 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4133 arg1
= wxString_in_helper(obj0
);
4134 if (arg1
== NULL
) SWIG_fail
;
4139 arg2
= wxString_in_helper(obj1
);
4140 if (arg2
== NULL
) SWIG_fail
;
4145 arg3
= (int)SWIG_As_int(obj2
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4149 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4153 arg5
= (int)SWIG_As_int(obj4
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4157 arg6
= (int)SWIG_As_int(obj5
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4161 if (!wxPyCheckForApp()) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 resultobj
= SWIG_From_int((int)result
);
4191 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 wxString
*arg1
= 0 ;
4194 wxString
*arg2
= 0 ;
4195 wxString
*arg3
= 0 ;
4197 long arg5
= (long) 0 ;
4198 long arg6
= (long) 100 ;
4199 wxWindow
*arg7
= (wxWindow
*) NULL
;
4200 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4201 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4203 bool temp1
= false ;
4204 bool temp2
= false ;
4205 bool temp3
= false ;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4209 PyObject
* obj2
= 0 ;
4210 PyObject
* obj3
= 0 ;
4211 PyObject
* obj4
= 0 ;
4212 PyObject
* obj5
= 0 ;
4213 PyObject
* obj6
= 0 ;
4214 PyObject
* obj7
= 0 ;
4216 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4221 arg1
= wxString_in_helper(obj0
);
4222 if (arg1
== NULL
) SWIG_fail
;
4226 arg2
= wxString_in_helper(obj1
);
4227 if (arg2
== NULL
) SWIG_fail
;
4231 arg3
= wxString_in_helper(obj2
);
4232 if (arg3
== NULL
) SWIG_fail
;
4235 arg4
= (long)SWIG_As_long(obj3
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 arg5
= (long)SWIG_As_long(obj4
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4242 arg6
= (long)SWIG_As_long(obj5
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4246 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4252 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4256 if (!wxPyCheckForApp()) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= SWIG_From_long((long)result
);
4294 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4303 if (!wxPyCheckForApp()) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= (bool)wxColourDisplay();
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4319 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4328 if (!wxPyCheckForApp()) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= (int)wxDisplayDepth();
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 resultobj
= SWIG_From_int((int)result
);
4342 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4351 if (!wxPyCheckForApp()) SWIG_fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (int)wxGetDisplayDepth();
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= SWIG_From_int((int)result
);
4365 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 int *arg1
= (int *) 0 ;
4368 int *arg2
= (int *) 0 ;
4377 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4378 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4381 if (!wxPyCheckForApp()) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 wxDisplaySize(arg1
,arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 Py_INCREF(Py_None
); resultobj
= Py_None
;
4389 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4390 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4391 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4392 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4399 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4408 if (!wxPyCheckForApp()) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= wxGetDisplaySize();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4417 resultptr
= new wxSize((wxSize
&) result
);
4418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4426 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 int *arg1
= (int *) 0 ;
4429 int *arg2
= (int *) 0 ;
4438 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4439 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4442 if (!wxPyCheckForApp()) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 wxDisplaySizeMM(arg1
,arg2
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 Py_INCREF(Py_None
); resultobj
= Py_None
;
4450 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4451 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4452 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4453 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4460 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4469 if (!wxPyCheckForApp()) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= wxGetDisplaySizeMM();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4478 resultptr
= new wxSize((wxSize
&) result
);
4479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4487 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 int *arg1
= (int *) 0 ;
4490 int *arg2
= (int *) 0 ;
4491 int *arg3
= (int *) 0 ;
4492 int *arg4
= (int *) 0 ;
4505 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4506 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4507 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4508 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4511 if (!wxPyCheckForApp()) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 Py_INCREF(Py_None
); resultobj
= Py_None
;
4519 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4520 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4521 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4522 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4523 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4524 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4525 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4526 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4533 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4542 if (!wxPyCheckForApp()) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= wxGetClientDisplayRect();
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4551 resultptr
= new wxRect((wxRect
&) result
);
4552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4560 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
;
4562 wxCursor
*arg1
= 0 ;
4563 PyObject
* obj0
= 0 ;
4565 (char *) "cursor", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4573 PyErr_SetString(PyExc_TypeError
,"null reference");
4577 if (!wxPyCheckForApp()) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 Py_INCREF(Py_None
); resultobj
= Py_None
;
4591 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4594 PyObject
* obj0
= 0 ;
4596 (char *) "cursor", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4605 if (!wxPyCheckForApp()) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 wxBeginBusyCursor(arg1
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 Py_INCREF(Py_None
); resultobj
= Py_None
;
4619 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4628 if (!wxPyCheckForApp()) SWIG_fail
;
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= (wxWindow
*)wxGetActiveWindow();
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4636 resultobj
= wxPyMake_wxObject(result
, 0);
4644 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4649 PyObject
* obj0
= 0 ;
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4657 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4660 if (!wxPyCheckForApp()) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= wxPyMake_wxObject(result
, 0);
4676 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
;
4681 PyObject
* obj0
= 0 ;
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4689 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4692 if (!wxPyCheckForApp()) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= wxPyMake_wxObject(result
, 0);
4708 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxWindow
*arg1
= (wxWindow
*) 0 ;
4712 PyObject
* obj0
= 0 ;
4714 (char *) "win", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4721 if (!wxPyCheckForApp()) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= wxPyMake_wxObject(result
, 0);
4737 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4741 PyObject
* obj0
= 0 ;
4743 (char *) "key", NULL
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4747 arg1
= (int)SWIG_As_int(obj0
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 if (!wxPyCheckForApp()) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4766 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
;
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4774 if (!wxPyCheckForApp()) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 wxWakeUpMainThread();
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4781 Py_INCREF(Py_None
); resultobj
= Py_None
;
4788 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
;
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4796 if (!wxPyCheckForApp()) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 Py_INCREF(Py_None
); resultobj
= Py_None
;
4810 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4818 if (!wxPyCheckForApp()) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 Py_INCREF(Py_None
); resultobj
= Py_None
;
4832 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxMutexGuiLocker
*result
;
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4841 if (!wxPyCheckForApp()) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4855 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4858 PyObject
* obj0
= 0 ;
4860 (char *) "self", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 Py_INCREF(Py_None
); resultobj
= Py_None
;
4880 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4883 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4885 return Py_BuildValue((char *)"");
4887 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (bool)wxThread_IsMain();
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4911 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxString
*arg1
= 0 ;
4915 bool temp1
= false ;
4916 PyObject
* obj0
= 0 ;
4918 (char *) "tip", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4923 arg1
= wxString_in_helper(obj0
);
4924 if (arg1
== NULL
) SWIG_fail
;
4928 if (!wxPyCheckForApp()) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4936 resultobj
= wxPyMake_wxObject(result
, 1);
4952 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4955 wxString
*arg2
= 0 ;
4956 bool temp2
= false ;
4957 PyObject
* obj0
= 0 ;
4958 PyObject
* obj1
= 0 ;
4960 (char *) "self",(char *) "tip", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 arg2
= wxString_in_helper(obj1
);
4968 if (arg2
== NULL
) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 (arg1
)->SetTip((wxString
const &)*arg2
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 Py_INCREF(Py_None
); resultobj
= Py_None
;
4993 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4999 (char *) "self", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
5003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
5004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (arg1
)->GetTip();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5025 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5031 (char *) "self", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
5036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (wxWindow
*)(arg1
)->GetWindow();
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= wxPyMake_wxObject(result
, 0);
5053 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5056 PyObject
* obj0
= 0 ;
5058 (char *) "flag", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
5062 arg1
= (bool)SWIG_As_bool(obj0
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 wxToolTip::Enable(arg1
);
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 Py_INCREF(Py_None
); resultobj
= Py_None
;
5078 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
;
5081 PyObject
* obj0
= 0 ;
5083 (char *) "milliseconds", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
5087 arg1
= (long)SWIG_As_long(obj0
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 wxToolTip::SetDelay(arg1
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 Py_INCREF(Py_None
); resultobj
= Py_None
;
5103 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
5105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5106 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5108 return Py_BuildValue((char *)"");
5110 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxWindow
*arg1
= (wxWindow
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5119 (char *) "window",(char *) "size", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5127 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5130 if (!wxPyCheckForApp()) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5144 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxCaret
*arg1
= (wxCaret
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5149 (char *) "self", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 Py_INCREF(Py_None
); resultobj
= Py_None
;
5169 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxCaret
*arg1
= (wxCaret
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (bool)(arg1
)->IsOk();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5197 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxCaret
*arg1
= (wxCaret
*) 0 ;
5201 PyObject
* obj0
= 0 ;
5203 (char *) "self", NULL
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (bool)(arg1
)->IsVisible();
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5225 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxCaret
*arg1
= (wxCaret
*) 0 ;
5229 PyObject
* obj0
= 0 ;
5231 (char *) "self", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (arg1
)->GetPosition();
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 wxPoint
* resultptr
;
5246 resultptr
= new wxPoint((wxPoint
&) result
);
5247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5255 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxCaret
*arg1
= (wxCaret
*) 0 ;
5258 int *arg2
= (int *) 0 ;
5259 int *arg3
= (int *) 0 ;
5264 PyObject
* obj0
= 0 ;
5266 (char *) "self", NULL
5269 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5270 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 (arg1
)->GetPosition(arg2
,arg3
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 Py_INCREF(Py_None
); resultobj
= Py_None
;
5282 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5283 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5284 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5285 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5292 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxCaret
*arg1
= (wxCaret
*) 0 ;
5296 PyObject
* obj0
= 0 ;
5298 (char *) "self", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 result
= (arg1
)->GetSize();
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5313 resultptr
= new wxSize((wxSize
&) result
);
5314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5322 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
;
5324 wxCaret
*arg1
= (wxCaret
*) 0 ;
5325 int *arg2
= (int *) 0 ;
5326 int *arg3
= (int *) 0 ;
5331 PyObject
* obj0
= 0 ;
5333 (char *) "self", NULL
5336 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5337 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 (arg1
)->GetSize(arg2
,arg3
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 Py_INCREF(Py_None
); resultobj
= Py_None
;
5349 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5350 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5351 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5352 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5359 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxCaret
*arg1
= (wxCaret
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5365 (char *) "self", NULL
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 result
= (wxWindow
*)(arg1
)->GetWindow();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5379 resultobj
= wxPyMake_wxObject(result
, 0);
5387 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
;
5389 wxCaret
*arg1
= (wxCaret
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5393 PyObject
* obj1
= 0 ;
5394 PyObject
* obj2
= 0 ;
5396 (char *) "self",(char *) "x",(char *) "y", NULL
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5402 arg2
= (int)SWIG_As_int(obj1
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5404 arg3
= (int)SWIG_As_int(obj2
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 (arg1
)->Move(arg2
,arg3
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 Py_INCREF(Py_None
); resultobj
= Py_None
;
5420 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxCaret
*arg1
= (wxCaret
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5428 (char *) "self",(char *) "pt", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 (arg1
)->Move((wxPoint
const &)*arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 Py_INCREF(Py_None
); resultobj
= Py_None
;
5452 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxCaret
*arg1
= (wxCaret
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5459 PyObject
* obj2
= 0 ;
5461 (char *) "self",(char *) "width",(char *) "height", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 arg2
= (int)SWIG_As_int(obj1
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5469 arg3
= (int)SWIG_As_int(obj2
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 (arg1
)->SetSize(arg2
,arg3
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 Py_INCREF(Py_None
); resultobj
= Py_None
;
5485 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxCaret
*arg1
= (wxCaret
*) 0 ;
5490 PyObject
* obj0
= 0 ;
5491 PyObject
* obj1
= 0 ;
5493 (char *) "self",(char *) "size", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5501 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 (arg1
)->SetSize((wxSize
const &)*arg2
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 Py_INCREF(Py_None
); resultobj
= Py_None
;
5517 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxCaret
*arg1
= (wxCaret
*) 0 ;
5520 int arg2
= (int) true ;
5521 PyObject
* obj0
= 0 ;
5522 PyObject
* obj1
= 0 ;
5524 (char *) "self",(char *) "show", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5531 arg2
= (int)SWIG_As_int(obj1
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 Py_INCREF(Py_None
); resultobj
= Py_None
;
5548 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 wxCaret
*arg1
= (wxCaret
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5553 (char *) "self", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5576 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5578 return Py_BuildValue((char *)"");
5580 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= (int)wxCaret_GetBlinkTime();
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= SWIG_From_int((int)result
);
5602 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5605 PyObject
* obj0
= 0 ;
5607 (char *) "milliseconds", NULL
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5611 arg1
= (int)SWIG_As_int(obj0
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 wxCaret_SetBlinkTime(arg1
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 Py_INCREF(Py_None
); resultobj
= Py_None
;
5627 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5630 wxBusyCursor
*result
;
5631 PyObject
* obj0
= 0 ;
5633 (char *) "cursor", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 if (!wxPyCheckForApp()) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5656 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5661 (char *) "self", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 Py_INCREF(Py_None
); resultobj
= Py_None
;
5681 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5684 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5686 return Py_BuildValue((char *)"");
5688 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
;
5690 wxWindow
*arg1
= (wxWindow
*) NULL
;
5691 wxWindowDisabler
*result
;
5692 PyObject
* obj0
= 0 ;
5694 (char *) "winToSkip", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5703 if (!wxPyCheckForApp()) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5717 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5719 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5720 PyObject
* obj0
= 0 ;
5722 (char *) "self", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 Py_INCREF(Py_None
); resultobj
= Py_None
;
5742 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5745 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5747 return Py_BuildValue((char *)"");
5749 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxString
*arg1
= 0 ;
5753 bool temp1
= false ;
5754 PyObject
* obj0
= 0 ;
5756 (char *) "message", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5761 arg1
= wxString_in_helper(obj0
);
5762 if (arg1
== NULL
) SWIG_fail
;
5766 if (!wxPyCheckForApp()) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5788 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5793 (char *) "self", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5816 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5818 return Py_BuildValue((char *)"");
5820 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxStopWatch
*result
;
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (wxStopWatch
*)new wxStopWatch();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5842 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5845 long arg2
= (long) 0 ;
5846 PyObject
* obj0
= 0 ;
5847 PyObject
* obj1
= 0 ;
5849 (char *) "self",(char *) "t0", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 arg2
= (long)SWIG_As_long(obj1
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->Start(arg2
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 Py_INCREF(Py_None
); resultobj
= Py_None
;
5873 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 Py_INCREF(Py_None
); resultobj
= Py_None
;
5898 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5903 (char *) "self", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 Py_INCREF(Py_None
); resultobj
= Py_None
;
5923 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5929 (char *) "self", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_From_long((long)result
);
5949 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5952 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5954 return Py_BuildValue((char *)"");
5956 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 int arg1
= (int) 9 ;
5959 int arg2
= (int) wxID_FILE1
;
5960 wxFileHistory
*result
;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5964 (char *) "maxFiles",(char *) "idBase", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5969 arg1
= (int)SWIG_As_int(obj0
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5973 arg2
= (int)SWIG_As_int(obj1
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5990 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5993 PyObject
* obj0
= 0 ;
5995 (char *) "self", NULL
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 Py_INCREF(Py_None
); resultobj
= Py_None
;
6015 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
*resultobj
;
6017 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6018 wxString
*arg2
= 0 ;
6019 bool temp2
= false ;
6020 PyObject
* obj0
= 0 ;
6021 PyObject
* obj1
= 0 ;
6023 (char *) "self",(char *) "file", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 arg2
= wxString_in_helper(obj1
);
6031 if (arg2
== NULL
) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 Py_INCREF(Py_None
); resultobj
= Py_None
;
6056 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6063 (char *) "self",(char *) "i", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 arg2
= (int)SWIG_As_int(obj1
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 (arg1
)->RemoveFileFromHistory(arg2
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 Py_INCREF(Py_None
); resultobj
= Py_None
;
6085 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "self", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= SWIG_From_int((int)result
);
6111 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
;
6113 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6114 wxMenu
*arg2
= (wxMenu
*) 0 ;
6115 PyObject
* obj0
= 0 ;
6116 PyObject
* obj1
= 0 ;
6118 (char *) "self",(char *) "menu", NULL
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 (arg1
)->UseMenu(arg2
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 Py_INCREF(Py_None
); resultobj
= Py_None
;
6140 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6143 wxMenu
*arg2
= (wxMenu
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6147 (char *) "self",(char *) "menu", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 (arg1
)->RemoveMenu(arg2
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6169 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6172 wxConfigBase
*arg2
= 0 ;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6176 (char *) "self",(char *) "config", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6186 PyErr_SetString(PyExc_TypeError
,"null reference");
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 (arg1
)->Load(*arg2
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 Py_INCREF(Py_None
); resultobj
= Py_None
;
6203 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6206 wxConfigBase
*arg2
= 0 ;
6207 PyObject
* obj0
= 0 ;
6208 PyObject
* obj1
= 0 ;
6210 (char *) "self",(char *) "config", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6220 PyErr_SetString(PyExc_TypeError
,"null reference");
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 (arg1
)->Save(*arg2
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 Py_INCREF(Py_None
); resultobj
= Py_None
;
6237 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
;
6239 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6242 (char *) "self", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 (arg1
)->AddFilesToMenu();
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 Py_INCREF(Py_None
); resultobj
= Py_None
;
6262 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6265 wxMenu
*arg2
= (wxMenu
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6269 (char *) "self",(char *) "menu", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 (arg1
)->AddFilesToMenu(arg2
);
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 Py_INCREF(Py_None
); resultobj
= Py_None
;
6291 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6299 (char *) "self",(char *) "i", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 arg2
= (int)SWIG_As_int(obj1
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6327 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6333 (char *) "self", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_From_int((int)result
);
6353 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6356 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6358 return Py_BuildValue((char *)"");
6360 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxString
*arg1
= 0 ;
6363 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6364 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6365 wxSingleInstanceChecker
*result
;
6366 bool temp1
= false ;
6367 bool temp2
= false ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6371 (char *) "name",(char *) "path", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6376 arg1
= wxString_in_helper(obj0
);
6377 if (arg1
== NULL
) SWIG_fail
;
6382 arg2
= wxString_in_helper(obj1
);
6383 if (arg2
== NULL
) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6417 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxSingleInstanceChecker
*result
;
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6439 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6467 wxString
*arg2
= 0 ;
6468 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6469 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6471 bool temp2
= false ;
6472 bool temp3
= false ;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6475 PyObject
* obj2
= 0 ;
6477 (char *) "self",(char *) "name",(char *) "path", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6484 arg2
= wxString_in_helper(obj1
);
6485 if (arg2
== NULL
) SWIG_fail
;
6490 arg3
= wxString_in_helper(obj2
);
6491 if (arg3
== NULL
) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6527 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
;
6529 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6531 PyObject
* obj0
= 0 ;
6533 (char *) "self", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6555 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6558 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6560 return Py_BuildValue((char *)"");
6562 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxWindow
*arg1
= (wxWindow
*) 0 ;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 PyObject
* obj2
= 0 ;
6571 (char *) "window",(char *) "dc",(char *) "method", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6581 PyErr_SetString(PyExc_TypeError
,"null reference");
6584 arg3
= (int)SWIG_As_int(obj2
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6603 PyObject
* obj0
= 0 ;
6605 (char *) "self", NULL
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 Py_INCREF(Py_None
); resultobj
= Py_None
;
6625 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "self", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (arg1
)->GetTip();
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6657 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6663 (char *) "self", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (size_t)(arg1
)->GetCurrentTip();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6683 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6686 wxString
*arg2
= 0 ;
6688 bool temp2
= false ;
6689 PyObject
* obj0
= 0 ;
6690 PyObject
* obj1
= 0 ;
6692 (char *) "self",(char *) "tip", NULL
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6699 arg2
= wxString_in_helper(obj1
);
6700 if (arg2
== NULL
) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6731 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6736 return Py_BuildValue((char *)"");
6738 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6741 wxPyTipProvider
*result
;
6742 PyObject
* obj0
= 0 ;
6744 (char *) "currentTip", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6748 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6764 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6767 PyObject
*arg2
= (PyObject
*) 0 ;
6768 PyObject
*arg3
= (PyObject
*) 0 ;
6769 PyObject
* obj0
= 0 ;
6770 PyObject
* obj1
= 0 ;
6771 PyObject
* obj2
= 0 ;
6773 (char *) "self",(char *) "self",(char *) "_class", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 Py_INCREF(Py_None
); resultobj
= Py_None
;
6795 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6798 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6800 return Py_BuildValue((char *)"");
6802 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
;
6804 wxWindow
*arg1
= (wxWindow
*) 0 ;
6805 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6806 bool arg3
= (bool) true ;
6808 PyObject
* obj0
= 0 ;
6809 PyObject
* obj1
= 0 ;
6810 PyObject
* obj2
= 0 ;
6812 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6821 arg3
= (bool)SWIG_As_bool(obj2
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 if (!wxPyCheckForApp()) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6841 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
;
6843 wxString
*arg1
= 0 ;
6845 wxTipProvider
*result
;
6846 bool temp1
= false ;
6847 PyObject
* obj0
= 0 ;
6848 PyObject
* obj1
= 0 ;
6850 (char *) "filename",(char *) "currentTip", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6855 arg1
= wxString_in_helper(obj0
);
6856 if (arg1
== NULL
) SWIG_fail
;
6859 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 if (!wxPyCheckForApp()) SWIG_fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6884 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6887 int arg2
= (int) -1 ;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6892 (char *) "owner",(char *) "id", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6901 arg2
= (int)SWIG_As_int(obj1
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6905 if (!wxPyCheckForApp()) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6919 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "self", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 Py_INCREF(Py_None
); resultobj
= Py_None
;
6944 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6947 PyObject
*arg2
= (PyObject
*) 0 ;
6948 PyObject
*arg3
= (PyObject
*) 0 ;
6949 int arg4
= (int) 1 ;
6950 PyObject
* obj0
= 0 ;
6951 PyObject
* obj1
= 0 ;
6952 PyObject
* obj2
= 0 ;
6953 PyObject
* obj3
= 0 ;
6955 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6964 arg4
= (int)SWIG_As_int(obj3
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 Py_INCREF(Py_None
); resultobj
= Py_None
;
6981 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6984 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6985 int arg3
= (int) -1 ;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6988 PyObject
* obj2
= 0 ;
6990 (char *) "self",(char *) "owner",(char *) "id", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6999 arg3
= (int)SWIG_As_int(obj2
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 (arg1
)->SetOwner(arg2
,arg3
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 Py_INCREF(Py_None
); resultobj
= Py_None
;
7016 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7019 wxEvtHandler
*result
;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= wxPyMake_wxObject(result
, 0);
7044 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7047 int arg2
= (int) -1 ;
7048 bool arg3
= (bool) false ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 PyObject
* obj2
= 0 ;
7054 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 arg2
= (int)SWIG_As_int(obj1
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 arg3
= (bool)SWIG_As_bool(obj2
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (bool)(arg1
)->Start(arg2
,arg3
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7084 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7089 (char *) "self", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 Py_INCREF(Py_None
); resultobj
= Py_None
;
7109 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7111 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7115 (char *) "self", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7137 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7143 (char *) "self", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= SWIG_From_int((int)result
);
7163 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7169 (char *) "self", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7191 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7195 PyObject
* obj0
= 0 ;
7197 (char *) "self", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_From_int((int)result
);
7217 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7220 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7222 return Py_BuildValue((char *)"");
7224 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 int arg1
= (int) 0 ;
7227 int arg2
= (int) 0 ;
7228 wxTimerEvent
*result
;
7229 PyObject
* obj0
= 0 ;
7230 PyObject
* obj1
= 0 ;
7232 (char *) "timerid",(char *) "interval", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7237 arg1
= (int)SWIG_As_int(obj0
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7241 arg2
= (int)SWIG_As_int(obj1
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7258 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "self", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= SWIG_From_int((int)result
);
7284 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7287 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7289 return Py_BuildValue((char *)"");
7291 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7292 PyObject
*resultobj
;
7294 wxTimerRunner
*result
;
7295 PyObject
* obj0
= 0 ;
7297 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7302 PyErr_SetString(PyExc_TypeError
,"null reference");
7306 if (!wxPyCheckForApp()) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7320 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7321 PyObject
*resultobj
;
7324 bool arg3
= (bool) false ;
7325 wxTimerRunner
*result
;
7326 PyObject
* obj0
= 0 ;
7327 PyObject
* obj1
= 0 ;
7328 PyObject
* obj2
= 0 ;
7330 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7335 PyErr_SetString(PyExc_TypeError
,"null reference");
7338 arg2
= (int)SWIG_As_int(obj1
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 arg3
= (bool)SWIG_As_bool(obj2
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7345 if (!wxPyCheckForApp()) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7359 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7364 argc
= PyObject_Length(args
);
7365 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7366 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7372 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7380 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7383 if ((argc
>= 2) && (argc
<= 3)) {
7387 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7395 _v
= SWIG_Check_int(argv
[1]);
7398 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7400 _v
= SWIG_Check_bool(argv
[2]);
7402 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7408 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7413 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7416 PyObject
* obj0
= 0 ;
7418 (char *) "self", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 Py_INCREF(Py_None
); resultobj
= Py_None
;
7438 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
;
7440 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7442 bool arg3
= (bool) false ;
7443 PyObject
* obj0
= 0 ;
7444 PyObject
* obj1
= 0 ;
7445 PyObject
* obj2
= 0 ;
7447 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7453 arg2
= (int)SWIG_As_int(obj1
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 arg3
= (bool)SWIG_As_bool(obj2
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 (arg1
)->Start(arg2
,arg3
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 Py_INCREF(Py_None
); resultobj
= Py_None
;
7473 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7476 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7478 return Py_BuildValue((char *)"");
7480 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (wxLog
*)new wxLog();
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7502 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (bool)wxLog::IsEnabled();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7526 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 bool arg1
= (bool) true ;
7530 PyObject
* obj0
= 0 ;
7532 (char *) "doIt", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7537 arg1
= (bool)SWIG_As_bool(obj0
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (bool)wxLog::EnableLogging(arg1
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7556 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7559 wxChar
*arg2
= (wxChar
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7563 PyObject
* obj2
= 0 ;
7565 (char *) "level",(char *) "szString",(char *) "t", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7569 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7573 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 Py_INCREF(Py_None
); resultobj
= Py_None
;
7589 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxLog
*arg1
= (wxLog
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7594 (char *) "self", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 Py_INCREF(Py_None
); resultobj
= Py_None
;
7614 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
;
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 wxLog::FlushActive();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 Py_INCREF(Py_None
); resultobj
= Py_None
;
7635 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
;
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 result
= (wxLog
*)wxLog::GetActiveTarget();
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7657 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxLog
*arg1
= (wxLog
*) 0 ;
7661 PyObject
* obj0
= 0 ;
7663 (char *) "pLogger", NULL
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7683 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 Py_INCREF(Py_None
); resultobj
= Py_None
;
7704 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 Py_INCREF(Py_None
); resultobj
= Py_None
;
7725 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 bool arg1
= (bool) true ;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "bVerbose", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7735 arg1
= (bool)SWIG_As_bool(obj0
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 wxLog::SetVerbose(arg1
);
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 Py_INCREF(Py_None
); resultobj
= Py_None
;
7752 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7755 PyObject
* obj0
= 0 ;
7757 (char *) "logLevel", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7761 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 wxLog::SetLogLevel(arg1
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 Py_INCREF(Py_None
); resultobj
= Py_None
;
7777 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 wxLog::DontCreateOnDemand();
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 Py_INCREF(Py_None
); resultobj
= Py_None
;
7798 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "ulMask", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7807 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 wxLog::SetTraceMask(arg1
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 Py_INCREF(Py_None
); resultobj
= Py_None
;
7823 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxString
*arg1
= 0 ;
7826 bool temp1
= false ;
7827 PyObject
* obj0
= 0 ;
7829 (char *) "str", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7834 arg1
= wxString_in_helper(obj0
);
7835 if (arg1
== NULL
) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 wxLog::AddTraceMask((wxString
const &)*arg1
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 Py_INCREF(Py_None
); resultobj
= Py_None
;
7860 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxString
*arg1
= 0 ;
7863 bool temp1
= false ;
7864 PyObject
* obj0
= 0 ;
7866 (char *) "str", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7871 arg1
= wxString_in_helper(obj0
);
7872 if (arg1
== NULL
) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 Py_INCREF(Py_None
); resultobj
= Py_None
;
7897 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 wxLog::ClearTraceMasks();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 Py_INCREF(Py_None
); resultobj
= Py_None
;
7918 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxArrayString
*result
;
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7930 result
= (wxArrayString
*) &_result_ref
;
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7937 resultobj
= wxArrayString2PyList_helper(*result
);
7945 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxChar
*arg1
= (wxChar
*) 0 ;
7948 PyObject
* obj0
= 0 ;
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 wxLog::SetTimestamp((wxChar
const *)arg1
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (bool)wxLog::GetVerbose();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7994 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 result
= (wxTraceMask
)wxLog::GetTraceMask();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8016 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxChar
*arg1
= (wxChar
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8022 (char *) "mask", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
8026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
8027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8044 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= (wxLogLevel
)wxLog::GetLogLevel();
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8066 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (wxChar
*)wxLog::GetTimestamp();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
8088 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= Log_TimeStamp();
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8116 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
;
8118 wxLog
*arg1
= (wxLog
*) 0 ;
8119 PyObject
* obj0
= 0 ;
8121 (char *) "self", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 wxLog_Destroy(arg1
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 Py_INCREF(Py_None
); resultobj
= Py_None
;
8141 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8144 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8146 return Py_BuildValue((char *)"");
8148 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
;
8150 wxLogStderr
*result
;
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (wxLogStderr
*)new wxLogStderr();
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8170 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8173 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8175 return Py_BuildValue((char *)"");
8177 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8180 wxLogTextCtrl
*result
;
8181 PyObject
* obj0
= 0 ;
8183 (char *) "pTextCtrl", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8203 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8206 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8208 return Py_BuildValue((char *)"");
8210 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (wxLogGui
*)new wxLogGui();
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8232 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8235 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8237 return Py_BuildValue((char *)"");
8239 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxFrame
*arg1
= (wxFrame
*) 0 ;
8242 wxString
*arg2
= 0 ;
8243 bool arg3
= (bool) true ;
8244 bool arg4
= (bool) true ;
8245 wxLogWindow
*result
;
8246 bool temp2
= false ;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8249 PyObject
* obj2
= 0 ;
8250 PyObject
* obj3
= 0 ;
8252 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8259 arg2
= wxString_in_helper(obj1
);
8260 if (arg2
== NULL
) SWIG_fail
;
8264 arg3
= (bool)SWIG_As_bool(obj2
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8268 arg4
= (bool)SWIG_As_bool(obj3
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8293 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8296 bool arg2
= (bool) true ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8300 (char *) "self",(char *) "bShow", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 arg2
= (bool)SWIG_As_bool(obj1
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 Py_INCREF(Py_None
); resultobj
= Py_None
;
8324 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8328 PyObject
* obj0
= 0 ;
8330 (char *) "self", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= wxPyMake_wxObject(result
, 0);
8352 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8356 PyObject
* obj0
= 0 ;
8358 (char *) "self", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8378 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8382 PyObject
* obj0
= 0 ;
8384 (char *) "self", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8406 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8411 PyObject
* obj1
= 0 ;
8413 (char *) "self",(char *) "bDoPass", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8419 arg2
= (bool)SWIG_As_bool(obj1
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 (arg1
)->PassMessages(arg2
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 Py_INCREF(Py_None
); resultobj
= Py_None
;
8435 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8438 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8440 return Py_BuildValue((char *)"");
8442 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxLog
*arg1
= (wxLog
*) 0 ;
8446 PyObject
* obj0
= 0 ;
8448 (char *) "logger", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (wxLogChain
*)new wxLogChain(arg1
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8468 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
*resultobj
;
8470 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8471 wxLog
*arg2
= (wxLog
*) 0 ;
8472 PyObject
* obj0
= 0 ;
8473 PyObject
* obj1
= 0 ;
8475 (char *) "self",(char *) "logger", NULL
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 (arg1
)->SetLog(arg2
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 Py_INCREF(Py_None
); resultobj
= Py_None
;
8497 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
;
8499 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8504 (char *) "self",(char *) "bDoPass", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8510 arg2
= (bool)SWIG_As_bool(obj1
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 (arg1
)->PassMessages(arg2
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 Py_INCREF(Py_None
); resultobj
= Py_None
;
8526 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8530 PyObject
* obj0
= 0 ;
8532 (char *) "self", NULL
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (bool)(arg1
)->IsPassingMessages();
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8554 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
*resultobj
;
8556 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8558 PyObject
* obj0
= 0 ;
8560 (char *) "self", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (wxLog
*)(arg1
)->GetOldLog();
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8580 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8583 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8585 return Py_BuildValue((char *)"");
8587 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 unsigned long result
;
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (unsigned long)wxSysErrorCode();
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8609 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 unsigned long arg1
= (unsigned long) 0 ;
8613 PyObject
* obj0
= 0 ;
8615 (char *) "nErrCode", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8620 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= wxSysErrorMsg(arg1
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8643 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
;
8645 wxString
*arg1
= 0 ;
8646 bool temp1
= false ;
8647 PyObject
* obj0
= 0 ;
8649 (char *) "msg", NULL
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8654 arg1
= wxString_in_helper(obj0
);
8655 if (arg1
== NULL
) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 wxPyLogFatalError((wxString
const &)*arg1
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 Py_INCREF(Py_None
); resultobj
= Py_None
;
8680 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
;
8682 wxString
*arg1
= 0 ;
8683 bool temp1
= false ;
8684 PyObject
* obj0
= 0 ;
8686 (char *) "msg", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8691 arg1
= wxString_in_helper(obj0
);
8692 if (arg1
== NULL
) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 wxPyLogError((wxString
const &)*arg1
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 Py_INCREF(Py_None
); resultobj
= Py_None
;
8717 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxString
*arg1
= 0 ;
8720 bool temp1
= false ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "msg", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8728 arg1
= wxString_in_helper(obj0
);
8729 if (arg1
== NULL
) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 wxPyLogWarning((wxString
const &)*arg1
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8754 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxString
*arg1
= 0 ;
8757 bool temp1
= false ;
8758 PyObject
* obj0
= 0 ;
8760 (char *) "msg", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8765 arg1
= wxString_in_helper(obj0
);
8766 if (arg1
== NULL
) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 wxPyLogMessage((wxString
const &)*arg1
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxString
*arg1
= 0 ;
8794 bool temp1
= false ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "msg", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8802 arg1
= wxString_in_helper(obj0
);
8803 if (arg1
== NULL
) SWIG_fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 wxPyLogInfo((wxString
const &)*arg1
);
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 Py_INCREF(Py_None
); resultobj
= Py_None
;
8828 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxString
*arg1
= 0 ;
8831 bool temp1
= false ;
8832 PyObject
* obj0
= 0 ;
8834 (char *) "msg", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8839 arg1
= wxString_in_helper(obj0
);
8840 if (arg1
== NULL
) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 wxPyLogDebug((wxString
const &)*arg1
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxString
*arg1
= 0 ;
8868 bool temp1
= false ;
8869 PyObject
* obj0
= 0 ;
8871 (char *) "msg", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8876 arg1
= wxString_in_helper(obj0
);
8877 if (arg1
== NULL
) SWIG_fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 wxPyLogVerbose((wxString
const &)*arg1
);
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 Py_INCREF(Py_None
); resultobj
= Py_None
;
8902 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
;
8904 wxString
*arg1
= 0 ;
8905 bool temp1
= false ;
8906 PyObject
* obj0
= 0 ;
8908 (char *) "msg", NULL
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8913 arg1
= wxString_in_helper(obj0
);
8914 if (arg1
== NULL
) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 wxPyLogStatus((wxString
const &)*arg1
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8924 Py_INCREF(Py_None
); resultobj
= Py_None
;
8939 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxFrame
*arg1
= (wxFrame
*) 0 ;
8942 wxString
*arg2
= 0 ;
8943 bool temp2
= false ;
8944 PyObject
* obj0
= 0 ;
8945 PyObject
* obj1
= 0 ;
8947 (char *) "pFrame",(char *) "msg", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 arg2
= wxString_in_helper(obj1
);
8955 if (arg2
== NULL
) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxString
*arg1
= 0 ;
8983 bool temp1
= false ;
8984 PyObject
* obj0
= 0 ;
8986 (char *) "msg", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8991 arg1
= wxString_in_helper(obj0
);
8992 if (arg1
== NULL
) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 wxPyLogSysError((wxString
const &)*arg1
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 Py_INCREF(Py_None
); resultobj
= Py_None
;
9017 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 unsigned long arg1
;
9020 wxString
*arg2
= 0 ;
9021 bool temp2
= false ;
9022 PyObject
* obj0
= 0 ;
9023 PyObject
* obj1
= 0 ;
9025 (char *) "level",(char *) "msg", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9029 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 arg2
= wxString_in_helper(obj1
);
9033 if (arg2
== NULL
) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 Py_INCREF(Py_None
); resultobj
= Py_None
;
9058 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
9059 PyObject
*resultobj
;
9060 unsigned long arg1
;
9061 wxString
*arg2
= 0 ;
9062 bool temp2
= false ;
9063 PyObject
* obj0
= 0 ;
9064 PyObject
* obj1
= 0 ;
9066 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9067 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 arg2
= wxString_in_helper(obj1
);
9071 if (arg2
== NULL
) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
9097 PyObject
*resultobj
;
9098 wxString
*arg1
= 0 ;
9099 wxString
*arg2
= 0 ;
9100 bool temp1
= false ;
9101 bool temp2
= false ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9105 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
9107 arg1
= wxString_in_helper(obj0
);
9108 if (arg1
== NULL
) SWIG_fail
;
9112 arg2
= wxString_in_helper(obj1
);
9113 if (arg2
== NULL
) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 Py_INCREF(Py_None
); resultobj
= Py_None
;
9146 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9151 argc
= PyObject_Length(args
);
9152 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9153 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9158 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9162 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9165 return _wrap_LogTrace__SWIG_1(self
,args
);
9171 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9174 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9177 return _wrap_LogTrace__SWIG_0(self
,args
);
9182 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9187 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxString
*arg1
= 0 ;
9190 wxString
*arg2
= 0 ;
9191 bool temp1
= false ;
9192 bool temp2
= false ;
9193 PyObject
* obj0
= 0 ;
9194 PyObject
* obj1
= 0 ;
9196 (char *) "title",(char *) "text", NULL
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9201 arg1
= wxString_in_helper(obj0
);
9202 if (arg1
== NULL
) SWIG_fail
;
9206 arg2
= wxString_in_helper(obj1
);
9207 if (arg2
== NULL
) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 Py_INCREF(Py_None
); resultobj
= Py_None
;
9240 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 result
= (wxLogNull
*)new wxLogNull();
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9262 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9265 PyObject
* obj0
= 0 ;
9267 (char *) "self", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 Py_INCREF(Py_None
); resultobj
= Py_None
;
9287 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9290 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9292 return Py_BuildValue((char *)"");
9294 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
;
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (wxPyLog
*)new wxPyLog();
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9316 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9319 PyObject
*arg2
= (PyObject
*) 0 ;
9320 PyObject
*arg3
= (PyObject
*) 0 ;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9323 PyObject
* obj2
= 0 ;
9325 (char *) "self",(char *) "self",(char *) "_class", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 Py_INCREF(Py_None
); resultobj
= Py_None
;
9347 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9350 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9352 return Py_BuildValue((char *)"");
9354 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9357 int arg2
= (int) wxSIGTERM
;
9359 PyObject
* obj0
= 0 ;
9360 PyObject
* obj1
= 0 ;
9362 (char *) "pid",(char *) "sig", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9366 arg1
= (int)SWIG_As_int(obj0
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 arg2
= (int)SWIG_As_int(obj1
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
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_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 int arg1
= (int) wxJOYSTICK1
;
10085 wxJoystick
*result
;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "joystick", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
10093 arg1
= (int)SWIG_As_int(obj0
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10097 if (!wxPyCheckForApp()) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (wxJoystick
*)new wxJoystick(arg1
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10111 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 Py_INCREF(Py_None
); resultobj
= Py_None
;
10136 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10140 PyObject
* obj0
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 result
= (arg1
)->GetPosition();
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10156 wxPoint
* resultptr
;
10157 resultptr
= new wxPoint((wxPoint
&) result
);
10158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10166 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (int)(arg1
)->GetZPosition();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_From_int((int)result
);
10192 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10196 PyObject
* obj0
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (int)(arg1
)->GetButtonState();
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= SWIG_From_int((int)result
);
10218 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (int)(arg1
)->GetPOVPosition();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_From_int((int)result
);
10244 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (int)(arg1
)->GetPOVCTSPosition();
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= SWIG_From_int((int)result
);
10270 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 result
= (int)(arg1
)->GetRudderPosition();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= SWIG_From_int((int)result
);
10296 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (int)(arg1
)->GetUPosition();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_From_int((int)result
);
10322 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10326 PyObject
* obj0
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (int)(arg1
)->GetVPosition();
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= SWIG_From_int((int)result
);
10348 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
;
10350 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 result
= (int)(arg1
)->GetMovementThreshold();
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= SWIG_From_int((int)result
);
10374 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10378 PyObject
* obj0
= 0 ;
10379 PyObject
* obj1
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self",(char *) "threshold", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10387 arg2
= (int)SWIG_As_int(obj1
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 (arg1
)->SetMovementThreshold(arg2
);
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10396 Py_INCREF(Py_None
); resultobj
= Py_None
;
10403 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
;
10405 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10407 PyObject
* obj0
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "self", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (bool)(arg1
)->IsOk();
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10431 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10435 PyObject
* obj0
= 0 ;
10436 char *kwnames
[] = {
10437 (char *) "self", NULL
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 result
= (int)(arg1
)->GetNumberJoysticks();
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_From_int((int)result
);
10457 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self", NULL
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (int)(arg1
)->GetManufacturerId();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_From_int((int)result
);
10483 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (int)(arg1
)->GetProductId();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_From_int((int)result
);
10509 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10513 PyObject
* obj0
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (arg1
)->GetProductName();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10541 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 result
= (int)(arg1
)->GetXMin();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= SWIG_From_int((int)result
);
10567 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10571 PyObject
* obj0
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (int)(arg1
)->GetYMin();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= SWIG_From_int((int)result
);
10593 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (int)(arg1
)->GetZMin();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= SWIG_From_int((int)result
);
10619 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (int)(arg1
)->GetXMax();
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_From_int((int)result
);
10645 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10649 PyObject
* obj0
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= (int)(arg1
)->GetYMax();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= SWIG_From_int((int)result
);
10671 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= (int)(arg1
)->GetZMax();
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= SWIG_From_int((int)result
);
10697 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10699 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10701 PyObject
* obj0
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (int)(arg1
)->GetNumberButtons();
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= SWIG_From_int((int)result
);
10723 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10727 PyObject
* obj0
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 result
= (int)(arg1
)->GetNumberAxes();
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= SWIG_From_int((int)result
);
10749 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (int)(arg1
)->GetMaxButtons();
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= SWIG_From_int((int)result
);
10775 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= (int)(arg1
)->GetMaxAxes();
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= SWIG_From_int((int)result
);
10801 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10805 PyObject
* obj0
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (int)(arg1
)->GetPollingMin();
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_From_int((int)result
);
10827 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (int)(arg1
)->GetPollingMax();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= SWIG_From_int((int)result
);
10853 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 result
= (int)(arg1
)->GetRudderMin();
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_From_int((int)result
);
10879 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (int)(arg1
)->GetRudderMax();
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= SWIG_From_int((int)result
);
10905 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (int)(arg1
)->GetUMin();
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= SWIG_From_int((int)result
);
10931 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10935 PyObject
* obj0
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (int)(arg1
)->GetUMax();
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= SWIG_From_int((int)result
);
10957 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (int)(arg1
)->GetVMin();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= SWIG_From_int((int)result
);
10983 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "self", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (int)(arg1
)->GetVMax();
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_From_int((int)result
);
11009 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
;
11011 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11013 PyObject
* obj0
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
11019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (bool)(arg1
)->HasRudder();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11037 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (bool)(arg1
)->HasZ();
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11065 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
11075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (bool)(arg1
)->HasU();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11093 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
11103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (bool)(arg1
)->HasV();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11121 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11125 PyObject
* obj0
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "self", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (bool)(arg1
)->HasPOV();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11149 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 char *kwnames
[] = {
11155 (char *) "self", NULL
11158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (bool)(arg1
)->HasPOV4Dir();
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11177 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11178 PyObject
*resultobj
;
11179 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11181 PyObject
* obj0
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "self", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 result
= (bool)(arg1
)->HasPOVCTS();
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11205 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11208 wxWindow
*arg2
= (wxWindow
*) 0 ;
11209 int arg3
= (int) 0 ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 PyObject
* obj2
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11224 arg3
= (int)SWIG_As_int(obj2
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11243 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
;
11245 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 result
= (bool)(arg1
)->ReleaseCapture();
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11271 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11274 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11276 return Py_BuildValue((char *)"");
11278 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11281 wxPoint
*arg2
= (wxPoint
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self",(char *) "m_pos", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11293 if (arg1
) (arg1
)->m_pos
= *arg2
;
11295 Py_INCREF(Py_None
); resultobj
= Py_None
;
11302 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11323 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11327 PyObject
* obj0
= 0 ;
11328 PyObject
* obj1
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "self",(char *) "m_zPosition", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11336 arg2
= (int)SWIG_As_int(obj1
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11338 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11340 Py_INCREF(Py_None
); resultobj
= Py_None
;
11347 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
;
11349 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11351 PyObject
* obj0
= 0 ;
11352 char *kwnames
[] = {
11353 (char *) "self", NULL
11356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11359 result
= (int) ((arg1
)->m_zPosition
);
11361 resultobj
= SWIG_From_int((int)result
);
11368 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
;
11370 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self",(char *) "m_buttonChange", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11381 arg2
= (int)SWIG_As_int(obj1
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11383 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11385 Py_INCREF(Py_None
); resultobj
= Py_None
;
11392 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11404 result
= (int) ((arg1
)->m_buttonChange
);
11406 resultobj
= SWIG_From_int((int)result
);
11413 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self",(char *) "m_buttonState", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11426 arg2
= (int)SWIG_As_int(obj1
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11428 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11430 Py_INCREF(Py_None
); resultobj
= Py_None
;
11437 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
;
11439 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11441 PyObject
* obj0
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11449 result
= (int) ((arg1
)->m_buttonState
);
11451 resultobj
= SWIG_From_int((int)result
);
11458 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11462 PyObject
* obj0
= 0 ;
11463 PyObject
* obj1
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "self",(char *) "m_joyStick", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11471 arg2
= (int)SWIG_As_int(obj1
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11473 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11475 Py_INCREF(Py_None
); resultobj
= Py_None
;
11482 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11486 PyObject
* obj0
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11494 result
= (int) ((arg1
)->m_joyStick
);
11496 resultobj
= SWIG_From_int((int)result
);
11503 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11506 int arg2
= (int) 0 ;
11507 int arg3
= (int) wxJOYSTICK1
;
11508 int arg4
= (int) 0 ;
11509 wxJoystickEvent
*result
;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 PyObject
* obj2
= 0 ;
11513 PyObject
* obj3
= 0 ;
11514 char *kwnames
[] = {
11515 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11520 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 arg2
= (int)SWIG_As_int(obj1
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11528 arg3
= (int)SWIG_As_int(obj2
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11532 arg4
= (int)SWIG_As_int(obj3
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11549 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11553 PyObject
* obj0
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11569 wxPoint
* resultptr
;
11570 resultptr
= new wxPoint((wxPoint
&) result
);
11571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11579 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11583 PyObject
* obj0
= 0 ;
11584 char *kwnames
[] = {
11585 (char *) "self", NULL
11588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= SWIG_From_int((int)result
);
11605 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
;
11607 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 resultobj
= SWIG_From_int((int)result
);
11631 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
;
11633 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11635 PyObject
* obj0
= 0 ;
11636 char *kwnames
[] = {
11637 (char *) "self", NULL
11640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11645 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= SWIG_From_int((int)result
);
11657 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
;
11659 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11661 PyObject
* obj0
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int((int)result
);
11683 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self",(char *) "stick", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11696 arg2
= (int)SWIG_As_int(obj1
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 (arg1
)->SetJoystick(arg2
);
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 Py_INCREF(Py_None
); resultobj
= Py_None
;
11712 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11716 PyObject
* obj0
= 0 ;
11717 PyObject
* obj1
= 0 ;
11718 char *kwnames
[] = {
11719 (char *) "self",(char *) "state", NULL
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11725 arg2
= (int)SWIG_As_int(obj1
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 (arg1
)->SetButtonState(arg2
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 Py_INCREF(Py_None
); resultobj
= Py_None
;
11741 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11745 PyObject
* obj0
= 0 ;
11746 PyObject
* obj1
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self",(char *) "change", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11754 arg2
= (int)SWIG_As_int(obj1
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 (arg1
)->SetButtonChange(arg2
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 Py_INCREF(Py_None
); resultobj
= Py_None
;
11770 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11773 wxPoint
*arg2
= 0 ;
11775 PyObject
* obj0
= 0 ;
11776 PyObject
* obj1
= 0 ;
11777 char *kwnames
[] = {
11778 (char *) "self",(char *) "pos", NULL
11781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 Py_INCREF(Py_None
); resultobj
= Py_None
;
11802 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
;
11804 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11806 PyObject
* obj0
= 0 ;
11807 PyObject
* obj1
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self",(char *) "zPos", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11815 arg2
= (int)SWIG_As_int(obj1
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 (arg1
)->SetZPosition(arg2
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 Py_INCREF(Py_None
); resultobj
= Py_None
;
11831 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11832 PyObject
*resultobj
;
11833 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11835 PyObject
* obj0
= 0 ;
11836 char *kwnames
[] = {
11837 (char *) "self", NULL
11840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11859 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11863 PyObject
* obj0
= 0 ;
11864 char *kwnames
[] = {
11865 (char *) "self", NULL
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11887 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11891 PyObject
* obj0
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "self", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11915 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
;
11917 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11918 int arg2
= (int) wxJOY_BUTTON_ANY
;
11920 PyObject
* obj0
= 0 ;
11921 PyObject
* obj1
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self",(char *) "but", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11930 arg2
= (int)SWIG_As_int(obj1
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11949 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11952 int arg2
= (int) wxJOY_BUTTON_ANY
;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self",(char *) "but", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11964 arg2
= (int)SWIG_As_int(obj1
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11983 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
;
11985 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11986 int arg2
= (int) wxJOY_BUTTON_ANY
;
11988 PyObject
* obj0
= 0 ;
11989 PyObject
* obj1
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self",(char *) "but", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11998 arg2
= (int)SWIG_As_int(obj1
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12017 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
12019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12020 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
12022 return Py_BuildValue((char *)"");
12024 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxString
const &arg1_defvalue
= wxPyEmptyString
;
12027 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
12029 bool temp1
= false ;
12030 PyObject
* obj0
= 0 ;
12031 char *kwnames
[] = {
12032 (char *) "fileName", NULL
12035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
12038 arg1
= wxString_in_helper(obj0
);
12039 if (arg1
== NULL
) SWIG_fail
;
12044 if (!wxPyCheckForApp()) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12066 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 PyObject
*arg1
= (PyObject
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "data", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
12078 if (!wxPyCheckForApp()) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (wxSound
*)new_wxSound(arg1
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
12092 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxSound
*arg1
= (wxSound
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
12101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 Py_INCREF(Py_None
); resultobj
= Py_None
;
12117 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxSound
*arg1
= (wxSound
*) 0 ;
12120 wxString
*arg2
= 0 ;
12122 bool temp2
= false ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char *kwnames
[] = {
12126 (char *) "self",(char *) "fileName", NULL
12129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12133 arg2
= wxString_in_helper(obj1
);
12134 if (arg2
== NULL
) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12161 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxSound
*arg1
= (wxSound
*) 0 ;
12164 PyObject
*arg2
= (PyObject
*) 0 ;
12166 PyObject
* obj0
= 0 ;
12167 PyObject
* obj1
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self",(char *) "data", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12192 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxSound
*arg1
= (wxSound
*) 0 ;
12196 PyObject
* obj0
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= (bool)(arg1
)->IsOk();
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12220 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxSound
*arg1
= (wxSound
*) 0 ;
12223 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12225 PyObject
* obj0
= 0 ;
12226 PyObject
* obj1
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self",(char *) "flags", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12235 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 if (!wxPyCheckForApp()) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12255 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxString
*arg1
= 0 ;
12258 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12260 bool temp1
= false ;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "filename",(char *) "flags", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12269 arg1
= wxString_in_helper(obj0
);
12270 if (arg1
== NULL
) SWIG_fail
;
12274 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 if (!wxPyCheckForApp()) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12302 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 char *kwnames
[] = {
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12310 if (!wxPyCheckForApp()) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 Py_INCREF(Py_None
); resultobj
= Py_None
;
12324 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12327 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12329 return Py_BuildValue((char *)"");
12331 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxString
*arg1
= 0 ;
12334 wxString
*arg2
= 0 ;
12335 wxString
*arg3
= 0 ;
12336 wxString
*arg4
= 0 ;
12337 wxFileTypeInfo
*result
;
12338 bool temp1
= false ;
12339 bool temp2
= false ;
12340 bool temp3
= false ;
12341 bool temp4
= false ;
12342 PyObject
* obj0
= 0 ;
12343 PyObject
* obj1
= 0 ;
12344 PyObject
* obj2
= 0 ;
12345 PyObject
* obj3
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12352 arg1
= wxString_in_helper(obj0
);
12353 if (arg1
== NULL
) SWIG_fail
;
12357 arg2
= wxString_in_helper(obj1
);
12358 if (arg2
== NULL
) SWIG_fail
;
12362 arg3
= wxString_in_helper(obj2
);
12363 if (arg3
== NULL
) SWIG_fail
;
12367 arg4
= wxString_in_helper(obj3
);
12368 if (arg4
== NULL
) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12417 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxArrayString
*arg1
= 0 ;
12420 wxFileTypeInfo
*result
;
12421 bool temp1
= false ;
12422 PyObject
* obj0
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "sArray", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12429 if (! PySequence_Check(obj0
)) {
12430 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12433 arg1
= new wxArrayString
;
12435 int i
, len
=PySequence_Length(obj0
);
12436 for (i
=0; i
<len
; i
++) {
12437 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12439 PyObject
* str
= PyObject_Unicode(item
);
12441 PyObject
* str
= PyObject_Str(item
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12444 arg1
->Add(Py2wxString(str
));
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12458 if (temp1
) delete arg1
;
12463 if (temp1
) delete arg1
;
12469 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxFileTypeInfo
*result
;
12472 char *kwnames
[] = {
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12491 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12519 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12522 wxString
*arg2
= 0 ;
12523 int arg3
= (int) 0 ;
12524 bool temp2
= false ;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 PyObject
* obj2
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12536 arg2
= wxString_in_helper(obj1
);
12537 if (arg2
== NULL
) SWIG_fail
;
12541 arg3
= (int)SWIG_As_int(obj2
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 Py_INCREF(Py_None
); resultobj
= Py_None
;
12566 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12569 wxString
*arg2
= 0 ;
12570 bool temp2
= false ;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self",(char *) "shortDesc", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 arg2
= wxString_in_helper(obj1
);
12582 if (arg2
== NULL
) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 Py_INCREF(Py_None
); resultobj
= Py_None
;
12607 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12611 PyObject
* obj0
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12623 result
= (wxString
*) &_result_ref
;
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12633 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12642 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12658 result
= (wxString
*) &_result_ref
;
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12668 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12677 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12693 result
= (wxString
*) &_result_ref
;
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12703 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12712 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12728 result
= (wxString
*) &_result_ref
;
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12738 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12747 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12751 PyObject
* obj0
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12763 result
= (wxString
*) &_result_ref
;
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12773 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12782 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12785 wxArrayString
*result
;
12786 PyObject
* obj0
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "self", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12798 result
= (wxArrayString
*) &_result_ref
;
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= wxArrayString2PyList_helper(*result
);
12813 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_From_int((int)result
);
12839 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12855 result
= (wxString
*) &_result_ref
;
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12865 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12874 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
;
12876 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12878 PyObject
* obj0
= 0 ;
12879 char *kwnames
[] = {
12880 (char *) "self", NULL
12883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= SWIG_From_int((int)result
);
12900 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12903 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12905 return Py_BuildValue((char *)"");
12907 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxFileTypeInfo
*arg1
= 0 ;
12910 wxFileType
*result
;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "ftInfo", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12920 if (arg1
== NULL
) {
12921 PyErr_SetString(PyExc_TypeError
,"null reference");
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12938 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxFileType
*arg1
= (wxFileType
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 Py_INCREF(Py_None
); resultobj
= Py_None
;
12963 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxFileType
*arg1
= (wxFileType
*) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= result
;
12989 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxFileType
*arg1
= (wxFileType
*) 0 ;
12993 PyObject
* obj0
= 0 ;
12994 char *kwnames
[] = {
12995 (char *) "self", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= result
;
13015 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxFileType
*arg1
= (wxFileType
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= result
;
13041 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxFileType
*arg1
= (wxFileType
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
13067 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxFileType
*arg1
= (wxFileType
*) 0 ;
13071 PyObject
* obj0
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "self", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
13077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= result
;
13093 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxFileType
*arg1
= (wxFileType
*) 0 ;
13097 PyObject
* obj0
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "self", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
13103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 resultobj
= result
;
13119 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxFileType
*arg1
= (wxFileType
*) 0 ;
13122 wxString
*arg2
= 0 ;
13123 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13124 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13126 bool temp2
= false ;
13127 bool temp3
= false ;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 PyObject
* obj2
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13139 arg2
= wxString_in_helper(obj1
);
13140 if (arg2
== NULL
) SWIG_fail
;
13145 arg3
= wxString_in_helper(obj2
);
13146 if (arg3
== NULL
) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= result
;
13180 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxFileType
*arg1
= (wxFileType
*) 0 ;
13183 wxString
*arg2
= 0 ;
13184 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13185 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13187 bool temp2
= false ;
13188 bool temp3
= false ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 PyObject
* obj2
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 arg2
= wxString_in_helper(obj1
);
13201 if (arg2
== NULL
) SWIG_fail
;
13206 arg3
= wxString_in_helper(obj2
);
13207 if (arg3
== NULL
) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= result
;
13241 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxFileType
*arg1
= (wxFileType
*) 0 ;
13244 wxString
*arg2
= 0 ;
13245 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13246 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13248 bool temp2
= false ;
13249 bool temp3
= false ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 PyObject
* obj2
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13261 arg2
= wxString_in_helper(obj1
);
13262 if (arg2
== NULL
) SWIG_fail
;
13267 arg3
= wxString_in_helper(obj2
);
13268 if (arg3
== NULL
) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= result
;
13302 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxFileType
*arg1
= (wxFileType
*) 0 ;
13305 wxString
*arg2
= 0 ;
13306 wxString
*arg3
= 0 ;
13307 bool arg4
= (bool) true ;
13309 bool temp2
= false ;
13310 bool temp3
= false ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 PyObject
* obj2
= 0 ;
13314 PyObject
* obj3
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13323 arg2
= wxString_in_helper(obj1
);
13324 if (arg2
== NULL
) SWIG_fail
;
13328 arg3
= wxString_in_helper(obj2
);
13329 if (arg3
== NULL
) SWIG_fail
;
13333 arg4
= (bool)SWIG_As_bool(obj3
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13368 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxFileType
*arg1
= (wxFileType
*) 0 ;
13371 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13372 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13373 int arg3
= (int) 0 ;
13375 bool temp2
= false ;
13376 PyObject
* obj0
= 0 ;
13377 PyObject
* obj1
= 0 ;
13378 PyObject
* obj2
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self",(char *) "cmd",(char *) "index", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 arg2
= wxString_in_helper(obj1
);
13389 if (arg2
== NULL
) SWIG_fail
;
13394 arg3
= (int)SWIG_As_int(obj2
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13421 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxFileType
*arg1
= (wxFileType
*) 0 ;
13425 PyObject
* obj0
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "self", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 result
= (bool)(arg1
)->Unassociate();
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13449 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxString
*arg1
= 0 ;
13452 wxString
*arg2
= 0 ;
13453 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13454 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13456 bool temp1
= false ;
13457 bool temp2
= false ;
13458 bool temp3
= false ;
13459 PyObject
* obj0
= 0 ;
13460 PyObject
* obj1
= 0 ;
13461 PyObject
* obj2
= 0 ;
13462 char *kwnames
[] = {
13463 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13468 arg1
= wxString_in_helper(obj0
);
13469 if (arg1
== NULL
) SWIG_fail
;
13473 arg2
= wxString_in_helper(obj1
);
13474 if (arg2
== NULL
) SWIG_fail
;
13479 arg3
= wxString_in_helper(obj2
);
13480 if (arg3
== NULL
) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13528 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13531 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13533 return Py_BuildValue((char *)"");
13535 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13536 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13541 static PyObject
*_wrap_TheMimeTypesManager_get() {
13544 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13549 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxString
*arg1
= 0 ;
13552 wxString
*arg2
= 0 ;
13554 bool temp1
= false ;
13555 bool temp2
= false ;
13556 PyObject
* obj0
= 0 ;
13557 PyObject
* obj1
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "mimeType",(char *) "wildcard", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13564 arg1
= wxString_in_helper(obj0
);
13565 if (arg1
== NULL
) SWIG_fail
;
13569 arg2
= wxString_in_helper(obj1
);
13570 if (arg2
== NULL
) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13605 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxMimeTypesManager
*result
;
13608 char *kwnames
[] = {
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13627 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13630 int arg2
= (int) wxMAILCAP_ALL
;
13631 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13632 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13633 bool temp3
= false ;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 PyObject
* obj2
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13645 arg2
= (int)SWIG_As_int(obj1
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13650 arg3
= wxString_in_helper(obj2
);
13651 if (arg3
== NULL
) SWIG_fail
;
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13662 Py_INCREF(Py_None
); resultobj
= Py_None
;
13677 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "self", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 (arg1
)->ClearData();
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 Py_INCREF(Py_None
); resultobj
= Py_None
;
13702 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13705 wxString
*arg2
= 0 ;
13706 wxFileType
*result
;
13707 bool temp2
= false ;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "self",(char *) "ext", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13718 arg2
= wxString_in_helper(obj1
);
13719 if (arg2
== NULL
) SWIG_fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13744 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13747 wxString
*arg2
= 0 ;
13748 wxFileType
*result
;
13749 bool temp2
= false ;
13750 PyObject
* obj0
= 0 ;
13751 PyObject
* obj1
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "self",(char *) "mimeType", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13760 arg2
= wxString_in_helper(obj1
);
13761 if (arg2
== NULL
) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13786 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13789 wxString
*arg2
= 0 ;
13790 bool arg3
= (bool) false ;
13792 bool temp2
= false ;
13793 PyObject
* obj0
= 0 ;
13794 PyObject
* obj1
= 0 ;
13795 PyObject
* obj2
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13804 arg2
= wxString_in_helper(obj1
);
13805 if (arg2
== NULL
) SWIG_fail
;
13809 arg3
= (bool)SWIG_As_bool(obj2
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13836 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13839 wxString
*arg2
= 0 ;
13841 bool temp2
= false ;
13842 PyObject
* obj0
= 0 ;
13843 PyObject
* obj1
= 0 ;
13844 char *kwnames
[] = {
13845 (char *) "self",(char *) "filename", NULL
13848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13880 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= result
;
13906 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
;
13908 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13909 wxFileTypeInfo
*arg2
= 0 ;
13910 PyObject
* obj0
= 0 ;
13911 PyObject
* obj1
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self",(char *) "ft", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13922 if (arg2
== NULL
) {
13923 PyErr_SetString(PyExc_TypeError
,"null reference");
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 Py_INCREF(Py_None
); resultobj
= Py_None
;
13940 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13943 wxFileTypeInfo
*arg2
= 0 ;
13944 wxFileType
*result
;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self",(char *) "ftInfo", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13957 if (arg2
== NULL
) {
13958 PyErr_SetString(PyExc_TypeError
,"null reference");
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13975 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13978 wxFileType
*arg2
= (wxFileType
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "ft", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (bool)(arg1
)->Unassociate(arg2
);
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14007 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
14016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
14017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 Py_INCREF(Py_None
); resultobj
= Py_None
;
14032 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
14034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14035 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
14037 return Py_BuildValue((char *)"");
14039 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
14040 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
14045 static PyObject
*_wrap_ART_TOOLBAR_get() {
14050 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14052 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
14059 static int _wrap_ART_MENU_set(PyObject
*) {
14060 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
14065 static PyObject
*_wrap_ART_MENU_get() {
14070 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14072 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
14079 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
14080 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
14085 static PyObject
*_wrap_ART_FRAME_ICON_get() {
14090 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14092 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14099 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
14100 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
14105 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14110 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14112 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14119 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14120 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14125 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14130 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14132 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14139 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14140 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14145 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14150 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14152 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14159 static int _wrap_ART_BUTTON_set(PyObject
*) {
14160 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14165 static PyObject
*_wrap_ART_BUTTON_get() {
14170 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14172 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14179 static int _wrap_ART_OTHER_set(PyObject
*) {
14180 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14185 static PyObject
*_wrap_ART_OTHER_get() {
14190 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14192 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14199 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14200 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14205 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14210 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14212 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14219 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14220 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14225 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14230 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14232 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14239 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14240 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14245 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14250 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14252 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14259 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14260 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14265 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14270 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14272 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14279 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14280 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14285 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14290 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14292 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14299 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14300 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14305 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14310 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14312 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14319 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14320 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14325 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14330 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14332 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14339 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14340 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14345 static PyObject
*_wrap_ART_GO_BACK_get() {
14350 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14352 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14359 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14360 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14365 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14370 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14372 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14379 static int _wrap_ART_GO_UP_set(PyObject
*) {
14380 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14385 static PyObject
*_wrap_ART_GO_UP_get() {
14390 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14392 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14399 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14400 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14405 static PyObject
*_wrap_ART_GO_DOWN_get() {
14410 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14412 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14419 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14420 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14425 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14430 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14432 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14439 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14440 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14445 static PyObject
*_wrap_ART_GO_HOME_get() {
14450 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14452 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14459 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14460 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14465 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14470 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14472 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14479 static int _wrap_ART_PRINT_set(PyObject
*) {
14480 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14485 static PyObject
*_wrap_ART_PRINT_get() {
14490 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14492 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14499 static int _wrap_ART_HELP_set(PyObject
*) {
14500 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14505 static PyObject
*_wrap_ART_HELP_get() {
14510 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14512 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14519 static int _wrap_ART_TIP_set(PyObject
*) {
14520 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14525 static PyObject
*_wrap_ART_TIP_get() {
14530 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14532 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14539 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14540 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14545 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14550 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14552 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14559 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14560 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14565 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14570 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14572 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14579 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14580 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14585 static PyObject
*_wrap_ART_NEW_DIR_get() {
14590 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14592 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14599 static int _wrap_ART_HARDDISK_set(PyObject
*) {
14600 PyErr_SetString(PyExc_TypeError
,"Variable ART_HARDDISK is read-only.");
14605 static PyObject
*_wrap_ART_HARDDISK_get() {
14610 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14612 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
14619 static int _wrap_ART_FLOPPY_set(PyObject
*) {
14620 PyErr_SetString(PyExc_TypeError
,"Variable ART_FLOPPY is read-only.");
14625 static PyObject
*_wrap_ART_FLOPPY_get() {
14630 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14632 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
14639 static int _wrap_ART_CDROM_set(PyObject
*) {
14640 PyErr_SetString(PyExc_TypeError
,"Variable ART_CDROM is read-only.");
14645 static PyObject
*_wrap_ART_CDROM_get() {
14650 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14652 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
14659 static int _wrap_ART_REMOVABLE_set(PyObject
*) {
14660 PyErr_SetString(PyExc_TypeError
,"Variable ART_REMOVABLE is read-only.");
14665 static PyObject
*_wrap_ART_REMOVABLE_get() {
14670 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14672 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
14679 static int _wrap_ART_FOLDER_set(PyObject
*) {
14680 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14685 static PyObject
*_wrap_ART_FOLDER_get() {
14690 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14692 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14699 static int _wrap_ART_FOLDER_OPEN_set(PyObject
*) {
14700 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER_OPEN is read-only.");
14705 static PyObject
*_wrap_ART_FOLDER_OPEN_get() {
14710 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14712 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
14719 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14720 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14725 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14730 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14732 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14739 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14740 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14745 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14750 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14752 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14759 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14760 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14765 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14770 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14772 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14779 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14780 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14785 static PyObject
*_wrap_ART_TICK_MARK_get() {
14790 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14792 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14799 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14800 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14805 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14810 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14812 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14819 static int _wrap_ART_ERROR_set(PyObject
*) {
14820 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14825 static PyObject
*_wrap_ART_ERROR_get() {
14830 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14832 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14839 static int _wrap_ART_QUESTION_set(PyObject
*) {
14840 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14845 static PyObject
*_wrap_ART_QUESTION_get() {
14850 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14852 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14859 static int _wrap_ART_WARNING_set(PyObject
*) {
14860 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14865 static PyObject
*_wrap_ART_WARNING_get() {
14870 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14872 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14879 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14880 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14885 static PyObject
*_wrap_ART_INFORMATION_get() {
14890 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14892 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14899 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14900 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14905 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14910 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14912 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14919 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
;
14921 wxPyArtProvider
*result
;
14922 char *kwnames
[] = {
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14928 if (!wxPyCheckForApp()) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14942 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14945 PyObject
*arg2
= (PyObject
*) 0 ;
14946 PyObject
*arg3
= (PyObject
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 PyObject
* obj2
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self",(char *) "self",(char *) "_class", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 Py_INCREF(Py_None
); resultobj
= Py_None
;
14973 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "provider", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 wxPyArtProvider::PushProvider(arg1
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 Py_INCREF(Py_None
); resultobj
= Py_None
;
14998 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15001 char *kwnames
[] = {
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (bool)wxPyArtProvider::PopProvider();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15022 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "provider", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15050 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxString
*arg1
= 0 ;
15053 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15054 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15055 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15056 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15058 bool temp1
= false ;
15059 bool temp2
= false ;
15061 PyObject
* obj0
= 0 ;
15062 PyObject
* obj1
= 0 ;
15063 PyObject
* obj2
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "id",(char *) "client",(char *) "size", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15070 arg1
= wxString_in_helper(obj0
);
15071 if (arg1
== NULL
) SWIG_fail
;
15076 arg2
= wxString_in_helper(obj1
);
15077 if (arg2
== NULL
) SWIG_fail
;
15084 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15088 if (!wxPyCheckForApp()) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15096 wxBitmap
* resultptr
;
15097 resultptr
= new wxBitmap((wxBitmap
&) result
);
15098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15122 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxString
*arg1
= 0 ;
15125 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
15126 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15127 wxSize
const &arg3_defvalue
= wxDefaultSize
;
15128 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
15130 bool temp1
= false ;
15131 bool temp2
= false ;
15133 PyObject
* obj0
= 0 ;
15134 PyObject
* obj1
= 0 ;
15135 PyObject
* obj2
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "id",(char *) "client",(char *) "size", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15142 arg1
= wxString_in_helper(obj0
);
15143 if (arg1
== NULL
) SWIG_fail
;
15148 arg2
= wxString_in_helper(obj1
);
15149 if (arg2
== NULL
) SWIG_fail
;
15156 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15160 if (!wxPyCheckForApp()) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15168 wxIcon
* resultptr
;
15169 resultptr
= new wxIcon((wxIcon
&) result
);
15170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
15194 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
15203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 wxPyArtProvider_Destroy(arg1
);
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 Py_INCREF(Py_None
); resultobj
= Py_None
;
15219 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15222 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15224 return Py_BuildValue((char *)"");
15226 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15254 wxConfigBase
*result
;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "config", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15277 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 bool arg1
= (bool) true ;
15280 wxConfigBase
*result
;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "createOnDemand", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15288 arg1
= (bool)SWIG_As_bool(obj0
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15305 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxConfigBase
*result
;
15308 char *kwnames
[] = {
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (wxConfigBase
*)wxConfigBase::Create();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15327 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 char *kwnames
[] = {
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 wxConfigBase::DontCreateOnDemand();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 Py_INCREF(Py_None
); resultobj
= Py_None
;
15348 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15351 wxString
*arg2
= 0 ;
15352 bool temp2
= false ;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self",(char *) "path", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15363 arg2
= wxString_in_helper(obj1
);
15364 if (arg2
== NULL
) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 (arg1
)->SetPath((wxString
const &)*arg2
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 Py_INCREF(Py_None
); resultobj
= Py_None
;
15389 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
;
15391 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15405 result
= (wxString
*) &_result_ref
;
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15415 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15424 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= result
;
15450 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 char *kwnames
[] = {
15458 (char *) "self",(char *) "index", NULL
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15464 arg2
= (long)SWIG_As_long(obj1
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= result
;
15480 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15484 PyObject
* obj0
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "self", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= result
;
15506 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "self",(char *) "index", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15520 arg2
= (long)SWIG_As_long(obj1
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= result
;
15536 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15539 bool arg2
= (bool) false ;
15541 PyObject
* obj0
= 0 ;
15542 PyObject
* obj1
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self",(char *) "recursive", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15551 arg2
= (bool)SWIG_As_bool(obj1
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15568 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15571 bool arg2
= (bool) false ;
15573 PyObject
* obj0
= 0 ;
15574 PyObject
* obj1
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self",(char *) "recursive", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 arg2
= (bool)SWIG_As_bool(obj1
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15600 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15603 wxString
*arg2
= 0 ;
15605 bool temp2
= false ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "name", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15616 arg2
= wxString_in_helper(obj1
);
15617 if (arg2
== NULL
) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15644 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15647 wxString
*arg2
= 0 ;
15649 bool temp2
= false ;
15650 PyObject
* obj0
= 0 ;
15651 PyObject
* obj1
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self",(char *) "name", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 arg2
= wxString_in_helper(obj1
);
15661 if (arg2
== NULL
) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15688 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15691 wxString
*arg2
= 0 ;
15693 bool temp2
= false ;
15694 PyObject
* obj0
= 0 ;
15695 PyObject
* obj1
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "self",(char *) "name", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15704 arg2
= wxString_in_helper(obj1
);
15705 if (arg2
== NULL
) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15732 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15735 wxString
*arg2
= 0 ;
15737 bool temp2
= false ;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "name", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 arg2
= wxString_in_helper(obj1
);
15749 if (arg2
== NULL
) SWIG_fail
;
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= SWIG_From_int((int)result
);
15774 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15777 wxString
*arg2
= 0 ;
15778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15781 bool temp2
= false ;
15782 bool temp3
= false ;
15783 PyObject
* obj0
= 0 ;
15784 PyObject
* obj1
= 0 ;
15785 PyObject
* obj2
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15794 arg2
= wxString_in_helper(obj1
);
15795 if (arg2
== NULL
) SWIG_fail
;
15800 arg3
= wxString_in_helper(obj2
);
15801 if (arg3
== NULL
) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15841 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15844 wxString
*arg2
= 0 ;
15845 long arg3
= (long) 0 ;
15847 bool temp2
= false ;
15848 PyObject
* obj0
= 0 ;
15849 PyObject
* obj1
= 0 ;
15850 PyObject
* obj2
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 arg2
= wxString_in_helper(obj1
);
15860 if (arg2
== NULL
) SWIG_fail
;
15864 arg3
= (long)SWIG_As_long(obj2
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15874 resultobj
= SWIG_From_long((long)result
);
15889 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15892 wxString
*arg2
= 0 ;
15893 double arg3
= (double) 0.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_ReadFloat",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
= (double)SWIG_As_double(obj2
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= SWIG_From_double((double)result
);
15937 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15940 wxString
*arg2
= 0 ;
15941 bool arg3
= (bool) false ;
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_ReadBool",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
= (bool)SWIG_As_bool(obj2
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15987 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15990 wxString
*arg2
= 0 ;
15991 wxString
*arg3
= 0 ;
15993 bool temp2
= false ;
15994 bool temp3
= false ;
15995 PyObject
* obj0
= 0 ;
15996 PyObject
* obj1
= 0 ;
15997 PyObject
* obj2
= 0 ;
15998 char *kwnames
[] = {
15999 (char *) "self",(char *) "key",(char *) "value", NULL
16002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16006 arg2
= wxString_in_helper(obj1
);
16007 if (arg2
== NULL
) SWIG_fail
;
16011 arg3
= wxString_in_helper(obj2
);
16012 if (arg3
== NULL
) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16047 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16049 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16050 wxString
*arg2
= 0 ;
16053 bool temp2
= false ;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 PyObject
* obj2
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "key",(char *) "value", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 arg2
= wxString_in_helper(obj1
);
16066 if (arg2
== NULL
) SWIG_fail
;
16069 arg3
= (long)SWIG_As_long(obj2
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16095 static PyObject
*_wrap_ConfigBase_WriteFloat(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_WriteFloat",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
= (double)SWIG_As_double(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_WriteBool(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_WriteBool",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
= (bool)SWIG_As_bool(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_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16194 bool arg2
= (bool) false ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "currentOnly", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16206 arg2
= (bool)SWIG_As_bool(obj1
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (bool)(arg1
)->Flush(arg2
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16225 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16228 wxString
*arg2
= 0 ;
16229 wxString
*arg3
= 0 ;
16231 bool temp2
= false ;
16232 bool temp3
= false ;
16233 PyObject
* obj0
= 0 ;
16234 PyObject
* obj1
= 0 ;
16235 PyObject
* obj2
= 0 ;
16236 char *kwnames
[] = {
16237 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16244 arg2
= wxString_in_helper(obj1
);
16245 if (arg2
== NULL
) SWIG_fail
;
16249 arg3
= wxString_in_helper(obj2
);
16250 if (arg3
== NULL
) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16285 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16288 wxString
*arg2
= 0 ;
16289 wxString
*arg3
= 0 ;
16291 bool temp2
= false ;
16292 bool temp3
= false ;
16293 PyObject
* obj0
= 0 ;
16294 PyObject
* obj1
= 0 ;
16295 PyObject
* obj2
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 arg2
= wxString_in_helper(obj1
);
16305 if (arg2
== NULL
) SWIG_fail
;
16309 arg3
= wxString_in_helper(obj2
);
16310 if (arg3
== NULL
) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16345 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16348 wxString
*arg2
= 0 ;
16349 bool arg3
= (bool) true ;
16351 bool temp2
= false ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 PyObject
* obj2
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16363 arg2
= wxString_in_helper(obj1
);
16364 if (arg2
== NULL
) SWIG_fail
;
16368 arg3
= (bool)SWIG_As_bool(obj2
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16395 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16398 wxString
*arg2
= 0 ;
16400 bool temp2
= false ;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self",(char *) "key", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16439 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16443 PyObject
* obj0
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 result
= (bool)(arg1
)->DeleteAll();
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16467 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16470 bool arg2
= (bool) true ;
16471 PyObject
* obj0
= 0 ;
16472 PyObject
* obj1
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self",(char *) "doIt", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 arg2
= (bool)SWIG_As_bool(obj1
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 (arg1
)->SetExpandEnvVars(arg2
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 Py_INCREF(Py_None
); resultobj
= Py_None
;
16498 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16526 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16529 bool arg2
= (bool) true ;
16530 PyObject
* obj0
= 0 ;
16531 PyObject
* obj1
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self",(char *) "doIt", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16540 arg2
= (bool)SWIG_As_bool(obj1
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 (arg1
)->SetRecordDefaults(arg2
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 Py_INCREF(Py_None
); resultobj
= Py_None
;
16557 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16561 PyObject
* obj0
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16585 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16588 wxString
*arg2
= 0 ;
16590 bool temp2
= false ;
16591 PyObject
* obj0
= 0 ;
16592 PyObject
* obj1
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self",(char *) "str", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16601 arg2
= wxString_in_helper(obj1
);
16602 if (arg2
== NULL
) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16633 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16637 PyObject
* obj0
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16665 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16697 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
;
16699 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16700 wxString
*arg2
= 0 ;
16701 bool temp2
= false ;
16702 PyObject
* obj0
= 0 ;
16703 PyObject
* obj1
= 0 ;
16704 char *kwnames
[] = {
16705 (char *) "self",(char *) "appName", NULL
16708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16712 arg2
= wxString_in_helper(obj1
);
16713 if (arg2
== NULL
) SWIG_fail
;
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 (arg1
)->SetAppName((wxString
const &)*arg2
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 Py_INCREF(Py_None
); resultobj
= Py_None
;
16738 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16741 wxString
*arg2
= 0 ;
16742 bool temp2
= false ;
16743 PyObject
* obj0
= 0 ;
16744 PyObject
* obj1
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self",(char *) "vendorName", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16753 arg2
= wxString_in_helper(obj1
);
16754 if (arg2
== NULL
) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 Py_INCREF(Py_None
); resultobj
= Py_None
;
16779 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self",(char *) "style", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16792 arg2
= (long)SWIG_As_long(obj1
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 (arg1
)->SetStyle(arg2
);
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16801 Py_INCREF(Py_None
); resultobj
= Py_None
;
16808 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16812 PyObject
* obj0
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "self", NULL
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_From_long((long)result
);
16834 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16837 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16839 return Py_BuildValue((char *)"");
16841 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16844 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16845 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16846 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16849 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16850 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16851 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16853 bool temp1
= false ;
16854 bool temp2
= false ;
16855 bool temp3
= false ;
16856 bool temp4
= false ;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 PyObject
* obj2
= 0 ;
16860 PyObject
* obj3
= 0 ;
16861 PyObject
* obj4
= 0 ;
16862 char *kwnames
[] = {
16863 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16869 arg1
= wxString_in_helper(obj0
);
16870 if (arg1
== NULL
) SWIG_fail
;
16876 arg2
= wxString_in_helper(obj1
);
16877 if (arg2
== NULL
) SWIG_fail
;
16883 arg3
= wxString_in_helper(obj2
);
16884 if (arg3
== NULL
) SWIG_fail
;
16890 arg4
= wxString_in_helper(obj3
);
16891 if (arg4
== NULL
) SWIG_fail
;
16896 arg5
= (long)SWIG_As_long(obj4
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16945 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxConfig
*arg1
= (wxConfig
*) 0 ;
16948 PyObject
* obj0
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "self", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 Py_INCREF(Py_None
); resultobj
= Py_None
;
16970 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16973 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16975 return Py_BuildValue((char *)"");
16977 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16980 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16981 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16982 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16983 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16984 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16985 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16986 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16987 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16988 wxFileConfig
*result
;
16989 bool temp1
= false ;
16990 bool temp2
= false ;
16991 bool temp3
= false ;
16992 bool temp4
= false ;
16993 PyObject
* obj0
= 0 ;
16994 PyObject
* obj1
= 0 ;
16995 PyObject
* obj2
= 0 ;
16996 PyObject
* obj3
= 0 ;
16997 PyObject
* obj4
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17005 arg1
= wxString_in_helper(obj0
);
17006 if (arg1
== NULL
) SWIG_fail
;
17012 arg2
= wxString_in_helper(obj1
);
17013 if (arg2
== NULL
) SWIG_fail
;
17019 arg3
= wxString_in_helper(obj2
);
17020 if (arg3
== NULL
) SWIG_fail
;
17026 arg4
= wxString_in_helper(obj3
);
17027 if (arg4
== NULL
) SWIG_fail
;
17032 arg5
= (long)SWIG_As_long(obj4
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
17081 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
17084 PyObject
* obj0
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
17090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
17091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 Py_INCREF(Py_None
); resultobj
= Py_None
;
17106 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
17108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17109 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
17111 return Py_BuildValue((char *)"");
17113 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
;
17115 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
17116 wxString
*arg2
= 0 ;
17117 wxConfigPathChanger
*result
;
17118 bool temp2
= false ;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "config",(char *) "entry", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
17126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
17127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17129 arg2
= wxString_in_helper(obj1
);
17130 if (arg2
== NULL
) SWIG_fail
;
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
17155 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "self", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
17164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 Py_INCREF(Py_None
); resultobj
= Py_None
;
17180 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
17196 result
= (wxString
*) &_result_ref
;
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17206 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17215 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17218 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17220 return Py_BuildValue((char *)"");
17222 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17223 PyObject
*resultobj
;
17224 wxString
*arg1
= 0 ;
17226 bool temp1
= false ;
17227 PyObject
* obj0
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "sz", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17234 arg1
= wxString_in_helper(obj0
);
17235 if (arg1
== NULL
) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17266 static int _wrap_DateFormatStr_set(PyObject
*) {
17267 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17272 static PyObject
*_wrap_DateFormatStr_get() {
17277 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17279 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17286 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17287 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17292 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17297 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17299 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17306 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17309 PyObject
* obj0
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "country", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17315 arg1
= (int)SWIG_As_int(obj0
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 Py_INCREF(Py_None
); resultobj
= Py_None
;
17331 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
;
17334 char *kwnames
[] = {
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (int)wxDateTime::GetCountry();
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= SWIG_From_int((int)result
);
17353 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 int arg1
= (int) wxDateTime::Country_Default
;
17357 PyObject
* obj0
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "country", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17364 arg1
= (int)SWIG_As_int(obj0
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17383 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 int arg1
= (int) wxDateTime::Gregorian
;
17387 PyObject
* obj0
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "cal", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17394 arg1
= (int)SWIG_As_int(obj0
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= SWIG_From_int((int)result
);
17411 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17415 PyObject
* obj0
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "year", NULL
17420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17421 arg1
= (int)SWIG_As_int(obj0
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= SWIG_From_int((int)result
);
17437 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 int arg1
= (int) wxDateTime::Gregorian
;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "cal", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17448 arg1
= (int)SWIG_As_int(obj0
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= SWIG_From_int((int)result
);
17465 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 int arg1
= (int) wxDateTime::Inv_Year
;
17468 int arg2
= (int) wxDateTime::Gregorian
;
17470 PyObject
* obj0
= 0 ;
17471 PyObject
* obj1
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "year",(char *) "cal", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17478 arg1
= (int)SWIG_As_int(obj0
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17482 arg2
= (int)SWIG_As_int(obj1
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17501 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 int arg1
= (int) wxDateTime::Inv_Year
;
17505 PyObject
* obj0
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "year", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17512 arg1
= (int)SWIG_As_int(obj0
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 result
= (int)wxDateTime::GetCentury(arg1
);
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= SWIG_From_int((int)result
);
17529 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17532 int arg2
= (int) wxDateTime::Gregorian
;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "year",(char *) "cal", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17541 arg1
= (int)SWIG_As_int(obj0
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 arg2
= (int)SWIG_As_int(obj1
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= SWIG_From_int((int)result
);
17561 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17564 int arg2
= (int) wxDateTime::Inv_Year
;
17565 int arg3
= (int) wxDateTime::Gregorian
;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 PyObject
* obj2
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "month",(char *) "year",(char *) "cal", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17575 arg1
= (int)SWIG_As_int(obj0
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 arg2
= (int)SWIG_As_int(obj1
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17582 arg3
= (int)SWIG_As_int(obj2
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 resultobj
= SWIG_From_int((int)result
);
17599 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17602 int arg2
= (int) wxDateTime::Name_Full
;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "month",(char *) "flags", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17611 arg1
= (int)SWIG_As_int(obj0
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 arg2
= (int)SWIG_As_int(obj1
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17637 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17640 int arg2
= (int) wxDateTime::Name_Full
;
17642 PyObject
* obj0
= 0 ;
17643 PyObject
* obj1
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "weekday",(char *) "flags", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17649 arg1
= (int)SWIG_As_int(obj0
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 arg2
= (int)SWIG_As_int(obj1
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17675 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxString
*arg1
= (wxString
*) 0 ;
17678 wxString
*arg2
= (wxString
*) 0 ;
17679 bool temp1
= false ;
17680 bool temp2
= false ;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17689 arg1
= wxString_in_helper(obj0
);
17690 if (arg1
== NULL
) SWIG_fail
;
17694 arg2
= wxString_in_helper(obj1
);
17695 if (arg2
== NULL
) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 Py_INCREF(Py_None
); resultobj
= Py_None
;
17728 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 int arg1
= (int) wxDateTime::Inv_Year
;
17731 int arg2
= (int) wxDateTime::Country_Default
;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "year",(char *) "country", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17741 arg1
= (int)SWIG_As_int(obj0
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 arg2
= (int)SWIG_As_int(obj1
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17764 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 int arg1
= (int) wxDateTime::Inv_Year
;
17767 int arg2
= (int) wxDateTime::Country_Default
;
17769 PyObject
* obj0
= 0 ;
17770 PyObject
* obj1
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "year",(char *) "country", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17777 arg1
= (int)SWIG_As_int(obj0
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17781 arg2
= (int)SWIG_As_int(obj1
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17792 wxDateTime
* resultptr
;
17793 resultptr
= new wxDateTime((wxDateTime
&) result
);
17794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17802 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
;
17804 int arg1
= (int) wxDateTime::Inv_Year
;
17805 int arg2
= (int) wxDateTime::Country_Default
;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "year",(char *) "country", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17815 arg1
= (int)SWIG_As_int(obj0
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17819 arg2
= (int)SWIG_As_int(obj1
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17830 wxDateTime
* resultptr
;
17831 resultptr
= new wxDateTime((wxDateTime
&) result
);
17832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17840 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17841 PyObject
*resultobj
;
17843 char *kwnames
[] = {
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 result
= wxDateTime::Now();
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17856 wxDateTime
* resultptr
;
17857 resultptr
= new wxDateTime((wxDateTime
&) result
);
17858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17866 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
;
17869 char *kwnames
[] = {
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= wxDateTime::UNow();
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17882 wxDateTime
* resultptr
;
17883 resultptr
= new wxDateTime((wxDateTime
&) result
);
17884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17892 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17895 char *kwnames
[] = {
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= wxDateTime::Today();
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 wxDateTime
* resultptr
;
17909 resultptr
= new wxDateTime((wxDateTime
&) result
);
17910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17918 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxDateTime
*result
;
17921 char *kwnames
[] = {
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (wxDateTime
*)new wxDateTime();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17940 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17943 wxDateTime
*result
;
17944 PyObject
* obj0
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "timet", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17950 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= (wxDateTime
*)new wxDateTime(arg1
);
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17966 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
;
17969 wxDateTime
*result
;
17970 PyObject
* obj0
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "jdn", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17976 arg1
= (double)SWIG_As_double(obj0
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 result
= (wxDateTime
*)new wxDateTime(arg1
);
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17992 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17995 int arg2
= (int) 0 ;
17996 int arg3
= (int) 0 ;
17997 int arg4
= (int) 0 ;
17998 wxDateTime
*result
;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 PyObject
* obj2
= 0 ;
18002 PyObject
* obj3
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18008 arg1
= (int)SWIG_As_int(obj0
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18011 arg2
= (int)SWIG_As_int(obj1
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18015 arg3
= (int)SWIG_As_int(obj2
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18019 arg4
= (int)SWIG_As_int(obj3
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18036 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18039 int arg2
= (int) wxDateTime::Inv_Month
;
18040 int arg3
= (int) wxDateTime::Inv_Year
;
18041 int arg4
= (int) 0 ;
18042 int arg5
= (int) 0 ;
18043 int arg6
= (int) 0 ;
18044 int arg7
= (int) 0 ;
18045 wxDateTime
*result
;
18046 PyObject
* obj0
= 0 ;
18047 PyObject
* obj1
= 0 ;
18048 PyObject
* obj2
= 0 ;
18049 PyObject
* obj3
= 0 ;
18050 PyObject
* obj4
= 0 ;
18051 PyObject
* obj5
= 0 ;
18052 PyObject
* obj6
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18058 arg1
= (int)SWIG_As_int(obj0
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 arg2
= (int)SWIG_As_int(obj1
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18065 arg3
= (int)SWIG_As_int(obj2
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 arg4
= (int)SWIG_As_int(obj3
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18073 arg5
= (int)SWIG_As_int(obj4
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 arg6
= (int)SWIG_As_int(obj5
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18081 arg7
= (int)SWIG_As_int(obj6
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
18098 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18101 PyObject
* obj0
= 0 ;
18102 char *kwnames
[] = {
18103 (char *) "self", NULL
18106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
18107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 Py_INCREF(Py_None
); resultobj
= Py_None
;
18123 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18126 wxDateTime
*result
;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
18139 result
= (wxDateTime
*) &_result_ref
;
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18152 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18156 wxDateTime
*result
;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self",(char *) "timet", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18166 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18172 result
= (wxDateTime
*) &_result_ref
;
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18185 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18189 wxDateTime
*result
;
18190 PyObject
* obj0
= 0 ;
18191 PyObject
* obj1
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self",(char *) "jdn", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
18197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18199 arg2
= (double)SWIG_As_double(obj1
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18205 result
= (wxDateTime
*) &_result_ref
;
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18218 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18222 int arg3
= (int) 0 ;
18223 int arg4
= (int) 0 ;
18224 int arg5
= (int) 0 ;
18225 wxDateTime
*result
;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18228 PyObject
* obj2
= 0 ;
18229 PyObject
* obj3
= 0 ;
18230 PyObject
* obj4
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18238 arg2
= (int)SWIG_As_int(obj1
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 arg3
= (int)SWIG_As_int(obj2
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18245 arg4
= (int)SWIG_As_int(obj3
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18249 arg5
= (int)SWIG_As_int(obj4
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18256 result
= (wxDateTime
*) &_result_ref
;
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18269 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18273 int arg3
= (int) wxDateTime::Inv_Month
;
18274 int arg4
= (int) wxDateTime::Inv_Year
;
18275 int arg5
= (int) 0 ;
18276 int arg6
= (int) 0 ;
18277 int arg7
= (int) 0 ;
18278 int arg8
= (int) 0 ;
18279 wxDateTime
*result
;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 PyObject
* obj2
= 0 ;
18283 PyObject
* obj3
= 0 ;
18284 PyObject
* obj4
= 0 ;
18285 PyObject
* obj5
= 0 ;
18286 PyObject
* obj6
= 0 ;
18287 PyObject
* obj7
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 arg2
= (int)SWIG_As_int(obj1
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 arg3
= (int)SWIG_As_int(obj2
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 arg4
= (int)SWIG_As_int(obj3
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18306 arg5
= (int)SWIG_As_int(obj4
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18310 arg6
= (int)SWIG_As_int(obj5
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18314 arg7
= (int)SWIG_As_int(obj6
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18318 arg8
= (int)SWIG_As_int(obj7
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18325 result
= (wxDateTime
*) &_result_ref
;
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18338 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18341 wxDateTime
*result
;
18342 PyObject
* obj0
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18354 result
= (wxDateTime
*) &_result_ref
;
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18367 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18371 wxDateTime
*result
;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self",(char *) "year", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18381 arg2
= (int)SWIG_As_int(obj1
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18387 result
= (wxDateTime
*) &_result_ref
;
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18400 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18404 wxDateTime
*result
;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self",(char *) "month", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18414 arg2
= (int)SWIG_As_int(obj1
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18420 result
= (wxDateTime
*) &_result_ref
;
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18433 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18437 wxDateTime
*result
;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "self",(char *) "day", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18447 arg2
= (int)SWIG_As_int(obj1
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18453 result
= (wxDateTime
*) &_result_ref
;
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18466 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18470 wxDateTime
*result
;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self",(char *) "hour", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18480 arg2
= (int)SWIG_As_int(obj1
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18486 result
= (wxDateTime
*) &_result_ref
;
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18499 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18503 wxDateTime
*result
;
18504 PyObject
* obj0
= 0 ;
18505 PyObject
* obj1
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self",(char *) "minute", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18513 arg2
= (int)SWIG_As_int(obj1
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18519 result
= (wxDateTime
*) &_result_ref
;
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18532 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
;
18534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18536 wxDateTime
*result
;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 char *kwnames
[] = {
18540 (char *) "self",(char *) "second", NULL
18543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18546 arg2
= (int)SWIG_As_int(obj1
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18552 result
= (wxDateTime
*) &_result_ref
;
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18565 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18569 wxDateTime
*result
;
18570 PyObject
* obj0
= 0 ;
18571 PyObject
* obj1
= 0 ;
18572 char *kwnames
[] = {
18573 (char *) "self",(char *) "millisecond", NULL
18576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18579 arg2
= (int)SWIG_As_int(obj1
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18585 result
= (wxDateTime
*) &_result_ref
;
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18598 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
;
18600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18602 int arg3
= (int) wxDateTime::Monday_First
;
18603 wxDateTime
*result
;
18604 PyObject
* obj0
= 0 ;
18605 PyObject
* obj1
= 0 ;
18606 PyObject
* obj2
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18614 arg2
= (int)SWIG_As_int(obj1
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 arg3
= (int)SWIG_As_int(obj2
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18624 result
= (wxDateTime
*) &_result_ref
;
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18637 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18641 int arg3
= (int) wxDateTime::Monday_First
;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 PyObject
* obj2
= 0 ;
18646 char *kwnames
[] = {
18647 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18653 arg2
= (int)SWIG_As_int(obj1
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 arg3
= (int)SWIG_As_int(obj2
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18667 wxDateTime
* resultptr
;
18668 resultptr
= new wxDateTime((wxDateTime
&) result
);
18669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18677 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
;
18679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18681 wxDateTime
*result
;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "self",(char *) "weekday", NULL
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 arg2
= (int)SWIG_As_int(obj1
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18697 result
= (wxDateTime
*) &_result_ref
;
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18710 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
;
18712 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18715 PyObject
* obj0
= 0 ;
18716 PyObject
* obj1
= 0 ;
18717 char *kwnames
[] = {
18718 (char *) "self",(char *) "weekday", NULL
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18724 arg2
= (int)SWIG_As_int(obj1
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18734 wxDateTime
* resultptr
;
18735 resultptr
= new wxDateTime((wxDateTime
&) result
);
18736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18744 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18748 wxDateTime
*result
;
18749 PyObject
* obj0
= 0 ;
18750 PyObject
* obj1
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self",(char *) "weekday", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 arg2
= (int)SWIG_As_int(obj1
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18764 result
= (wxDateTime
*) &_result_ref
;
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18777 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
;
18779 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self",(char *) "weekday", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18791 arg2
= (int)SWIG_As_int(obj1
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18801 wxDateTime
* resultptr
;
18802 resultptr
= new wxDateTime((wxDateTime
&) result
);
18803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18811 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18815 int arg3
= (int) 1 ;
18816 int arg4
= (int) wxDateTime::Inv_Month
;
18817 int arg5
= (int) wxDateTime::Inv_Year
;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 PyObject
* obj2
= 0 ;
18822 PyObject
* obj3
= 0 ;
18823 PyObject
* obj4
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18831 arg2
= (int)SWIG_As_int(obj1
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 arg3
= (int)SWIG_As_int(obj2
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18838 arg4
= (int)SWIG_As_int(obj3
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18842 arg5
= (int)SWIG_As_int(obj4
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18861 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
;
18863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18865 int arg3
= (int) wxDateTime::Inv_Month
;
18866 int arg4
= (int) wxDateTime::Inv_Year
;
18868 PyObject
* obj0
= 0 ;
18869 PyObject
* obj1
= 0 ;
18870 PyObject
* obj2
= 0 ;
18871 PyObject
* obj3
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18905 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18909 int arg3
= (int) wxDateTime::Inv_Month
;
18910 int arg4
= (int) wxDateTime::Inv_Year
;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 PyObject
* obj2
= 0 ;
18915 PyObject
* obj3
= 0 ;
18916 char *kwnames
[] = {
18917 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18923 arg2
= (int)SWIG_As_int(obj1
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 arg3
= (int)SWIG_As_int(obj2
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18930 arg4
= (int)SWIG_As_int(obj3
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18941 wxDateTime
* resultptr
;
18942 resultptr
= new wxDateTime((wxDateTime
&) result
);
18943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18951 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18955 int arg3
= (int) wxDateTime::Mon
;
18956 int arg4
= (int) wxDateTime::Monday_First
;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 PyObject
* obj2
= 0 ;
18961 PyObject
* obj3
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18969 arg2
= (int)SWIG_As_int(obj1
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 arg3
= (int)SWIG_As_int(obj2
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18976 arg4
= (int)SWIG_As_int(obj3
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18995 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18999 int arg3
= (int) wxDateTime::Mon
;
19000 int arg4
= (int) wxDateTime::Monday_First
;
19002 PyObject
* obj0
= 0 ;
19003 PyObject
* obj1
= 0 ;
19004 PyObject
* obj2
= 0 ;
19005 PyObject
* obj3
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
19011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19013 arg2
= (int)SWIG_As_int(obj1
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19016 arg3
= (int)SWIG_As_int(obj2
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 arg4
= (int)SWIG_As_int(obj3
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19031 wxDateTime
* resultptr
;
19032 resultptr
= new wxDateTime((wxDateTime
&) result
);
19033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19041 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19045 int arg3
= (int) wxDateTime::Mon
;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 PyObject
* obj2
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19055 arg1
= (int)SWIG_As_int(obj0
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19057 arg2
= (int)SWIG_As_int(obj1
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 arg3
= (int)SWIG_As_int(obj2
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19071 wxDateTime
* resultptr
;
19072 resultptr
= new wxDateTime((wxDateTime
&) result
);
19073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19081 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19084 int arg2
= (int) wxDateTime::Inv_Month
;
19085 int arg3
= (int) wxDateTime::Inv_Year
;
19086 wxDateTime
*result
;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 PyObject
* obj2
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self",(char *) "month",(char *) "year", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19098 arg2
= (int)SWIG_As_int(obj1
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19102 arg3
= (int)SWIG_As_int(obj2
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19109 result
= (wxDateTime
*) &_result_ref
;
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19122 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19125 int arg2
= (int) wxDateTime::Inv_Month
;
19126 int arg3
= (int) wxDateTime::Inv_Year
;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 PyObject
* obj2
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self",(char *) "month",(char *) "year", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19139 arg2
= (int)SWIG_As_int(obj1
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19143 arg3
= (int)SWIG_As_int(obj2
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19154 wxDateTime
* resultptr
;
19155 resultptr
= new wxDateTime((wxDateTime
&) result
);
19156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19164 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19168 wxDateTime
*result
;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self",(char *) "yday", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19178 arg2
= (int)SWIG_As_int(obj1
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
19184 result
= (wxDateTime
*) &_result_ref
;
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19197 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
;
19199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self",(char *) "yday", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19211 arg2
= (int)SWIG_As_int(obj1
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= (arg1
)->GetYearDay(arg2
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19221 wxDateTime
* resultptr
;
19222 resultptr
= new wxDateTime((wxDateTime
&) result
);
19223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19231 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
;
19233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19235 PyObject
* obj0
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 result
= (double)(arg1
)->GetJulianDayNumber();
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_From_double((double)result
);
19257 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19261 PyObject
* obj0
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (double)(arg1
)->GetJDN();
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= SWIG_From_double((double)result
);
19283 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= SWIG_From_double((double)result
);
19309 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19313 PyObject
* obj0
= 0 ;
19314 char *kwnames
[] = {
19315 (char *) "self", NULL
19318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 result
= (double)(arg1
)->GetMJD();
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_From_double((double)result
);
19335 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= (double)(arg1
)->GetRataDie();
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= SWIG_From_double((double)result
);
19361 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
;
19363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19364 wxDateTime::TimeZone
*arg2
= 0 ;
19365 bool arg3
= (bool) false ;
19367 bool temp2
= false ;
19368 PyObject
* obj0
= 0 ;
19369 PyObject
* obj1
= 0 ;
19370 PyObject
* obj2
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19379 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19383 arg3
= (bool)SWIG_As_bool(obj2
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19394 wxDateTime
* resultptr
;
19395 resultptr
= new wxDateTime((wxDateTime
&) result
);
19396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19399 if (temp2
) delete arg2
;
19404 if (temp2
) delete arg2
;
19410 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19413 wxDateTime::TimeZone
*arg2
= 0 ;
19414 bool arg3
= (bool) false ;
19415 wxDateTime
*result
;
19416 bool temp2
= false ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 PyObject
* obj2
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19428 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19432 arg3
= (bool)SWIG_As_bool(obj2
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19439 result
= (wxDateTime
*) &_result_ref
;
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19447 if (temp2
) delete arg2
;
19452 if (temp2
) delete arg2
;
19458 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19461 bool arg2
= (bool) false ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self",(char *) "noDST", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19473 arg2
= (bool)SWIG_As_bool(obj1
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 result
= (arg1
)->ToGMT(arg2
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19484 wxDateTime
* resultptr
;
19485 resultptr
= new wxDateTime((wxDateTime
&) result
);
19486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19494 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19497 bool arg2
= (bool) false ;
19498 wxDateTime
*result
;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self",(char *) "noDST", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 arg2
= (bool)SWIG_As_bool(obj1
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19516 result
= (wxDateTime
*) &_result_ref
;
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19529 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19532 int arg2
= (int) wxDateTime::Country_Default
;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self",(char *) "country", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 arg2
= (int)SWIG_As_int(obj1
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= SWIG_From_int((int)result
);
19561 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
;
19563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19565 PyObject
* obj0
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19589 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19593 PyObject
* obj0
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19608 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19615 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19618 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19619 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19621 bool temp2
= false ;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self",(char *) "tz", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19633 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= SWIG_From_int((int)result
);
19646 if (temp2
) delete arg2
;
19651 if (temp2
) delete arg2
;
19657 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
;
19659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19660 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19661 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19663 bool temp2
= false ;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self",(char *) "tz", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= SWIG_From_int((int)result
);
19688 if (temp2
) delete arg2
;
19693 if (temp2
) delete arg2
;
19699 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19702 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19703 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19705 bool temp2
= false ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self",(char *) "tz", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19717 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= SWIG_From_int((int)result
);
19730 if (temp2
) delete arg2
;
19735 if (temp2
) delete arg2
;
19741 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19744 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19745 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19747 bool temp2
= false ;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self",(char *) "tz", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19759 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= SWIG_From_int((int)result
);
19772 if (temp2
) delete arg2
;
19777 if (temp2
) delete arg2
;
19783 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19786 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19787 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19789 bool temp2
= false ;
19790 PyObject
* obj0
= 0 ;
19791 PyObject
* obj1
= 0 ;
19792 char *kwnames
[] = {
19793 (char *) "self",(char *) "tz", NULL
19796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19801 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= SWIG_From_int((int)result
);
19814 if (temp2
) delete arg2
;
19819 if (temp2
) delete arg2
;
19825 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
;
19827 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19828 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19829 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19831 bool temp2
= false ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self",(char *) "tz", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= SWIG_From_int((int)result
);
19856 if (temp2
) delete arg2
;
19861 if (temp2
) delete arg2
;
19867 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
;
19869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19870 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19871 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19873 bool temp2
= false ;
19874 PyObject
* obj0
= 0 ;
19875 PyObject
* obj1
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "tz", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19885 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= SWIG_From_int((int)result
);
19898 if (temp2
) delete arg2
;
19903 if (temp2
) delete arg2
;
19909 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19912 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19913 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19915 bool temp2
= false ;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self",(char *) "tz", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19927 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= SWIG_From_int((int)result
);
19940 if (temp2
) delete arg2
;
19945 if (temp2
) delete arg2
;
19951 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19954 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19955 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19957 bool temp2
= false ;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self",(char *) "tz", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19969 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= SWIG_From_int((int)result
);
19982 if (temp2
) delete arg2
;
19987 if (temp2
) delete arg2
;
19993 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19996 int arg2
= (int) wxDateTime::Monday_First
;
19997 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19998 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20000 bool temp3
= false ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 PyObject
* obj2
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self",(char *) "flags",(char *) "tz", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 arg2
= (int)SWIG_As_int(obj1
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20017 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_From_int((int)result
);
20030 if (temp3
) delete arg3
;
20035 if (temp3
) delete arg3
;
20041 static PyObject
*_wrap_DateTime_GetWeekOfMonth(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_GetWeekOfMonth",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
)->GetWeekOfMonth((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_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20092 int arg2
= (int) wxDateTime::Country_Default
;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self",(char *) "country", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 arg2
= (int)SWIG_As_int(obj1
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20123 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20126 wxDateTime
*arg2
= 0 ;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self",(char *) "datetime", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20140 if (arg2
== NULL
) {
20141 PyErr_SetString(PyExc_TypeError
,"null reference");
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20160 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
;
20162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20163 wxDateTime
*arg2
= 0 ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self",(char *) "datetime", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20177 if (arg2
== NULL
) {
20178 PyErr_SetString(PyExc_TypeError
,"null reference");
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20197 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20200 wxDateTime
*arg2
= 0 ;
20202 PyObject
* obj0
= 0 ;
20203 PyObject
* obj1
= 0 ;
20204 char *kwnames
[] = {
20205 (char *) "self",(char *) "datetime", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20214 if (arg2
== NULL
) {
20215 PyErr_SetString(PyExc_TypeError
,"null reference");
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20234 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20237 wxDateTime
*arg2
= 0 ;
20238 wxDateTime
*arg3
= 0 ;
20240 PyObject
* obj0
= 0 ;
20241 PyObject
* obj1
= 0 ;
20242 PyObject
* obj2
= 0 ;
20243 char *kwnames
[] = {
20244 (char *) "self",(char *) "t1",(char *) "t2", NULL
20247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20253 if (arg2
== NULL
) {
20254 PyErr_SetString(PyExc_TypeError
,"null reference");
20257 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20260 if (arg3
== NULL
) {
20261 PyErr_SetString(PyExc_TypeError
,"null reference");
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20280 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20283 wxDateTime
*arg2
= 0 ;
20284 wxDateTime
*arg3
= 0 ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 PyObject
* obj2
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self",(char *) "t1",(char *) "t2", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20299 if (arg2
== NULL
) {
20300 PyErr_SetString(PyExc_TypeError
,"null reference");
20303 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20306 if (arg3
== NULL
) {
20307 PyErr_SetString(PyExc_TypeError
,"null reference");
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20326 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
;
20328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20329 wxDateTime
*arg2
= 0 ;
20331 PyObject
* obj0
= 0 ;
20332 PyObject
* obj1
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "self",(char *) "dt", NULL
20337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20343 if (arg2
== NULL
) {
20344 PyErr_SetString(PyExc_TypeError
,"null reference");
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20363 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20366 wxDateTime
*arg2
= 0 ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20370 char *kwnames
[] = {
20371 (char *) "self",(char *) "dt", NULL
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20380 if (arg2
== NULL
) {
20381 PyErr_SetString(PyExc_TypeError
,"null reference");
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20400 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20403 wxDateTime
*arg2
= 0 ;
20404 wxTimeSpan
*arg3
= 0 ;
20406 PyObject
* obj0
= 0 ;
20407 PyObject
* obj1
= 0 ;
20408 PyObject
* obj2
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self",(char *) "dt",(char *) "ts", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20419 if (arg2
== NULL
) {
20420 PyErr_SetString(PyExc_TypeError
,"null reference");
20423 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20426 if (arg3
== NULL
) {
20427 PyErr_SetString(PyExc_TypeError
,"null reference");
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20446 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20448 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20449 wxTimeSpan
*arg2
= 0 ;
20450 wxDateTime
*result
;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20453 char *kwnames
[] = {
20454 (char *) "self",(char *) "diff", NULL
20457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20463 if (arg2
== NULL
) {
20464 PyErr_SetString(PyExc_TypeError
,"null reference");
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20471 result
= (wxDateTime
*) &_result_ref
;
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20484 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20487 wxDateSpan
*arg2
= 0 ;
20488 wxDateTime
*result
;
20489 PyObject
* obj0
= 0 ;
20490 PyObject
* obj1
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self",(char *) "diff", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20501 if (arg2
== NULL
) {
20502 PyErr_SetString(PyExc_TypeError
,"null reference");
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20509 result
= (wxDateTime
*) &_result_ref
;
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20522 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20525 wxTimeSpan
*arg2
= 0 ;
20526 wxDateTime
*result
;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self",(char *) "diff", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20539 if (arg2
== NULL
) {
20540 PyErr_SetString(PyExc_TypeError
,"null reference");
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20547 result
= (wxDateTime
*) &_result_ref
;
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20560 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20563 wxDateSpan
*arg2
= 0 ;
20564 wxDateTime
*result
;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self",(char *) "diff", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20577 if (arg2
== NULL
) {
20578 PyErr_SetString(PyExc_TypeError
,"null reference");
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20585 result
= (wxDateTime
*) &_result_ref
;
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20598 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
;
20600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20601 wxDateTime
*arg2
= 0 ;
20603 PyObject
* obj0
= 0 ;
20604 PyObject
* obj1
= 0 ;
20605 char *kwnames
[] = {
20606 (char *) "self",(char *) "dt", NULL
20609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20615 if (arg2
== NULL
) {
20616 PyErr_SetString(PyExc_TypeError
,"null reference");
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20627 wxTimeSpan
* resultptr
;
20628 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20637 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20638 PyObject
*resultobj
;
20639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20640 wxTimeSpan
*arg2
= 0 ;
20641 wxDateTime
*result
;
20642 PyObject
* obj0
= 0 ;
20643 PyObject
* obj1
= 0 ;
20645 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20647 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20651 if (arg2
== NULL
) {
20652 PyErr_SetString(PyExc_TypeError
,"null reference");
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20659 result
= (wxDateTime
*) &_result_ref
;
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20672 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20673 PyObject
*resultobj
;
20674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20675 wxDateSpan
*arg2
= 0 ;
20676 wxDateTime
*result
;
20677 PyObject
* obj0
= 0 ;
20678 PyObject
* obj1
= 0 ;
20680 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20682 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20686 if (arg2
== NULL
) {
20687 PyErr_SetString(PyExc_TypeError
,"null reference");
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20694 result
= (wxDateTime
*) &_result_ref
;
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20707 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20712 argc
= PyObject_Length(args
);
20713 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20714 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20720 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20730 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20738 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20746 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20756 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20764 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20769 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20774 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20775 PyObject
*resultobj
;
20776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20777 wxTimeSpan
*arg2
= 0 ;
20778 wxDateTime
*result
;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20782 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20784 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20788 if (arg2
== NULL
) {
20789 PyErr_SetString(PyExc_TypeError
,"null reference");
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20796 result
= (wxDateTime
*) &_result_ref
;
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20809 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20810 PyObject
*resultobj
;
20811 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20812 wxDateSpan
*arg2
= 0 ;
20813 wxDateTime
*result
;
20814 PyObject
* obj0
= 0 ;
20815 PyObject
* obj1
= 0 ;
20817 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20819 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20823 if (arg2
== NULL
) {
20824 PyErr_SetString(PyExc_TypeError
,"null reference");
20828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20831 result
= (wxDateTime
*) &_result_ref
;
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20844 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20849 argc
= PyObject_Length(args
);
20850 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20851 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20857 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20867 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20875 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20883 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20893 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20901 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20906 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20911 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20912 PyObject
*resultobj
;
20913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20914 wxTimeSpan
*arg2
= 0 ;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20919 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20925 if (arg2
== NULL
) {
20926 PyErr_SetString(PyExc_TypeError
,"null reference");
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20937 wxDateTime
* resultptr
;
20938 resultptr
= new wxDateTime((wxDateTime
&) result
);
20939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20947 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20948 PyObject
*resultobj
;
20949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20950 wxDateSpan
*arg2
= 0 ;
20952 PyObject
* obj0
= 0 ;
20953 PyObject
* obj1
= 0 ;
20955 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20961 if (arg2
== NULL
) {
20962 PyErr_SetString(PyExc_TypeError
,"null reference");
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20973 wxDateTime
* resultptr
;
20974 resultptr
= new wxDateTime((wxDateTime
&) result
);
20975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20983 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20988 argc
= PyObject_Length(args
);
20989 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20990 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20996 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21006 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21014 return _wrap_DateTime___add____SWIG_0(self
,args
);
21022 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21032 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21040 return _wrap_DateTime___add____SWIG_1(self
,args
);
21045 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
21050 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
21051 PyObject
*resultobj
;
21052 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21053 wxDateTime
*arg2
= 0 ;
21055 PyObject
* obj0
= 0 ;
21056 PyObject
* obj1
= 0 ;
21058 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21064 if (arg2
== NULL
) {
21065 PyErr_SetString(PyExc_TypeError
,"null reference");
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21076 wxTimeSpan
* resultptr
;
21077 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21086 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
21087 PyObject
*resultobj
;
21088 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21089 wxTimeSpan
*arg2
= 0 ;
21091 PyObject
* obj0
= 0 ;
21092 PyObject
* obj1
= 0 ;
21094 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21100 if (arg2
== NULL
) {
21101 PyErr_SetString(PyExc_TypeError
,"null reference");
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21112 wxDateTime
* resultptr
;
21113 resultptr
= new wxDateTime((wxDateTime
&) result
);
21114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21122 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
21123 PyObject
*resultobj
;
21124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21125 wxDateSpan
*arg2
= 0 ;
21127 PyObject
* obj0
= 0 ;
21128 PyObject
* obj1
= 0 ;
21130 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
21131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
21134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21136 if (arg2
== NULL
) {
21137 PyErr_SetString(PyExc_TypeError
,"null reference");
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21148 wxDateTime
* resultptr
;
21149 resultptr
= new wxDateTime((wxDateTime
&) result
);
21150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
21158 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
21163 argc
= PyObject_Length(args
);
21164 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21165 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21171 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21181 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21189 return _wrap_DateTime___sub____SWIG_0(self
,args
);
21197 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21207 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21215 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21223 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21233 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21241 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21246 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21251 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21252 PyObject
*resultobj
;
21253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21254 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21256 PyObject
* obj0
= 0 ;
21257 PyObject
* obj1
= 0 ;
21259 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21280 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21281 PyObject
*resultobj
;
21282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21283 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21288 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21309 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21310 PyObject
*resultobj
;
21311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21312 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 PyObject
* obj1
= 0 ;
21317 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21338 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21339 PyObject
*resultobj
;
21340 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21341 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 PyObject
* obj1
= 0 ;
21346 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21367 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21368 PyObject
*resultobj
;
21369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21370 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21375 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21396 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21397 PyObject
*resultobj
;
21398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21399 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21404 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21425 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21426 PyObject
*resultobj
;
21427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21428 wxString
*arg2
= 0 ;
21430 bool temp2
= false ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self",(char *) "date", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21441 arg2
= wxString_in_helper(obj1
);
21442 if (arg2
== NULL
) SWIG_fail
;
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 resultobj
= SWIG_From_int((int)result
);
21467 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
;
21469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21470 wxString
*arg2
= 0 ;
21471 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21472 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21473 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21474 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21476 bool temp2
= false ;
21477 bool temp3
= false ;
21478 PyObject
* obj0
= 0 ;
21479 PyObject
* obj1
= 0 ;
21480 PyObject
* obj2
= 0 ;
21481 PyObject
* obj3
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21490 arg2
= wxString_in_helper(obj1
);
21491 if (arg2
== NULL
) SWIG_fail
;
21496 arg3
= wxString_in_helper(obj2
);
21497 if (arg3
== NULL
) SWIG_fail
;
21502 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21505 if (arg4
== NULL
) {
21506 PyErr_SetString(PyExc_TypeError
,"null reference");
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_From_int((int)result
);
21540 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21543 wxString
*arg2
= 0 ;
21545 bool temp2
= false ;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "datetime", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 arg2
= wxString_in_helper(obj1
);
21557 if (arg2
== NULL
) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= SWIG_From_int((int)result
);
21582 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
;
21584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21585 wxString
*arg2
= 0 ;
21587 bool temp2
= false ;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self",(char *) "date", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21598 arg2
= wxString_in_helper(obj1
);
21599 if (arg2
== NULL
) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= SWIG_From_int((int)result
);
21624 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21625 PyObject
*resultobj
;
21626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21627 wxString
*arg2
= 0 ;
21629 bool temp2
= false ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "time", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21640 arg2
= wxString_in_helper(obj1
);
21641 if (arg2
== NULL
) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_From_int((int)result
);
21666 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21669 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21670 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21671 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21672 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21674 bool temp2
= false ;
21675 bool temp3
= false ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 PyObject
* obj2
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self",(char *) "format",(char *) "tz", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21688 arg2
= wxString_in_helper(obj1
);
21689 if (arg2
== NULL
) SWIG_fail
;
21695 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21718 if (temp3
) delete arg3
;
21727 if (temp3
) delete arg3
;
21733 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21737 PyObject
* obj0
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21765 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21769 PyObject
* obj0
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "self", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21797 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21798 PyObject
*resultobj
;
21799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21801 PyObject
* obj0
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21829 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21833 PyObject
* obj0
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21861 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21864 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21866 return Py_BuildValue((char *)"");
21868 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21872 PyObject
* obj0
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "sec", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21878 arg1
= (long)SWIG_As_long(obj0
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 result
= wxTimeSpan::Seconds(arg1
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21888 wxTimeSpan
* resultptr
;
21889 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21898 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21901 char *kwnames
[] = {
21905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= wxTimeSpan::Second();
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21914 wxTimeSpan
* resultptr
;
21915 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21924 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
;
21928 PyObject
* obj0
= 0 ;
21929 char *kwnames
[] = {
21930 (char *) "min", NULL
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21934 arg1
= (long)SWIG_As_long(obj0
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 result
= wxTimeSpan::Minutes(arg1
);
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21944 wxTimeSpan
* resultptr
;
21945 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21954 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21957 char *kwnames
[] = {
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= wxTimeSpan::Minute();
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 wxTimeSpan
* resultptr
;
21971 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21980 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21984 PyObject
* obj0
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "hours", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21990 arg1
= (long)SWIG_As_long(obj0
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= wxTimeSpan::Hours(arg1
);
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
22000 wxTimeSpan
* resultptr
;
22001 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22010 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22013 char *kwnames
[] = {
22017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 result
= wxTimeSpan::Hour();
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22026 wxTimeSpan
* resultptr
;
22027 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22036 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
;
22040 PyObject
* obj0
= 0 ;
22041 char *kwnames
[] = {
22042 (char *) "days", NULL
22045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
22046 arg1
= (long)SWIG_As_long(obj0
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= wxTimeSpan::Days(arg1
);
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22056 wxTimeSpan
* resultptr
;
22057 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22066 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22069 char *kwnames
[] = {
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= wxTimeSpan::Day();
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22082 wxTimeSpan
* resultptr
;
22083 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22092 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22096 PyObject
* obj0
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "days", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22102 arg1
= (long)SWIG_As_long(obj0
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 result
= wxTimeSpan::Weeks(arg1
);
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22112 wxTimeSpan
* resultptr
;
22113 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22122 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22125 char *kwnames
[] = {
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 result
= wxTimeSpan::Week();
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22138 wxTimeSpan
* resultptr
;
22139 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22148 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
;
22150 long arg1
= (long) 0 ;
22151 long arg2
= (long) 0 ;
22152 long arg3
= (long) 0 ;
22153 long arg4
= (long) 0 ;
22154 wxTimeSpan
*result
;
22155 PyObject
* obj0
= 0 ;
22156 PyObject
* obj1
= 0 ;
22157 PyObject
* obj2
= 0 ;
22158 PyObject
* obj3
= 0 ;
22159 char *kwnames
[] = {
22160 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22165 arg1
= (long)SWIG_As_long(obj0
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 arg2
= (long)SWIG_As_long(obj1
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22173 arg3
= (long)SWIG_As_long(obj2
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22177 arg4
= (long)SWIG_As_long(obj3
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22194 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 char *kwnames
[] = {
22199 (char *) "self", NULL
22202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
22203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 Py_INCREF(Py_None
); resultobj
= Py_None
;
22219 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22222 wxTimeSpan
*arg2
= 0 ;
22223 wxTimeSpan
*result
;
22224 PyObject
* obj0
= 0 ;
22225 PyObject
* obj1
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self",(char *) "diff", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22236 if (arg2
== NULL
) {
22237 PyErr_SetString(PyExc_TypeError
,"null reference");
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22244 result
= (wxTimeSpan
*) &_result_ref
;
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22257 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22260 wxTimeSpan
*arg2
= 0 ;
22261 wxTimeSpan
*result
;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "diff", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22274 if (arg2
== NULL
) {
22275 PyErr_SetString(PyExc_TypeError
,"null reference");
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22282 result
= (wxTimeSpan
*) &_result_ref
;
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22295 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22299 wxTimeSpan
*result
;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self",(char *) "n", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 arg2
= (int)SWIG_As_int(obj1
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22315 result
= (wxTimeSpan
*) &_result_ref
;
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22328 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22331 wxTimeSpan
*result
;
22332 PyObject
* obj0
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22344 result
= (wxTimeSpan
*) &_result_ref
;
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22357 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22377 wxTimeSpan
* resultptr
;
22378 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22387 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22390 wxTimeSpan
*arg2
= 0 ;
22391 wxTimeSpan
*result
;
22392 PyObject
* obj0
= 0 ;
22393 PyObject
* obj1
= 0 ;
22394 char *kwnames
[] = {
22395 (char *) "self",(char *) "diff", NULL
22398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22400 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22404 if (arg2
== NULL
) {
22405 PyErr_SetString(PyExc_TypeError
,"null reference");
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22412 result
= (wxTimeSpan
*) &_result_ref
;
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22425 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22428 wxTimeSpan
*arg2
= 0 ;
22429 wxTimeSpan
*result
;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self",(char *) "diff", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22438 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22442 if (arg2
== NULL
) {
22443 PyErr_SetString(PyExc_TypeError
,"null reference");
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22450 result
= (wxTimeSpan
*) &_result_ref
;
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22463 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22467 wxTimeSpan
*result
;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "n", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22476 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22477 arg2
= (int)SWIG_As_int(obj1
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22483 result
= (wxTimeSpan
*) &_result_ref
;
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22496 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22499 wxTimeSpan
*result
;
22500 PyObject
* obj0
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22512 result
= (wxTimeSpan
*) &_result_ref
;
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22525 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22528 wxTimeSpan
*arg2
= 0 ;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self",(char *) "other", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22542 if (arg2
== NULL
) {
22543 PyErr_SetString(PyExc_TypeError
,"null reference");
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22554 wxTimeSpan
* resultptr
;
22555 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22564 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
;
22566 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22567 wxTimeSpan
*arg2
= 0 ;
22569 PyObject
* obj0
= 0 ;
22570 PyObject
* obj1
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self",(char *) "other", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22581 if (arg2
== NULL
) {
22582 PyErr_SetString(PyExc_TypeError
,"null reference");
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22593 wxTimeSpan
* resultptr
;
22594 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22603 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
;
22605 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 PyObject
* obj1
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self",(char *) "n", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22617 arg2
= (int)SWIG_As_int(obj1
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= wxTimeSpan___mul__(arg1
,arg2
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22627 wxTimeSpan
* resultptr
;
22628 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22637 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22642 PyObject
* obj0
= 0 ;
22643 PyObject
* obj1
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "self",(char *) "n", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22651 arg2
= (int)SWIG_As_int(obj1
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22661 wxTimeSpan
* resultptr
;
22662 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22671 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22674 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self",(char *) "other", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22703 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22706 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22708 PyObject
* obj0
= 0 ;
22709 PyObject
* obj1
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self",(char *) "other", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22735 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
;
22737 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22738 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self",(char *) "other", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22767 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22770 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self",(char *) "other", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22799 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22802 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22804 PyObject
* obj0
= 0 ;
22805 PyObject
* obj1
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self",(char *) "other", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22831 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22834 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "self",(char *) "other", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22863 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22891 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22919 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
;
22921 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22923 PyObject
* obj0
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22947 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22950 wxTimeSpan
*arg2
= 0 ;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self",(char *) "ts", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22964 if (arg2
== NULL
) {
22965 PyErr_SetString(PyExc_TypeError
,"null reference");
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22984 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22987 wxTimeSpan
*arg2
= 0 ;
22989 PyObject
* obj0
= 0 ;
22990 PyObject
* obj1
= 0 ;
22991 char *kwnames
[] = {
22992 (char *) "self",(char *) "ts", NULL
22995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23001 if (arg2
== NULL
) {
23002 PyErr_SetString(PyExc_TypeError
,"null reference");
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23021 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23024 wxTimeSpan
*arg2
= 0 ;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "t", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
23033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
23036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23038 if (arg2
== NULL
) {
23039 PyErr_SetString(PyExc_TypeError
,"null reference");
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23058 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= SWIG_From_int((int)result
);
23084 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_From_int((int)result
);
23110 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "self", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
23120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_From_int((int)result
);
23136 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 resultobj
= SWIG_From_int((int)result
);
23162 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23163 PyObject
*resultobj
;
23164 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23166 PyObject
* obj0
= 0 ;
23167 char *kwnames
[] = {
23168 (char *) "self", NULL
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
23172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23183 hi
= PyLong_FromLong( (&result
)->GetHi() );
23184 lo
= PyLong_FromLong( (&result
)->GetLo() );
23185 shifter
= PyLong_FromLong(32);
23186 shifted
= PyNumber_Lshift(hi
, shifter
);
23187 resultobj
= PyNumber_Or(shifted
, lo
);
23190 Py_DECREF(shifter
);
23191 Py_DECREF(shifted
);
23199 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 char *kwnames
[] = {
23205 (char *) "self", NULL
23208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23219 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23220 hi
= PyLong_FromLong( (&result
)->GetHi() );
23221 lo
= PyLong_FromLong( (&result
)->GetLo() );
23222 shifter
= PyLong_FromLong(32);
23223 shifted
= PyNumber_Lshift(hi
, shifter
);
23224 resultobj
= PyNumber_Or(shifted
, lo
);
23227 Py_DECREF(shifter
);
23228 Py_DECREF(shifted
);
23236 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23237 PyObject
*resultobj
;
23238 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23239 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23240 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23242 bool temp2
= false ;
23243 PyObject
* obj0
= 0 ;
23244 PyObject
* obj1
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self",(char *) "format", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23254 arg2
= wxString_in_helper(obj1
);
23255 if (arg2
== NULL
) SWIG_fail
;
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23287 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23290 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23292 return Py_BuildValue((char *)"");
23294 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23296 int arg1
= (int) 0 ;
23297 int arg2
= (int) 0 ;
23298 int arg3
= (int) 0 ;
23299 int arg4
= (int) 0 ;
23300 wxDateSpan
*result
;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 PyObject
* obj2
= 0 ;
23304 PyObject
* obj3
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23311 arg1
= (int)SWIG_As_int(obj0
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23315 arg2
= (int)SWIG_As_int(obj1
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23319 arg3
= (int)SWIG_As_int(obj2
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23323 arg4
= (int)SWIG_As_int(obj3
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23340 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23358 Py_INCREF(Py_None
); resultobj
= Py_None
;
23365 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23369 PyObject
* obj0
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "days", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23375 arg1
= (int)SWIG_As_int(obj0
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= wxDateSpan::Days(arg1
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23385 wxDateSpan
* resultptr
;
23386 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23395 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23398 char *kwnames
[] = {
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= wxDateSpan::Day();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 wxDateSpan
* resultptr
;
23412 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23421 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23425 PyObject
* obj0
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "weeks", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23431 arg1
= (int)SWIG_As_int(obj0
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 result
= wxDateSpan::Weeks(arg1
);
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23441 wxDateSpan
* resultptr
;
23442 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23451 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
;
23454 char *kwnames
[] = {
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 result
= wxDateSpan::Week();
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23467 wxDateSpan
* resultptr
;
23468 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23477 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
;
23481 PyObject
* obj0
= 0 ;
23482 char *kwnames
[] = {
23483 (char *) "mon", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23487 arg1
= (int)SWIG_As_int(obj0
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= wxDateSpan::Months(arg1
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23497 wxDateSpan
* resultptr
;
23498 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23507 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23510 char *kwnames
[] = {
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= wxDateSpan::Month();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 wxDateSpan
* resultptr
;
23524 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23533 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23537 PyObject
* obj0
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "years", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23543 arg1
= (int)SWIG_As_int(obj0
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 result
= wxDateSpan::Years(arg1
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23553 wxDateSpan
* resultptr
;
23554 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23563 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23566 char *kwnames
[] = {
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= wxDateSpan::Year();
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23579 wxDateSpan
* resultptr
;
23580 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23589 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
;
23591 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23593 wxDateSpan
*result
;
23594 PyObject
* obj0
= 0 ;
23595 PyObject
* obj1
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self",(char *) "n", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23603 arg2
= (int)SWIG_As_int(obj1
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23609 result
= (wxDateSpan
*) &_result_ref
;
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23622 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23626 wxDateSpan
*result
;
23627 PyObject
* obj0
= 0 ;
23628 PyObject
* obj1
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self",(char *) "n", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 arg2
= (int)SWIG_As_int(obj1
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23642 result
= (wxDateSpan
*) &_result_ref
;
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23655 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23659 wxDateSpan
*result
;
23660 PyObject
* obj0
= 0 ;
23661 PyObject
* obj1
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self",(char *) "n", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23669 arg2
= (int)SWIG_As_int(obj1
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23675 result
= (wxDateSpan
*) &_result_ref
;
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23688 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23692 wxDateSpan
*result
;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self",(char *) "n", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 arg2
= (int)SWIG_As_int(obj1
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23708 result
= (wxDateSpan
*) &_result_ref
;
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23721 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= SWIG_From_int((int)result
);
23747 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
;
23749 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= SWIG_From_int((int)result
);
23773 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23777 PyObject
* obj0
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "self", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_From_int((int)result
);
23799 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23801 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23803 PyObject
* obj0
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "self", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= SWIG_From_int((int)result
);
23825 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23829 PyObject
* obj0
= 0 ;
23830 char *kwnames
[] = {
23831 (char *) "self", NULL
23834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_From_int((int)result
);
23851 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23854 wxDateSpan
*arg2
= 0 ;
23855 wxDateSpan
*result
;
23856 PyObject
* obj0
= 0 ;
23857 PyObject
* obj1
= 0 ;
23858 char *kwnames
[] = {
23859 (char *) "self",(char *) "other", NULL
23862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23868 if (arg2
== NULL
) {
23869 PyErr_SetString(PyExc_TypeError
,"null reference");
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23876 result
= (wxDateSpan
*) &_result_ref
;
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23889 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
;
23891 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23892 wxDateSpan
*arg2
= 0 ;
23893 wxDateSpan
*result
;
23894 PyObject
* obj0
= 0 ;
23895 PyObject
* obj1
= 0 ;
23896 char *kwnames
[] = {
23897 (char *) "self",(char *) "other", NULL
23900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23906 if (arg2
== NULL
) {
23907 PyErr_SetString(PyExc_TypeError
,"null reference");
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23914 result
= (wxDateSpan
*) &_result_ref
;
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23927 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
;
23929 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23930 wxDateSpan
*result
;
23931 PyObject
* obj0
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23943 result
= (wxDateSpan
*) &_result_ref
;
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23956 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23960 wxDateSpan
*result
;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self",(char *) "factor", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23970 arg2
= (int)SWIG_As_int(obj1
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23976 result
= (wxDateSpan
*) &_result_ref
;
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23989 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
;
23991 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23992 wxDateSpan
*arg2
= 0 ;
23993 wxDateSpan
*result
;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self",(char *) "other", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
24001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24002 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24006 if (arg2
== NULL
) {
24007 PyErr_SetString(PyExc_TypeError
,"null reference");
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
24014 result
= (wxDateSpan
*) &_result_ref
;
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24027 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24030 wxDateSpan
*arg2
= 0 ;
24031 wxDateSpan
*result
;
24032 PyObject
* obj0
= 0 ;
24033 PyObject
* obj1
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self",(char *) "other", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24040 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24044 if (arg2
== NULL
) {
24045 PyErr_SetString(PyExc_TypeError
,"null reference");
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
24052 result
= (wxDateSpan
*) &_result_ref
;
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24065 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24068 wxDateSpan
*result
;
24069 PyObject
* obj0
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
24075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 wxDateSpan
&_result_ref
= (arg1
)->operator -();
24081 result
= (wxDateSpan
*) &_result_ref
;
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
24094 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
;
24096 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24098 wxDateSpan
*result
;
24099 PyObject
* obj0
= 0 ;
24100 PyObject
* obj1
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self",(char *) "factor", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24107 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24108 arg2
= (int)SWIG_As_int(obj1
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
24114 result
= (wxDateSpan
*) &_result_ref
;
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
24127 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24130 wxDateSpan
*arg2
= 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self",(char *) "other", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24144 if (arg2
== NULL
) {
24145 PyErr_SetString(PyExc_TypeError
,"null reference");
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 wxDateSpan
* resultptr
;
24157 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24166 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24169 wxDateSpan
*arg2
= 0 ;
24171 PyObject
* obj0
= 0 ;
24172 PyObject
* obj1
= 0 ;
24173 char *kwnames
[] = {
24174 (char *) "self",(char *) "other", NULL
24177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
24178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24181 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24183 if (arg2
== NULL
) {
24184 PyErr_SetString(PyExc_TypeError
,"null reference");
24188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24189 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24195 wxDateSpan
* resultptr
;
24196 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24205 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24207 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24210 PyObject
* obj0
= 0 ;
24211 PyObject
* obj1
= 0 ;
24212 char *kwnames
[] = {
24213 (char *) "self",(char *) "n", NULL
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24219 arg2
= (int)SWIG_As_int(obj1
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 result
= wxDateSpan___mul__(arg1
,arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24229 wxDateSpan
* resultptr
;
24230 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24239 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 char *kwnames
[] = {
24247 (char *) "self",(char *) "n", NULL
24250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24253 arg2
= (int)SWIG_As_int(obj1
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= wxDateSpan___rmul__(arg1
,arg2
);
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24263 wxDateSpan
* resultptr
;
24264 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24273 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24276 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "other", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24305 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24308 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 PyObject
* obj1
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self",(char *) "other", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24337 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24340 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24342 return Py_BuildValue((char *)"");
24344 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
;
24347 char *kwnames
[] = {
24351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (long)wxGetLocalTime();
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= SWIG_From_long((long)result
);
24366 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24369 char *kwnames
[] = {
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (long)wxGetUTCTime();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_From_long((long)result
);
24388 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24391 char *kwnames
[] = {
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 result
= (long)wxGetCurrentTime();
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 resultobj
= SWIG_From_long((long)result
);
24410 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
;
24413 char *kwnames
[] = {
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= wxGetLocalTimeMillis();
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24426 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24427 hi
= PyLong_FromLong( (&result
)->GetHi() );
24428 lo
= PyLong_FromLong( (&result
)->GetLo() );
24429 shifter
= PyLong_FromLong(32);
24430 shifted
= PyNumber_Lshift(hi
, shifter
);
24431 resultobj
= PyNumber_Or(shifted
, lo
);
24434 Py_DECREF(shifter
);
24435 Py_DECREF(shifted
);
24443 static int _wrap_DefaultDateTime_set(PyObject
*) {
24444 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24449 static PyObject
*_wrap_DefaultDateTime_get() {
24452 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24457 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24460 wxDataFormat
*result
;
24461 PyObject
* obj0
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "type", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24467 arg1
= (int)SWIG_As_int(obj0
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24483 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxString
*arg1
= 0 ;
24486 wxDataFormat
*result
;
24487 bool temp1
= false ;
24488 PyObject
* obj0
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "format", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24495 arg1
= wxString_in_helper(obj0
);
24496 if (arg1
== NULL
) SWIG_fail
;
24500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24521 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
;
24523 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24524 PyObject
* obj0
= 0 ;
24525 char *kwnames
[] = {
24526 (char *) "self", NULL
24529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24539 Py_INCREF(Py_None
); resultobj
= Py_None
;
24546 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24547 PyObject
*resultobj
;
24548 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 PyObject
* obj1
= 0 ;
24554 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24557 arg2
= (int)SWIG_As_int(obj1
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24575 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24576 PyObject
*resultobj
;
24577 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24583 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 arg2
= (int)SWIG_As_int(obj1
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24604 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24605 PyObject
*resultobj
;
24606 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24607 wxDataFormat
*arg2
= 0 ;
24609 PyObject
* obj0
= 0 ;
24610 PyObject
* obj1
= 0 ;
24612 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24618 if (arg2
== NULL
) {
24619 PyErr_SetString(PyExc_TypeError
,"null reference");
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24638 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24643 argc
= PyObject_Length(args
);
24644 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24645 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24651 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24661 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24669 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24677 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24685 _v
= SWIG_Check_int(argv
[1]);
24687 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24692 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24697 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24698 PyObject
*resultobj
;
24699 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24700 wxDataFormat
*arg2
= 0 ;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24705 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24711 if (arg2
== NULL
) {
24712 PyErr_SetString(PyExc_TypeError
,"null reference");
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24731 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24736 argc
= PyObject_Length(args
);
24737 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24738 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24744 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24754 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24762 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24770 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24778 _v
= SWIG_Check_int(argv
[1]);
24780 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24785 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24790 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self",(char *) "format", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24803 arg2
= (int)SWIG_As_int(obj1
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24807 (arg1
)->SetType((wxDataFormatId
)arg2
);
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24812 Py_INCREF(Py_None
); resultobj
= Py_None
;
24819 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
;
24821 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24823 PyObject
* obj0
= 0 ;
24824 char *kwnames
[] = {
24825 (char *) "self", NULL
24828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24838 resultobj
= SWIG_From_int((int)result
);
24845 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
;
24847 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24849 PyObject
* obj0
= 0 ;
24850 char *kwnames
[] = {
24851 (char *) "self", NULL
24854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= ((wxDataFormat
const *)arg1
)->GetId();
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24877 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24880 wxString
*arg2
= 0 ;
24881 bool temp2
= false ;
24882 PyObject
* obj0
= 0 ;
24883 PyObject
* obj1
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self",(char *) "format", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24892 arg2
= wxString_in_helper(obj1
);
24893 if (arg2
== NULL
) SWIG_fail
;
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 (arg1
)->SetId((wxString
const &)*arg2
);
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 Py_INCREF(Py_None
); resultobj
= Py_None
;
24918 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24921 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24923 return Py_BuildValue((char *)"");
24925 static int _wrap_FormatInvalid_set(PyObject
*) {
24926 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24931 static PyObject
*_wrap_FormatInvalid_get() {
24934 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24939 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24942 PyObject
* obj0
= 0 ;
24943 char *kwnames
[] = {
24944 (char *) "self", NULL
24947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 Py_INCREF(Py_None
); resultobj
= Py_None
;
24964 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
;
24966 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24967 int arg2
= (int) wxDataObject::Get
;
24968 SwigValueWrapper
< wxDataFormat
> result
;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self",(char *) "dir", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24979 arg2
= (int)SWIG_As_int(obj1
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24990 wxDataFormat
* resultptr
;
24991 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
25000 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25003 int arg2
= (int) wxDataObject::Get
;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self",(char *) "dir", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
25012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25015 arg2
= (int)SWIG_As_int(obj1
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25032 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
;
25034 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25035 wxDataFormat
*arg2
= 0 ;
25036 int arg3
= (int) wxDataObject::Get
;
25038 PyObject
* obj0
= 0 ;
25039 PyObject
* obj1
= 0 ;
25040 PyObject
* obj2
= 0 ;
25041 char *kwnames
[] = {
25042 (char *) "self",(char *) "format",(char *) "dir", NULL
25045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25051 if (arg2
== NULL
) {
25052 PyErr_SetString(PyExc_TypeError
,"null reference");
25056 arg3
= (int)SWIG_As_int(obj2
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25075 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25078 wxDataFormat
*arg2
= 0 ;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 char *kwnames
[] = {
25083 (char *) "self",(char *) "format", NULL
25086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25092 if (arg2
== NULL
) {
25093 PyErr_SetString(PyExc_TypeError
,"null reference");
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25110 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25113 int arg2
= (int) wxDataObject::Get
;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self",(char *) "dir", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
25122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25125 arg2
= (int)SWIG_As_int(obj1
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= result
;
25142 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25145 wxDataFormat
*arg2
= 0 ;
25147 PyObject
* obj0
= 0 ;
25148 PyObject
* obj1
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "self",(char *) "format", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
25154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25159 if (arg2
== NULL
) {
25160 PyErr_SetString(PyExc_TypeError
,"null reference");
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= result
;
25177 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
25180 wxDataFormat
*arg2
= 0 ;
25181 PyObject
*arg3
= (PyObject
*) 0 ;
25183 PyObject
* obj0
= 0 ;
25184 PyObject
* obj1
= 0 ;
25185 PyObject
* obj2
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "self",(char *) "format",(char *) "data", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25196 if (arg2
== NULL
) {
25197 PyErr_SetString(PyExc_TypeError
,"null reference");
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
25205 wxPyEndAllowThreads(__tstate
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25217 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25220 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25222 return Py_BuildValue((char *)"");
25224 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25226 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25227 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25228 wxDataObjectSimple
*result
;
25229 PyObject
* obj0
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "format", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25239 if (arg1
== NULL
) {
25240 PyErr_SetString(PyExc_TypeError
,"null reference");
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25246 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25258 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
;
25260 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25261 wxDataFormat
*result
;
25262 PyObject
* obj0
= 0 ;
25263 char *kwnames
[] = {
25264 (char *) "self", NULL
25267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25274 result
= (wxDataFormat
*) &_result_ref
;
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25287 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
;
25289 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25290 wxDataFormat
*arg2
= 0 ;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self",(char *) "format", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25303 if (arg2
== NULL
) {
25304 PyErr_SetString(PyExc_TypeError
,"null reference");
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 Py_INCREF(Py_None
); resultobj
= Py_None
;
25321 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25325 PyObject
* obj0
= 0 ;
25326 char *kwnames
[] = {
25327 (char *) "self", NULL
25330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25347 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= result
;
25373 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25376 PyObject
*arg2
= (PyObject
*) 0 ;
25378 PyObject
* obj0
= 0 ;
25379 PyObject
* obj1
= 0 ;
25380 char *kwnames
[] = {
25381 (char *) "self",(char *) "data", NULL
25384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25404 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25407 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25409 return Py_BuildValue((char *)"");
25411 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
;
25413 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25414 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25415 wxPyDataObjectSimple
*result
;
25416 PyObject
* obj0
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "format", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25426 if (arg1
== NULL
) {
25427 PyErr_SetString(PyExc_TypeError
,"null reference");
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25445 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
;
25447 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25448 PyObject
*arg2
= (PyObject
*) 0 ;
25449 PyObject
*arg3
= (PyObject
*) 0 ;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 PyObject
* obj2
= 0 ;
25453 char *kwnames
[] = {
25454 (char *) "self",(char *) "self",(char *) "_class", NULL
25457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 Py_INCREF(Py_None
); resultobj
= Py_None
;
25476 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25479 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25481 return Py_BuildValue((char *)"");
25483 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
;
25485 wxDataObjectComposite
*result
;
25486 char *kwnames
[] = {
25490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25505 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25508 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25509 bool arg3
= (bool) false ;
25510 PyObject
* obj0
= 0 ;
25511 PyObject
* obj1
= 0 ;
25512 PyObject
* obj2
= 0 ;
25513 char *kwnames
[] = {
25514 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25521 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25523 arg3
= (bool)SWIG_As_bool(obj2
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 (arg1
)->Add(arg2
,arg3
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25543 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25545 return Py_BuildValue((char *)"");
25547 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25550 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25551 wxTextDataObject
*result
;
25552 bool temp1
= false ;
25553 PyObject
* obj0
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "text", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25561 arg1
= wxString_in_helper(obj0
);
25562 if (arg1
== NULL
) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25588 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
;
25590 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25592 PyObject
* obj0
= 0 ;
25593 char *kwnames
[] = {
25594 (char *) "self", NULL
25597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 result
= (size_t)(arg1
)->GetTextLength();
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25614 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25618 PyObject
* obj0
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= (arg1
)->GetText();
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25646 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25649 wxString
*arg2
= 0 ;
25650 bool temp2
= false ;
25651 PyObject
* obj0
= 0 ;
25652 PyObject
* obj1
= 0 ;
25653 char *kwnames
[] = {
25654 (char *) "self",(char *) "text", NULL
25657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25661 arg2
= wxString_in_helper(obj1
);
25662 if (arg2
== NULL
) SWIG_fail
;
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 (arg1
)->SetText((wxString
const &)*arg2
);
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 Py_INCREF(Py_None
); resultobj
= Py_None
;
25687 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25690 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25692 return Py_BuildValue((char *)"");
25694 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
;
25696 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25697 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25698 wxPyTextDataObject
*result
;
25699 bool temp1
= false ;
25700 PyObject
* obj0
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "text", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25708 arg1
= wxString_in_helper(obj0
);
25709 if (arg1
== NULL
) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25735 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
;
25737 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25738 PyObject
*arg2
= (PyObject
*) 0 ;
25739 PyObject
*arg3
= (PyObject
*) 0 ;
25740 PyObject
* obj0
= 0 ;
25741 PyObject
* obj1
= 0 ;
25742 PyObject
* obj2
= 0 ;
25743 char *kwnames
[] = {
25744 (char *) "self",(char *) "self",(char *) "_class", NULL
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 Py_INCREF(Py_None
); resultobj
= Py_None
;
25766 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25769 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25771 return Py_BuildValue((char *)"");
25773 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25776 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25777 wxBitmapDataObject
*result
;
25778 PyObject
* obj0
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "bitmap", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25788 if (arg1
== NULL
) {
25789 PyErr_SetString(PyExc_TypeError
,"null reference");
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25807 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25808 PyObject
*resultobj
;
25809 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25811 PyObject
* obj0
= 0 ;
25812 char *kwnames
[] = {
25813 (char *) "self", NULL
25816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25827 wxBitmap
* resultptr
;
25828 resultptr
= new wxBitmap((wxBitmap
&) result
);
25829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25837 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25840 wxBitmap
*arg2
= 0 ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "bitmap", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25853 if (arg2
== NULL
) {
25854 PyErr_SetString(PyExc_TypeError
,"null reference");
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 Py_INCREF(Py_None
); resultobj
= Py_None
;
25871 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25874 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25876 return Py_BuildValue((char *)"");
25878 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25881 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25882 wxPyBitmapDataObject
*result
;
25883 PyObject
* obj0
= 0 ;
25884 char *kwnames
[] = {
25885 (char *) "bitmap", NULL
25888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25893 if (arg1
== NULL
) {
25894 PyErr_SetString(PyExc_TypeError
,"null reference");
25899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25900 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25912 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
;
25914 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25915 PyObject
*arg2
= (PyObject
*) 0 ;
25916 PyObject
*arg3
= (PyObject
*) 0 ;
25917 PyObject
* obj0
= 0 ;
25918 PyObject
* obj1
= 0 ;
25919 PyObject
* obj2
= 0 ;
25920 char *kwnames
[] = {
25921 (char *) "self",(char *) "self",(char *) "_class", NULL
25924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 Py_INCREF(Py_None
); resultobj
= Py_None
;
25943 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25946 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25948 return Py_BuildValue((char *)"");
25950 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
;
25952 wxFileDataObject
*result
;
25953 char *kwnames
[] = {
25957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= (wxFileDataObject
*)new wxFileDataObject();
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25972 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25975 wxArrayString
*result
;
25976 PyObject
* obj0
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "self", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25988 result
= (wxArrayString
*) &_result_ref
;
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= wxArrayString2PyList_helper(*result
);
26003 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
26006 wxString
*arg2
= 0 ;
26007 bool temp2
= false ;
26008 PyObject
* obj0
= 0 ;
26009 PyObject
* obj1
= 0 ;
26010 char *kwnames
[] = {
26011 (char *) "self",(char *) "filename", NULL
26014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
26015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
26016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26018 arg2
= wxString_in_helper(obj1
);
26019 if (arg2
== NULL
) SWIG_fail
;
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 (arg1
)->AddFile((wxString
const &)*arg2
);
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 Py_INCREF(Py_None
); resultobj
= Py_None
;
26044 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26047 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
26049 return Py_BuildValue((char *)"");
26051 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26052 PyObject
*resultobj
;
26053 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
26054 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
26055 wxCustomDataObject
*result
;
26056 PyObject
* obj0
= 0 ;
26057 char *kwnames
[] = {
26058 (char *) "format", NULL
26061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
26063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
26064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26066 if (arg1
== NULL
) {
26067 PyErr_SetString(PyExc_TypeError
,"null reference");
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
26085 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
;
26087 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26088 PyObject
*arg2
= (PyObject
*) 0 ;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 char *kwnames
[] = {
26093 (char *) "self",(char *) "data", NULL
26096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26116 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 result
= (size_t)(arg1
)->GetSize();
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26142 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
26146 PyObject
* obj0
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= result
;
26168 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
26170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26171 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
26173 return Py_BuildValue((char *)"");
26175 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26176 PyObject
*resultobj
;
26177 wxURLDataObject
*result
;
26178 char *kwnames
[] = {
26182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 result
= (wxURLDataObject
*)new wxURLDataObject();
26187 wxPyEndAllowThreads(__tstate
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
26197 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26201 PyObject
* obj0
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 result
= (arg1
)->GetURL();
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26229 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
;
26231 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26232 wxString
*arg2
= 0 ;
26233 bool temp2
= false ;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self",(char *) "url", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26244 arg2
= wxString_in_helper(obj1
);
26245 if (arg2
== NULL
) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 (arg1
)->SetURL((wxString
const &)*arg2
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 Py_INCREF(Py_None
); resultobj
= Py_None
;
26270 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26273 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26275 return Py_BuildValue((char *)"");
26277 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxMetafileDataObject
*result
;
26280 char *kwnames
[] = {
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26299 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26302 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26304 return Py_BuildValue((char *)"");
26306 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26310 PyObject
* obj0
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "res", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26316 arg1
= (int)SWIG_As_int(obj0
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26334 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxWindow
*arg1
= (wxWindow
*) 0 ;
26337 wxIcon
const &arg2_defvalue
= wxNullIcon
;
26338 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
26339 wxIcon
const &arg3_defvalue
= wxNullIcon
;
26340 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
26341 wxIcon
const &arg4_defvalue
= wxNullIcon
;
26342 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
26343 wxPyDropSource
*result
;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 PyObject
* obj2
= 0 ;
26347 PyObject
* obj3
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26359 if (arg2
== NULL
) {
26360 PyErr_SetString(PyExc_TypeError
,"null reference");
26365 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
26366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26368 if (arg3
== NULL
) {
26369 PyErr_SetString(PyExc_TypeError
,"null reference");
26374 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
26375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26377 if (arg4
== NULL
) {
26378 PyErr_SetString(PyExc_TypeError
,"null reference");
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26396 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26399 PyObject
*arg2
= (PyObject
*) 0 ;
26400 PyObject
*arg3
= (PyObject
*) 0 ;
26402 PyObject
* obj0
= 0 ;
26403 PyObject
* obj1
= 0 ;
26404 PyObject
* obj2
= 0 ;
26405 PyObject
* obj3
= 0 ;
26406 char *kwnames
[] = {
26407 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26415 arg4
= (int)SWIG_As_int(obj3
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 Py_INCREF(Py_None
); resultobj
= Py_None
;
26431 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26434 PyObject
* obj0
= 0 ;
26435 char *kwnames
[] = {
26436 (char *) "self", NULL
26439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26449 Py_INCREF(Py_None
); resultobj
= Py_None
;
26456 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26459 wxDataObject
*arg2
= 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "data", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26472 if (arg2
== NULL
) {
26473 PyErr_SetString(PyExc_TypeError
,"null reference");
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 (arg1
)->SetData(*arg2
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 Py_INCREF(Py_None
); resultobj
= Py_None
;
26490 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26491 PyObject
*resultobj
;
26492 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26493 wxDataObject
*result
;
26494 PyObject
* obj0
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "self", NULL
26499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26516 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26517 PyObject
*resultobj
;
26518 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26520 wxCursor
*arg3
= 0 ;
26521 PyObject
* obj0
= 0 ;
26522 PyObject
* obj1
= 0 ;
26523 PyObject
* obj2
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self",(char *) "res",(char *) "cursor", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26531 arg2
= (int)SWIG_As_int(obj1
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26533 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26536 if (arg3
== NULL
) {
26537 PyErr_SetString(PyExc_TypeError
,"null reference");
26541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26547 Py_INCREF(Py_None
); resultobj
= Py_None
;
26554 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
;
26556 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26557 int arg2
= (int) wxDrag_CopyOnly
;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self",(char *) "flags", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26569 arg2
= (int)SWIG_As_int(obj1
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 result
= (int)(arg1
)->DoDragDrop(arg2
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= SWIG_From_int((int)result
);
26586 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
;
26588 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26591 PyObject
* obj0
= 0 ;
26592 PyObject
* obj1
= 0 ;
26593 char *kwnames
[] = {
26594 (char *) "self",(char *) "effect", NULL
26597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26600 arg2
= (int)SWIG_As_int(obj1
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26618 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26621 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26623 return Py_BuildValue((char *)"");
26625 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
;
26627 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26628 wxPyDropTarget
*result
;
26629 PyObject
* obj0
= 0 ;
26630 char *kwnames
[] = {
26631 (char *) "dataObject", NULL
26634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26637 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26653 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26656 PyObject
*arg2
= (PyObject
*) 0 ;
26657 PyObject
*arg3
= (PyObject
*) 0 ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 PyObject
* obj2
= 0 ;
26661 char *kwnames
[] = {
26662 (char *) "self",(char *) "self",(char *) "_class", NULL
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 Py_INCREF(Py_None
); resultobj
= Py_None
;
26684 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26687 PyObject
* obj0
= 0 ;
26688 char *kwnames
[] = {
26689 (char *) "self", NULL
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 Py_INCREF(Py_None
); resultobj
= Py_None
;
26709 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
;
26711 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26712 wxDataObject
*result
;
26713 PyObject
* obj0
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26735 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26738 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 char *kwnames
[] = {
26742 (char *) "self",(char *) "dataObject", NULL
26745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26749 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 (arg1
)->SetDataObject(arg2
);
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 Py_INCREF(Py_None
); resultobj
= Py_None
;
26764 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
;
26766 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 PyObject
* obj2
= 0 ;
26774 PyObject
* obj3
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26782 arg2
= (int)SWIG_As_int(obj1
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26784 arg3
= (int)SWIG_As_int(obj2
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26786 arg4
= (int)SWIG_As_int(obj3
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= SWIG_From_int((int)result
);
26802 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
;
26804 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26809 PyObject
* obj0
= 0 ;
26810 PyObject
* obj1
= 0 ;
26811 PyObject
* obj2
= 0 ;
26812 PyObject
* obj3
= 0 ;
26813 char *kwnames
[] = {
26814 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26820 arg2
= (int)SWIG_As_int(obj1
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26822 arg3
= (int)SWIG_As_int(obj2
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26824 arg4
= (int)SWIG_As_int(obj3
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= SWIG_From_int((int)result
);
26840 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
;
26842 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26843 PyObject
* obj0
= 0 ;
26844 char *kwnames
[] = {
26845 (char *) "self", NULL
26848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->base_OnLeave();
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 Py_INCREF(Py_None
); resultobj
= Py_None
;
26865 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
;
26867 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 PyObject
* obj2
= 0 ;
26874 char *kwnames
[] = {
26875 (char *) "self",(char *) "x",(char *) "y", NULL
26878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26881 arg2
= (int)SWIG_As_int(obj1
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26883 arg3
= (int)SWIG_As_int(obj2
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26889 wxPyEndAllowThreads(__tstate
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26901 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26905 PyObject
* obj0
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= (bool)(arg1
)->GetData();
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26929 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26932 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26934 return Py_BuildValue((char *)"");
26936 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26937 PyObject
*resultobj
;
26938 wxPyTextDropTarget
*result
;
26939 char *kwnames
[] = {
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26948 wxPyEndAllowThreads(__tstate
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26958 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26961 PyObject
*arg2
= (PyObject
*) 0 ;
26962 PyObject
*arg3
= (PyObject
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 PyObject
* obj2
= 0 ;
26966 char *kwnames
[] = {
26967 (char *) "self",(char *) "self",(char *) "_class", NULL
26970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26977 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26979 wxPyEndAllowThreads(__tstate
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26982 Py_INCREF(Py_None
); resultobj
= Py_None
;
26989 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
;
26991 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26996 PyObject
* obj0
= 0 ;
26997 PyObject
* obj1
= 0 ;
26998 PyObject
* obj2
= 0 ;
26999 PyObject
* obj3
= 0 ;
27000 char *kwnames
[] = {
27001 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27007 arg2
= (int)SWIG_As_int(obj1
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27009 arg3
= (int)SWIG_As_int(obj2
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27011 arg4
= (int)SWIG_As_int(obj3
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27020 resultobj
= SWIG_From_int((int)result
);
27027 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27028 PyObject
*resultobj
;
27029 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27034 PyObject
* obj0
= 0 ;
27035 PyObject
* obj1
= 0 ;
27036 PyObject
* obj2
= 0 ;
27037 PyObject
* obj3
= 0 ;
27038 char *kwnames
[] = {
27039 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27045 arg2
= (int)SWIG_As_int(obj1
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27047 arg3
= (int)SWIG_As_int(obj2
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27049 arg4
= (int)SWIG_As_int(obj3
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 resultobj
= SWIG_From_int((int)result
);
27065 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27068 PyObject
* obj0
= 0 ;
27069 char *kwnames
[] = {
27070 (char *) "self", NULL
27073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 (arg1
)->base_OnLeave();
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 Py_INCREF(Py_None
); resultobj
= Py_None
;
27090 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27096 PyObject
* obj0
= 0 ;
27097 PyObject
* obj1
= 0 ;
27098 PyObject
* obj2
= 0 ;
27099 char *kwnames
[] = {
27100 (char *) "self",(char *) "x",(char *) "y", NULL
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27106 arg2
= (int)SWIG_As_int(obj1
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27108 arg3
= (int)SWIG_As_int(obj2
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27126 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
;
27128 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 PyObject
* obj2
= 0 ;
27136 PyObject
* obj3
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27144 arg2
= (int)SWIG_As_int(obj1
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27146 arg3
= (int)SWIG_As_int(obj2
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27148 arg4
= (int)SWIG_As_int(obj3
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_From_int((int)result
);
27164 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27167 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27169 return Py_BuildValue((char *)"");
27171 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27172 PyObject
*resultobj
;
27173 wxPyFileDropTarget
*result
;
27174 char *kwnames
[] = {
27178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27193 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27196 PyObject
*arg2
= (PyObject
*) 0 ;
27197 PyObject
*arg3
= (PyObject
*) 0 ;
27198 PyObject
* obj0
= 0 ;
27199 PyObject
* obj1
= 0 ;
27200 PyObject
* obj2
= 0 ;
27201 char *kwnames
[] = {
27202 (char *) "self",(char *) "self",(char *) "_class", NULL
27205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27217 Py_INCREF(Py_None
); resultobj
= Py_None
;
27224 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
;
27226 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27231 PyObject
* obj0
= 0 ;
27232 PyObject
* obj1
= 0 ;
27233 PyObject
* obj2
= 0 ;
27234 PyObject
* obj3
= 0 ;
27235 char *kwnames
[] = {
27236 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27242 arg2
= (int)SWIG_As_int(obj1
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27244 arg3
= (int)SWIG_As_int(obj2
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27246 arg4
= (int)SWIG_As_int(obj3
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27250 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_From_int((int)result
);
27262 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
;
27264 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 PyObject
* obj1
= 0 ;
27271 PyObject
* obj2
= 0 ;
27272 PyObject
* obj3
= 0 ;
27273 char *kwnames
[] = {
27274 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27280 arg2
= (int)SWIG_As_int(obj1
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27282 arg3
= (int)SWIG_As_int(obj2
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27284 arg4
= (int)SWIG_As_int(obj3
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= SWIG_From_int((int)result
);
27300 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27301 PyObject
*resultobj
;
27302 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27303 PyObject
* obj0
= 0 ;
27304 char *kwnames
[] = {
27305 (char *) "self", NULL
27308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 (arg1
)->base_OnLeave();
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 Py_INCREF(Py_None
); resultobj
= Py_None
;
27325 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 PyObject
* obj2
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self",(char *) "x",(char *) "y", NULL
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27341 arg2
= (int)SWIG_As_int(obj1
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27343 arg3
= (int)SWIG_As_int(obj2
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27361 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27368 PyObject
* obj0
= 0 ;
27369 PyObject
* obj1
= 0 ;
27370 PyObject
* obj2
= 0 ;
27371 PyObject
* obj3
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27379 arg2
= (int)SWIG_As_int(obj1
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27381 arg3
= (int)SWIG_As_int(obj2
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27383 arg4
= (int)SWIG_As_int(obj3
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= SWIG_From_int((int)result
);
27399 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27402 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27404 return Py_BuildValue((char *)"");
27406 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
;
27408 wxClipboard
*result
;
27409 char *kwnames
[] = {
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (wxClipboard
*)new wxClipboard();
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27428 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27431 PyObject
* obj0
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27446 Py_INCREF(Py_None
); resultobj
= Py_None
;
27453 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
;
27455 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 result
= (bool)(arg1
)->Open();
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27481 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27484 PyObject
* obj0
= 0 ;
27485 char *kwnames
[] = {
27486 (char *) "self", NULL
27489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 wxPyEndAllowThreads(__tstate
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27499 Py_INCREF(Py_None
); resultobj
= Py_None
;
27506 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27507 PyObject
*resultobj
;
27508 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27510 PyObject
* obj0
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27534 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27537 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27539 PyObject
* obj0
= 0 ;
27540 PyObject
* obj1
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "self",(char *) "data", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27549 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 result
= (bool)(arg1
)->AddData(arg2
);
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27566 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27567 PyObject
*resultobj
;
27568 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27569 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27571 PyObject
* obj0
= 0 ;
27572 PyObject
* obj1
= 0 ;
27573 char *kwnames
[] = {
27574 (char *) "self",(char *) "data", NULL
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27581 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 result
= (bool)(arg1
)->SetData(arg2
);
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27598 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27601 wxDataFormat
*arg2
= 0 ;
27603 PyObject
* obj0
= 0 ;
27604 PyObject
* obj1
= 0 ;
27605 char *kwnames
[] = {
27606 (char *) "self",(char *) "format", NULL
27609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27615 if (arg2
== NULL
) {
27616 PyErr_SetString(PyExc_TypeError
,"null reference");
27620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27635 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
;
27637 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27638 wxDataObject
*arg2
= 0 ;
27640 PyObject
* obj0
= 0 ;
27641 PyObject
* obj1
= 0 ;
27642 char *kwnames
[] = {
27643 (char *) "self",(char *) "data", NULL
27646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27652 if (arg2
== NULL
) {
27653 PyErr_SetString(PyExc_TypeError
,"null reference");
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 result
= (bool)(arg1
)->GetData(*arg2
);
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27672 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27675 PyObject
* obj0
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 Py_INCREF(Py_None
); resultobj
= Py_None
;
27697 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27701 PyObject
* obj0
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "self", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 result
= (bool)(arg1
)->Flush();
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27725 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27728 bool arg2
= (bool) true ;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "self",(char *) "primary", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27739 arg2
= (bool)SWIG_As_bool(obj1
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 (arg1
)->UsePrimarySelection(arg2
);
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 Py_INCREF(Py_None
); resultobj
= Py_None
;
27756 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxClipboard
*result
;
27759 char *kwnames
[] = {
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 result
= (wxClipboard
*)wxClipboard::Get();
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27778 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27781 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27783 return Py_BuildValue((char *)"");
27785 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27786 PyObject
*resultobj
;
27787 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27788 wxClipboardLocker
*result
;
27789 PyObject
* obj0
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "clipboard", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27813 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27816 PyObject
* obj0
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "self", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 Py_INCREF(Py_None
); resultobj
= Py_None
;
27838 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27839 PyObject
*resultobj
;
27840 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27842 PyObject
* obj0
= 0 ;
27843 char *kwnames
[] = {
27844 (char *) "self", NULL
27847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27852 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27854 wxPyEndAllowThreads(__tstate
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27866 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27869 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27871 return Py_BuildValue((char *)"");
27873 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27874 PyObject
*resultobj
;
27875 int arg1
= (int) 0 ;
27876 int arg2
= (int) 0 ;
27877 int arg3
= (int) 0 ;
27878 int arg4
= (int) 0 ;
27879 wxVideoMode
*result
;
27880 PyObject
* obj0
= 0 ;
27881 PyObject
* obj1
= 0 ;
27882 PyObject
* obj2
= 0 ;
27883 PyObject
* obj3
= 0 ;
27884 char *kwnames
[] = {
27885 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27890 arg1
= (int)SWIG_As_int(obj0
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27894 arg2
= (int)SWIG_As_int(obj1
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27898 arg3
= (int)SWIG_As_int(obj2
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27902 arg4
= (int)SWIG_As_int(obj3
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27919 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27920 PyObject
*resultobj
;
27921 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27922 PyObject
* obj0
= 0 ;
27923 char *kwnames
[] = {
27924 (char *) "self", NULL
27927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 Py_INCREF(Py_None
); resultobj
= Py_None
;
27944 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
;
27946 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27947 wxVideoMode
*arg2
= 0 ;
27949 PyObject
* obj0
= 0 ;
27950 PyObject
* obj1
= 0 ;
27951 char *kwnames
[] = {
27952 (char *) "self",(char *) "other", NULL
27955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27961 if (arg2
== NULL
) {
27962 PyErr_SetString(PyExc_TypeError
,"null reference");
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27981 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
;
27983 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27985 PyObject
* obj0
= 0 ;
27986 char *kwnames
[] = {
27987 (char *) "self", NULL
27990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28000 resultobj
= SWIG_From_int((int)result
);
28007 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
;
28009 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28011 PyObject
* obj0
= 0 ;
28012 char *kwnames
[] = {
28013 (char *) "self", NULL
28016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
28017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28021 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
28023 wxPyEndAllowThreads(__tstate
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= SWIG_From_int((int)result
);
28033 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
;
28035 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28037 PyObject
* obj0
= 0 ;
28038 char *kwnames
[] = {
28039 (char *) "self", NULL
28042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
28043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28047 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28052 resultobj
= SWIG_From_int((int)result
);
28059 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28060 PyObject
*resultobj
;
28061 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28063 PyObject
* obj0
= 0 ;
28064 char *kwnames
[] = {
28065 (char *) "self", NULL
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
28069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28073 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
28075 wxPyEndAllowThreads(__tstate
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28087 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28090 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self",(char *) "other", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
28099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28119 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28122 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 char *kwnames
[] = {
28127 (char *) "self",(char *) "other", NULL
28130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
28131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28151 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
;
28153 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28155 PyObject
* obj0
= 0 ;
28156 PyObject
* obj1
= 0 ;
28157 char *kwnames
[] = {
28158 (char *) "self",(char *) "w", NULL
28161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28164 arg2
= (int)SWIG_As_int(obj1
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28166 if (arg1
) (arg1
)->w
= arg2
;
28168 Py_INCREF(Py_None
); resultobj
= Py_None
;
28175 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
;
28177 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28187 result
= (int) ((arg1
)->w
);
28189 resultobj
= SWIG_From_int((int)result
);
28196 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
;
28198 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28200 PyObject
* obj0
= 0 ;
28201 PyObject
* obj1
= 0 ;
28202 char *kwnames
[] = {
28203 (char *) "self",(char *) "h", NULL
28206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28209 arg2
= (int)SWIG_As_int(obj1
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28211 if (arg1
) (arg1
)->h
= arg2
;
28213 Py_INCREF(Py_None
); resultobj
= Py_None
;
28220 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
;
28222 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28224 PyObject
* obj0
= 0 ;
28225 char *kwnames
[] = {
28226 (char *) "self", NULL
28229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28232 result
= (int) ((arg1
)->h
);
28234 resultobj
= SWIG_From_int((int)result
);
28241 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28242 PyObject
*resultobj
;
28243 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28245 PyObject
* obj0
= 0 ;
28246 PyObject
* obj1
= 0 ;
28247 char *kwnames
[] = {
28248 (char *) "self",(char *) "bpp", NULL
28251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28254 arg2
= (int)SWIG_As_int(obj1
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28256 if (arg1
) (arg1
)->bpp
= arg2
;
28258 Py_INCREF(Py_None
); resultobj
= Py_None
;
28265 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
;
28267 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 char *kwnames
[] = {
28271 (char *) "self", NULL
28274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28277 result
= (int) ((arg1
)->bpp
);
28279 resultobj
= SWIG_From_int((int)result
);
28286 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28290 PyObject
* obj0
= 0 ;
28291 PyObject
* obj1
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "self",(char *) "refresh", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28299 arg2
= (int)SWIG_As_int(obj1
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28301 if (arg1
) (arg1
)->refresh
= arg2
;
28303 Py_INCREF(Py_None
); resultobj
= Py_None
;
28310 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28314 PyObject
* obj0
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "self", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28322 result
= (int) ((arg1
)->refresh
);
28324 resultobj
= SWIG_From_int((int)result
);
28331 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28334 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28336 return Py_BuildValue((char *)"");
28338 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28339 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28344 static PyObject
*_wrap_DefaultVideoMode_get() {
28347 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28352 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
;
28354 size_t arg1
= (size_t) 0 ;
28356 PyObject
* obj0
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "index", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28363 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 result
= (wxDisplay
*)new wxDisplay(arg1
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28380 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
;
28382 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28383 PyObject
* obj0
= 0 ;
28384 char *kwnames
[] = {
28385 (char *) "self", NULL
28388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 wxPyEndAllowThreads(__tstate
);
28396 if (PyErr_Occurred()) SWIG_fail
;
28398 Py_INCREF(Py_None
); resultobj
= Py_None
;
28405 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28408 char *kwnames
[] = {
28412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (size_t)wxDisplay::GetCount();
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28427 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxPoint
*arg1
= 0 ;
28432 PyObject
* obj0
= 0 ;
28433 char *kwnames
[] = {
28434 (char *) "pt", NULL
28437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28440 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28444 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= SWIG_From_int((int)result
);
28456 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
;
28458 wxWindow
*arg1
= (wxWindow
*) 0 ;
28460 PyObject
* obj0
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "window", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (int)Display_GetFromWindow(arg1
);
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= SWIG_From_int((int)result
);
28482 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
;
28484 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28486 PyObject
* obj0
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28510 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
;
28512 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28514 PyObject
* obj0
= 0 ;
28515 char *kwnames
[] = {
28516 (char *) "self", NULL
28519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28530 wxRect
* resultptr
;
28531 resultptr
= new wxRect((wxRect
&) result
);
28532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28540 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28544 PyObject
* obj0
= 0 ;
28545 char *kwnames
[] = {
28546 (char *) "self", NULL
28549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 result
= ((wxDisplay
const *)arg1
)->GetName();
28556 wxPyEndAllowThreads(__tstate
);
28557 if (PyErr_Occurred()) SWIG_fail
;
28561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28572 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28576 PyObject
* obj0
= 0 ;
28577 char *kwnames
[] = {
28578 (char *) "self", NULL
28581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28600 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28601 PyObject
*resultobj
;
28602 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28603 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28604 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28606 PyObject
* obj0
= 0 ;
28607 PyObject
* obj1
= 0 ;
28608 char *kwnames
[] = {
28609 (char *) "self",(char *) "mode", NULL
28612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28619 if (arg2
== NULL
) {
28620 PyErr_SetString(PyExc_TypeError
,"null reference");
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= result
;
28638 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28641 wxVideoMode result
;
28642 PyObject
* obj0
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "self", NULL
28647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28658 wxVideoMode
* resultptr
;
28659 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28668 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28669 PyObject
*resultobj
;
28670 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28671 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28672 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28674 PyObject
* obj0
= 0 ;
28675 PyObject
* obj1
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self",(char *) "mode", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28687 if (arg2
== NULL
) {
28688 PyErr_SetString(PyExc_TypeError
,"null reference");
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28708 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
;
28710 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28711 PyObject
* obj0
= 0 ;
28712 char *kwnames
[] = {
28713 (char *) "self", NULL
28716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 (arg1
)->ResetMode();
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 Py_INCREF(Py_None
); resultobj
= Py_None
;
28733 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28736 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28738 return Py_BuildValue((char *)"");
28740 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxStandardPaths
*result
;
28743 char *kwnames
[] = {
28747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28750 result
= (wxStandardPaths
*)StandardPaths_Get();
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
28762 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
;
28764 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28766 PyObject
* obj0
= 0 ;
28767 char *kwnames
[] = {
28768 (char *) "self", NULL
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
28772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28794 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28798 PyObject
* obj0
= 0 ;
28799 char *kwnames
[] = {
28800 (char *) "self", NULL
28803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
28804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28826 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28830 PyObject
* obj0
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "self", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
28836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28858 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
;
28860 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28862 PyObject
* obj0
= 0 ;
28863 char *kwnames
[] = {
28864 (char *) "self", NULL
28867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
28868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28890 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
;
28892 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28894 PyObject
* obj0
= 0 ;
28895 char *kwnames
[] = {
28896 (char *) "self", NULL
28899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
28900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
28906 wxPyEndAllowThreads(__tstate
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28922 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28923 PyObject
*resultobj
;
28924 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28926 PyObject
* obj0
= 0 ;
28927 char *kwnames
[] = {
28928 (char *) "self", NULL
28931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
28932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28954 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
;
28956 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28958 PyObject
* obj0
= 0 ;
28959 char *kwnames
[] = {
28960 (char *) "self", NULL
28963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
28964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28968 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
28970 wxPyEndAllowThreads(__tstate
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28986 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28987 PyObject
*resultobj
;
28988 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28989 wxString
*arg2
= 0 ;
28990 bool temp2
= false ;
28991 PyObject
* obj0
= 0 ;
28992 PyObject
* obj1
= 0 ;
28993 char *kwnames
[] = {
28994 (char *) "self",(char *) "prefix", NULL
28997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
28998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29001 arg2
= wxString_in_helper(obj1
);
29002 if (arg2
== NULL
) SWIG_fail
;
29006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
29009 wxPyEndAllowThreads(__tstate
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29012 Py_INCREF(Py_None
); resultobj
= Py_None
;
29027 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29028 PyObject
*resultobj
;
29029 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
29031 PyObject
* obj0
= 0 ;
29032 char *kwnames
[] = {
29033 (char *) "self", NULL
29036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
29037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
29038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29059 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
29061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29062 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
29064 return Py_BuildValue((char *)"");
29066 static PyMethodDef SwigMethods
[] = {
29067 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29068 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29069 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29070 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29071 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29072 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29073 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
29074 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29075 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29076 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29077 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29078 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29079 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29080 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
29081 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29082 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29083 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29084 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29085 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29086 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29087 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29088 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29089 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29090 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29091 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29092 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29093 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29094 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29095 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29096 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29097 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29098 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29099 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29100 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29101 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29102 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29103 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29104 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29105 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29106 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29107 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29108 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29109 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29110 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29111 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29112 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29113 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29114 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29115 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29116 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29117 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29118 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29119 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29120 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29121 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29122 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29123 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29124 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29125 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29126 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29127 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29128 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29129 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29133 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29136 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29138 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29139 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29141 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
29145 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
29153 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29159 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29162 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29166 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
29169 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29173 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
29174 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29176 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
29177 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
29180 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
29186 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
29200 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
29206 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
29212 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
29215 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
29229 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
29232 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
29233 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29235 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
29236 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29255 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29257 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
29263 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
29265 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
29267 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
29269 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29272 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
29276 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
29282 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29284 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29287 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29288 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29289 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29290 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29291 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29292 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
29296 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
29300 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
29303 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29315 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29318 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
29320 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29322 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29324 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
29328 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29329 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29331 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29355 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29358 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
29374 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29375 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29377 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29379 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29382 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29383 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29391 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29392 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29393 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29394 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29400 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29401 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
29402 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
29412 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29413 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29414 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29415 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29416 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29417 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29418 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29419 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29420 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29421 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29422 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29423 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
29428 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29429 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29430 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29431 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29432 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29435 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29436 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29437 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29440 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
29444 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29446 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29447 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29448 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29449 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29450 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29451 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
29458 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29459 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29465 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
29467 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29468 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29471 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29472 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29473 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29475 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29476 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29477 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29478 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29479 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29480 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29483 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29485 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29499 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29510 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29513 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29516 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29520 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29523 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29531 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29541 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29565 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29569 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29571 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29573 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29578 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29583 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29590 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29612 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29613 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29614 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29615 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29616 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29617 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29618 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29619 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29620 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29621 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29622 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29633 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29671 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29674 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29676 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29677 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29678 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29679 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29680 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29681 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29682 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29683 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29684 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29685 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29688 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29689 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29690 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29692 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29694 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29696 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29704 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29705 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29709 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29710 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29712 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29720 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29721 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29724 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29725 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29726 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29727 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29728 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29729 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29730 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29731 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29732 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29733 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29734 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29735 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29736 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29737 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29738 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29739 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29740 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29741 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29742 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29743 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29744 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29745 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29746 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29747 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29748 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29749 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29750 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29751 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29752 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29753 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29754 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29755 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29756 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29757 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29758 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29759 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29760 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29761 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29762 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29763 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29764 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29765 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29766 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29767 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29768 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29769 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29770 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29771 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29772 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29773 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29774 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29775 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29776 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29777 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29778 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29779 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29780 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29781 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29782 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29783 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29784 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29785 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29786 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29787 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29788 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29789 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29790 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29791 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29792 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29793 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29794 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29795 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29796 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29797 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29798 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29799 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29800 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29801 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29802 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29803 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29804 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29805 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29806 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29807 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29808 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29809 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29810 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29811 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29812 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29813 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29814 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29815 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29816 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29817 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29818 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29819 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29820 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29821 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29822 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29823 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29824 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29825 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29826 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29827 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29828 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29829 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29830 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29831 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29832 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29833 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29834 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29835 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29836 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29837 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29838 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29839 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29840 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29841 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29842 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29843 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29844 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29845 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29846 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29847 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29848 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29849 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29850 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29851 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29852 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29853 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29854 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29855 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29856 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29857 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29858 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29859 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29860 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29861 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29862 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29863 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29864 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29865 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29866 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29867 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29868 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29869 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29870 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29871 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29872 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29873 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29874 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29875 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
29876 { NULL
, NULL
, 0, NULL
}
29880 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29882 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29883 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29885 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29886 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29888 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29889 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29891 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29892 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29894 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29895 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29897 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29898 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29900 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29901 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29903 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29904 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29906 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29907 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29909 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29910 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29912 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29913 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29915 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29916 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29918 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29919 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29921 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29922 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29924 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29925 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29927 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29928 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29930 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29931 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29933 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29934 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29936 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29937 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29939 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29940 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29942 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29943 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29945 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29946 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29948 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29949 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29951 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29952 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29954 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29955 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29957 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29958 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29960 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29961 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29963 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29964 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29966 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29967 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29969 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29970 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29972 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29973 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29975 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29976 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29978 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29979 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29981 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29982 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29984 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29985 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29987 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29988 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29990 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29991 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29993 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29994 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29996 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29997 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29999 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
30000 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
30002 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
30003 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30005 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
30006 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30008 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
30009 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
30011 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
30012 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30014 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
30015 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
30017 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
30018 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30020 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
30021 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30023 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
30024 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30026 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
30027 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30029 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
30030 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30032 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
30033 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30035 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
30036 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30038 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
30039 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30041 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
30042 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
30044 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
30045 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
30047 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30048 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
30050 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
30051 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
30053 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30054 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
30056 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
30057 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
30059 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30060 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
30062 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
30063 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
30065 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
30066 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
30068 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30069 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30071 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30072 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30074 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30077 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30078 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30080 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
30081 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
30083 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30084 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30086 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30087 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30089 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30090 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30092 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30093 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30095 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
30096 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
30098 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
30099 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
30101 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30102 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30104 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30105 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30107 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30108 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30110 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30113 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30114 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30116 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30117 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30119 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30120 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30122 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30123 return (void *)((wxObject
*) ((wxSizer
*) x
));
30125 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30126 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30128 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
30129 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
30131 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30134 static void *_p_wxEventTo_p_wxObject(void *x
) {
30135 return (void *)((wxObject
*) ((wxEvent
*) x
));
30137 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30138 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30140 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30141 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30143 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30144 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30146 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30147 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30149 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30150 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30152 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30153 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30155 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30156 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30158 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30159 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30161 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30162 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30164 static void *_p_wxControlTo_p_wxObject(void *x
) {
30165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30167 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30168 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30170 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
30171 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
30173 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30174 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30176 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
30177 return (void *)((wxObject
*) ((wxClipboard
*) x
));
30179 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30180 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30182 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30183 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30185 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30186 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30188 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30189 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30191 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
30192 return (void *)((wxObject
*) ((wxToolTip
*) x
));
30194 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30195 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30197 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30198 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30200 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30201 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30203 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30204 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30206 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30207 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30209 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30210 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30212 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30213 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30215 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30216 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30218 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30219 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30221 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30222 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30224 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30225 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30227 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30228 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30230 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30231 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30233 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30234 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30236 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30237 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30239 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30240 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30242 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30243 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30245 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30246 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30248 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30249 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30251 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30252 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30254 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30255 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30257 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30258 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30260 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30261 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30263 static void *_p_wxImageTo_p_wxObject(void *x
) {
30264 return (void *)((wxObject
*) ((wxImage
*) x
));
30266 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30267 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30269 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
30270 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
30272 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
30273 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
30275 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30278 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30279 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30281 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30282 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30284 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30285 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30287 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30288 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30290 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30293 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
30294 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
30296 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30297 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30299 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30300 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30302 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30303 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30305 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30306 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30308 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30309 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30311 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30312 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30314 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30315 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30317 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
30318 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
30320 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30323 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30324 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30326 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30327 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30329 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30330 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30332 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30333 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30335 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
30336 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
30338 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30341 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30344 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30345 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30347 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
30348 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
30350 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
30351 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
30353 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
30354 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
30356 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
30357 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
30359 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
30360 return (void *)((wxLog
*) ((wxLogChain
*) x
));
30362 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
30363 return (void *)((wxLog
*) ((wxLogGui
*) x
));
30365 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
30366 return (void *)((wxLog
*) ((wxPyLog
*) x
));
30368 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30369 return (void *)((wxWindow
*) ((wxControl
*) x
));
30371 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30372 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30374 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30375 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30377 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
30378 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
30380 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
30381 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
30383 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}};
30384 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}};
30385 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}};
30386 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}};
30387 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}};
30388 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}};
30389 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}};
30390 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}};
30391 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}};
30392 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}};
30393 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}};
30394 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}};
30395 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}};
30396 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}};
30397 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}};
30398 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}};
30399 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}};
30400 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}};
30401 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}};
30402 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}};
30403 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}};
30404 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}};
30405 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}};
30406 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}};
30407 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}};
30408 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}};
30409 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}};
30410 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}};
30411 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}};
30412 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}};
30413 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}};
30414 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}};
30415 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}};
30416 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}};
30417 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}};
30418 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}};
30419 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}};
30420 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}};
30421 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}};
30422 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}};
30423 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}};
30424 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}};
30425 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}};
30426 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}};
30427 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}};
30428 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}};
30429 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}};
30430 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}};
30431 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}};
30432 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}};
30433 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}};
30434 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}};
30435 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}};
30436 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}};
30437 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}};
30438 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}};
30439 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}};
30440 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}};
30441 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}};
30442 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}};
30443 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}};
30444 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}};
30445 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}};
30446 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}};
30447 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}};
30448 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}};
30449 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}};
30450 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}};
30451 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}};
30452 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}};
30453 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}};
30454 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}};
30455 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}};
30456 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}};
30457 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}};
30458 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}};
30459 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}};
30460 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}};
30461 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}};
30462 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}};
30463 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}};
30464 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}};
30465 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}};
30466 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}};
30467 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}};
30468 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}};
30470 static swig_type_info
*swig_types_initial
[] = {
30471 _swigt__p_wxLogChain
,
30472 _swigt__p_wxMutexGuiLocker
,
30473 _swigt__p_wxFileHistory
,
30475 _swigt__p_wxDateTime__TimeZone
,
30478 _swigt__p_wxConfigBase
,
30479 _swigt__p_wxDisplay
,
30480 _swigt__p_wxFileType
,
30481 _swigt__p_wxLogGui
,
30483 _swigt__p_wxDataFormat
,
30484 _swigt__p_wxTimerEvent
,
30488 _swigt__p_wxClipboard
,
30489 _swigt__p_wxStopWatch
,
30491 _swigt__p_wxClipboardLocker
,
30493 _swigt__p_wxLogStderr
,
30494 _swigt__p_wxLogTextCtrl
,
30495 _swigt__p_wxTextCtrl
,
30496 _swigt__p_wxBusyCursor
,
30497 _swigt__p_wxPyBitmapDataObject
,
30498 _swigt__p_wxPyTextDataObject
,
30499 _swigt__p_wxBitmapDataObject
,
30500 _swigt__p_wxTextDataObject
,
30501 _swigt__p_wxDataObject
,
30502 _swigt__p_wxFileDataObject
,
30503 _swigt__p_wxCustomDataObject
,
30504 _swigt__p_wxURLDataObject
,
30505 _swigt__p_wxMetafileDataObject
,
30507 _swigt__p_wxTimerRunner
,
30508 _swigt__p_wxLogWindow
,
30509 _swigt__p_wxTimeSpan
,
30510 _swigt__p_wxArrayString
,
30511 _swigt__p_wxWindowDisabler
,
30512 _swigt__p_wxToolTip
,
30513 _swigt__p_wxDataObjectComposite
,
30514 _swigt__p_wxFileConfig
,
30515 _swigt__p_wxSystemSettings
,
30516 _swigt__p_wxVideoMode
,
30517 _swigt__p_wxPyDataObjectSimple
,
30518 _swigt__p_wxDataObjectSimple
,
30519 _swigt__p_wxEvtHandler
,
30522 _swigt__p_wxSingleInstanceChecker
,
30523 _swigt__p_wxStandardPaths
,
30524 _swigt__p_wxFileTypeInfo
,
30527 _swigt__p_wxMimeTypesManager
,
30528 _swigt__p_wxPyArtProvider
,
30529 _swigt__p_wxPyTipProvider
,
30530 _swigt__p_wxTipProvider
,
30531 _swigt__p_wxJoystick
,
30532 _swigt__p_wxSystemOptions
,
30534 _swigt__p_wxJoystickEvent
,
30535 _swigt__p_wxCursor
,
30536 _swigt__p_wxObject
,
30537 _swigt__p_wxOutputStream
,
30538 _swigt__p_wxDateTime
,
30539 _swigt__p_wxPyDropSource
,
30540 _swigt__p_wxWindow
,
30541 _swigt__p_wxString
,
30542 _swigt__p_wxPyProcess
,
30543 _swigt__p_wxBitmap
,
30544 _swigt__p_wxConfig
,
30546 _swigt__p_wxBusyInfo
,
30547 _swigt__p_wxPyDropTarget
,
30548 _swigt__p_wxPyTextDropTarget
,
30549 _swigt__p_wxPyFileDropTarget
,
30550 _swigt__p_wxProcessEvent
,
30552 _swigt__p_wxLogNull
,
30553 _swigt__p_wxColour
,
30554 _swigt__p_wxConfigPathChanger
,
30555 _swigt__p_wxPyTimer
,
30556 _swigt__p_wxDateSpan
,
30561 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30563 static swig_const_info swig_const_table
[] = {
30564 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30565 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30566 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30567 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30568 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30569 {0, 0, 0, 0.0, 0, 0}};
30578 SWIGEXPORT(void) SWIG_init(void) {
30579 static PyObject
*SWIG_globals
= 0;
30580 static int typeinit
= 0;
30583 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30584 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30585 d
= PyModule_GetDict(m
);
30588 for (i
= 0; swig_types_initial
[i
]; i
++) {
30589 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30593 SWIG_InstallConstants(d
,swig_const_table
);
30595 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30596 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30597 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30598 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30599 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30600 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30601 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30602 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30603 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30604 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30605 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30606 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30607 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30608 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30609 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30610 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30611 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30612 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30613 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30614 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30615 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30616 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30617 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30618 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30619 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30620 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30621 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30622 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30623 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30624 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30625 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30626 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30627 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30628 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30629 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30630 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30631 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30632 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30633 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30634 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30635 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30636 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30637 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30638 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30639 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30640 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30641 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30642 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30643 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30644 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30645 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30646 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30647 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30648 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30649 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30650 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30651 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30652 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30653 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30654 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30655 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30656 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30657 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30658 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30659 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30660 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30661 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30662 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30663 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30664 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30665 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30666 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30667 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30668 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30669 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30670 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30671 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30672 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30673 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30674 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30675 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30676 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30677 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30678 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30679 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30680 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30681 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30682 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30683 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30684 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30685 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30686 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30687 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30688 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30689 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30690 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30691 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30692 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30693 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30694 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30695 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30697 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30699 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30700 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30701 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30702 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30703 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30704 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30705 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30706 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30707 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30708 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30709 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30710 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30711 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30712 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30713 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30714 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30715 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30716 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30717 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30718 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30719 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30720 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30721 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30722 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30723 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30724 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30725 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30726 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30727 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30728 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30729 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30730 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30731 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30732 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30733 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30734 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30735 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30736 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30737 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30738 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30739 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30740 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30741 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30742 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30743 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30744 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30745 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30746 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30747 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30748 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30750 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30752 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30753 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30754 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30755 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30756 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30757 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30758 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30759 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30760 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30761 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30762 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30763 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30764 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30765 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30766 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30767 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30768 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30769 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30770 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30771 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30788 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30789 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30790 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30791 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30792 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30793 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30794 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30795 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30796 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30797 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30798 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30799 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30800 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get
, _wrap_ART_HARDDISK_set
);
30801 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get
, _wrap_ART_FLOPPY_set
);
30802 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CDROM",_wrap_ART_CDROM_get
, _wrap_ART_CDROM_set
);
30803 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get
, _wrap_ART_REMOVABLE_set
);
30804 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30805 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get
, _wrap_ART_FOLDER_OPEN_set
);
30806 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30807 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30808 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30809 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30810 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30811 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30812 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30813 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30814 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30815 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30817 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30819 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30820 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30821 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30822 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30823 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30824 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30825 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30826 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30827 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30828 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30829 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30830 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30831 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30832 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30833 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30834 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30835 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30836 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30837 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30838 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30839 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30840 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30841 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30842 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30843 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30844 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30845 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30846 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30847 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30848 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30849 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30850 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30851 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30852 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30853 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30854 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30855 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30856 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30857 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30858 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30859 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30860 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30861 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30862 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30863 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30864 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30865 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30866 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30867 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30868 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30869 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30870 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30871 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30872 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30873 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30874 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30875 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30876 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30877 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30878 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30879 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30880 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30881 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30882 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30883 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30884 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30885 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30886 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30887 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30888 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30889 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30890 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30891 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30892 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30893 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30894 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30895 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30896 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30897 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30898 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30899 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30900 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30901 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30902 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30903 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30904 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30905 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30906 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30907 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30908 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30909 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30910 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30911 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30912 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30913 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30914 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30915 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30916 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30917 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30918 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30919 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30920 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30921 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30922 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30923 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30924 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30925 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30926 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30927 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30928 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30929 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30930 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30931 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
30932 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
30933 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
30934 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
30935 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
30936 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
30937 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
30938 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
30939 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
30940 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
30941 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
30942 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
30943 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
30944 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
30945 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
30946 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
30947 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
30948 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
30949 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
30950 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
30951 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
30952 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
30953 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
30954 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
30955 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
30956 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
30957 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
30958 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
30959 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
30960 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
30961 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
30962 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
30963 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
30964 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
30965 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
30966 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
30967 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
30968 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
30969 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
30970 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
30971 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
30972 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
30973 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
30974 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
30975 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
30976 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
30977 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
30978 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
30979 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
30980 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
30981 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
30982 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
30983 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
30984 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
30985 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30986 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
30987 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
30988 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
30989 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
30990 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
30991 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
30992 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
30993 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
30994 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
30995 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
30996 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
30997 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
30998 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
30999 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
31000 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
31001 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
31002 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
31003 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
31004 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
31005 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
31006 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
31007 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
31008 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
31009 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
31010 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
31011 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
31012 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
31013 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
31014 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
31015 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
31016 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
31017 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
31018 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
31020 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
31021 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
31022 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
31023 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
31025 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);