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
; }
867 // A wxLog class that can be derived from in wxPython
868 class wxPyLog
: public wxLog
{
870 wxPyLog() : wxLog() {}
872 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
874 bool blocked
= wxPyBeginBlockThreads();
875 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
876 PyObject
* s
= wx2PyString(szString
);
877 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
880 wxPyEndBlockThreads(blocked
);
882 wxLog::DoLog(level
, szString
, t
);
885 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
887 bool blocked
= wxPyBeginBlockThreads();
888 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
889 PyObject
* s
= wx2PyString(szString
);
890 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
893 wxPyEndBlockThreads(blocked
);
895 wxLog::DoLogString(szString
, t
);
904 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
907 #include <wx/joystick.h>
910 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
911 // A C++ stub class for wxJoystick for platforms that don't have it.
912 class wxJoystick
: public wxObject
{
914 wxJoystick(int joystick
= wxJOYSTICK1
) {
915 bool blocked
= wxPyBeginBlockThreads();
916 PyErr_SetString(PyExc_NotImplementedError
,
917 "wxJoystick is not available on this platform.");
918 wxPyEndBlockThreads(blocked
);
920 wxPoint
GetPosition() { return wxPoint(-1,-1); }
921 int GetZPosition() { return -1; }
922 int GetButtonState() { return -1; }
923 int GetPOVPosition() { return -1; }
924 int GetPOVCTSPosition() { return -1; }
925 int GetRudderPosition() { return -1; }
926 int GetUPosition() { return -1; }
927 int GetVPosition() { return -1; }
928 int GetMovementThreshold() { return -1; }
929 void SetMovementThreshold(int threshold
) {}
931 bool IsOk(void) { return false; }
932 int GetNumberJoysticks() { return -1; }
933 int GetManufacturerId() { return -1; }
934 int GetProductId() { return -1; }
935 wxString
GetProductName() { return wxEmptyString
; }
936 int GetXMin() { return -1; }
937 int GetYMin() { return -1; }
938 int GetZMin() { return -1; }
939 int GetXMax() { return -1; }
940 int GetYMax() { return -1; }
941 int GetZMax() { return -1; }
942 int GetNumberButtons() { return -1; }
943 int GetNumberAxes() { return -1; }
944 int GetMaxButtons() { return -1; }
945 int GetMaxAxes() { return -1; }
946 int GetPollingMin() { return -1; }
947 int GetPollingMax() { return -1; }
948 int GetRudderMin() { return -1; }
949 int GetRudderMax() { return -1; }
950 int GetUMin() { return -1; }
951 int GetUMax() { return -1; }
952 int GetVMin() { return -1; }
953 int GetVMax() { return -1; }
955 bool HasRudder() { return false; }
956 bool HasZ() { return false; }
957 bool HasU() { return false; }
958 bool HasV() { return false; }
959 bool HasPOV() { return false; }
960 bool HasPOV4Dir() { return false; }
961 bool HasPOVCTS() { return false; }
963 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
964 bool ReleaseCapture() { return false; }
969 #include <wx/sound.h>
973 // A C++ stub class for wxWave for platforms that don't have it.
974 class wxSound
: public wxObject
978 bool blocked
= wxPyBeginBlockThreads();
979 PyErr_SetString(PyExc_NotImplementedError
,
980 "wxSound is not available on this platform.");
981 wxPyEndBlockThreads(blocked
);
983 wxSound(const wxString
&/*, bool*/) {
984 bool blocked
= wxPyBeginBlockThreads();
985 PyErr_SetString(PyExc_NotImplementedError
,
986 "wxSound is not available on this platform.");
987 wxPyEndBlockThreads(blocked
);
989 wxSound(int, const wxByte
*) {
990 bool blocked
= wxPyBeginBlockThreads();
991 PyErr_SetString(PyExc_NotImplementedError
,
992 "wxSound is not available on this platform.");
993 wxPyEndBlockThreads(blocked
);
998 bool Create(const wxString
&/*, bool*/) { return false; }
999 bool Create(int, const wxByte
*) { return false; };
1000 bool IsOk() { return false; };
1001 bool Play(unsigned) const { return false; }
1002 static bool Play(const wxString
&, unsigned) { return false; }
1003 static void Stop() {}
1008 wxSound
*new_wxSound(wxString
const &fileName
){
1009 if (fileName
.Length() == 0)
1012 return new wxSound(fileName
);
1014 wxSound
*new_wxSound(PyObject
*data
){
1015 unsigned char* buffer
; int size
;
1016 wxSound
*sound
= NULL
;
1018 bool blocked
= wxPyBeginBlockThreads();
1019 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1021 sound
= new wxSound(size
, buffer
);
1023 wxPyEndBlockThreads(blocked
);
1026 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1028 unsigned char* buffer
;
1032 bool blocked
= wxPyBeginBlockThreads();
1033 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1035 rv
= self
->Create(size
, buffer
);
1037 wxPyEndBlockThreads(blocked
);
1040 bool blocked
= wxPyBeginBlockThreads();
1041 PyErr_SetString(PyExc_NotImplementedError
,
1042 "Create from data is not available on this platform.");
1043 wxPyEndBlockThreads(blocked
);
1048 #include <wx/mimetype.h>
1050 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1052 if (self
->GetMimeType(&str
))
1053 return wx2PyString(str
);
1057 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1059 if (self
->GetMimeTypes(arr
))
1060 return wxArrayString2PyList_helper(arr
);
1064 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1066 if (self
->GetExtensions(arr
))
1067 return wxArrayString2PyList_helper(arr
);
1071 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1073 if (self
->GetIcon(&loc
))
1074 return new wxIcon(loc
);
1078 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1080 if (self
->GetIcon(&loc
)) {
1081 wxString iconFile
= loc
.GetFileName();
1086 // Make a tuple and put the values in it
1087 bool blocked
= wxPyBeginBlockThreads();
1088 PyObject
* tuple
= PyTuple_New(3);
1089 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1090 wxT("wxIcon"), true));
1091 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1092 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1093 wxPyEndBlockThreads(blocked
);
1099 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1101 if (self
->GetDescription(&str
))
1102 return wx2PyString(str
);
1106 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1108 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1109 return wx2PyString(str
);
1113 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1115 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1116 return wx2PyString(str
);
1120 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1121 wxArrayString verbs
;
1122 wxArrayString commands
;
1123 if (self
->GetAllCommands(&verbs
, &commands
,
1124 wxFileType::MessageParameters(filename
, mimetype
))) {
1125 bool blocked
= wxPyBeginBlockThreads();
1126 PyObject
* tuple
= PyTuple_New(2);
1127 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1128 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1129 wxPyEndBlockThreads(blocked
);
1135 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1136 return wxFileType::ExpandCommand(command
,
1137 wxFileType::MessageParameters(filename
, mimetype
));
1139 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1141 self
->EnumAllFileTypes(arr
);
1142 return wxArrayString2PyList_helper(arr
);
1145 #include <wx/artprov.h>
1147 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1148 static const wxString
wxPyART_MENU(wxART_MENU
);
1149 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1150 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1151 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1152 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1153 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1154 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1155 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1156 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1157 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1158 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1159 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1160 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1161 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1162 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1163 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1164 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1165 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1166 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1167 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1168 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1169 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1170 static const wxString
wxPyART_HELP(wxART_HELP
);
1171 static const wxString
wxPyART_TIP(wxART_TIP
);
1172 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1173 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1174 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1175 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1176 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1177 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1178 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1179 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1180 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1181 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1182 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1183 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1184 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1185 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1186 // Python aware wxArtProvider
1187 class wxPyArtProvider
: public wxArtProvider
{
1190 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1191 const wxArtClient
& client
,
1192 const wxSize
& size
) {
1193 wxBitmap rval
= wxNullBitmap
;
1194 bool blocked
= wxPyBeginBlockThreads();
1195 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1196 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1200 s1
= wx2PyString(id
);
1201 s2
= wx2PyString(client
);
1202 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1207 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1212 wxPyEndBlockThreads(blocked
);
1219 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1223 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1224 PyObject
* ret
= PyTuple_New(3);
1226 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1227 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1228 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1233 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1238 cont
= self
->GetFirstGroup(value
, index
);
1239 return __EnumerationHelper(cont
, value
, index
);
1241 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1245 cont
= self
->GetNextGroup(value
, index
);
1246 return __EnumerationHelper(cont
, value
, index
);
1248 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1253 cont
= self
->GetFirstEntry(value
, index
);
1254 return __EnumerationHelper(cont
, value
, index
);
1256 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1260 cont
= self
->GetNextEntry(value
, index
);
1261 return __EnumerationHelper(cont
, value
, index
);
1263 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1265 self
->Read(key
, &rv
, defaultVal
);
1269 // See my_fragments.i
1270 SWIGSTATICINLINE(int)
1271 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1273 if (PyNumber_Check(obj
)) {
1274 if (val
) *val
= PyFloat_AsDouble(obj
);
1278 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1279 obj
->ob_type
->tp_name
);
1280 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1287 SWIGSTATICINLINE(double)
1288 SWIG_As_double(PyObject
* obj
)
1291 if (!SWIG_AsVal_double(obj
, &v
)) {
1293 this is needed to make valgrind/purify happier. the other
1294 solution is throw an exception, but since this code should work
1297 memset((void*)&v
, 0, sizeof(double));
1303 SWIGSTATICINLINE(int)
1304 SWIG_Check_double(PyObject
* obj
)
1306 return SWIG_AsVal_double(obj
, (double*)0);
1309 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1311 self
->Read(key
, &rv
, defaultVal
);
1314 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1316 self
->Read(key
, &rv
, defaultVal
);
1320 #include <wx/datetime.h>
1323 static const wxString
wxPyDateFormatStr(wxT("%c"));
1324 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1326 #define LOCAL_TZ wxDateTime::Local
1329 #if UINT_MAX < LONG_MAX
1330 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1331 #define SWIG_From_unsigned_SS_int SWIG_From_long
1334 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1335 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1339 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1340 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1341 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1342 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1343 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1344 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1345 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1346 return (*self
< *other
);
1348 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1349 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1350 return (*self
<= *other
);
1352 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1353 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1354 return (*self
> *other
);
1356 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1357 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1358 return (*self
>= *other
);
1360 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1361 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1362 return (*self
== *other
);
1364 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1365 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1366 return (*self
!= *other
);
1368 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1370 const wxChar
* _date
= date
;
1371 rv
= self
->ParseRfc822Date(_date
);
1372 if (rv
== NULL
) return -1;
1375 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1377 const wxChar
* _date
= date
;
1378 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1379 if (rv
== NULL
) return -1;
1382 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1384 const wxChar
* _datetime
= datetime
;
1385 rv
= self
->ParseDateTime(_datetime
);
1386 if (rv
== NULL
) return -1;
1387 return rv
- _datetime
;
1389 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1391 const wxChar
* _date
= date
;
1392 rv
= self
->ParseDate(_date
);
1393 if (rv
== NULL
) return -1;
1396 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1398 const wxChar
* _time
= time
;
1399 rv
= self
->ParseTime(_time
);
1400 if (rv
== NULL
) return -1;
1403 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1404 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1405 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1406 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1407 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1408 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1409 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1410 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1411 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1412 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1413 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1414 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1415 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1416 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1417 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1418 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1420 #include <wx/dataobj.h>
1422 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1423 size_t count
= self
->GetFormatCount(dir
);
1424 wxDataFormat
* formats
= new wxDataFormat
[count
];
1425 self
->GetAllFormats(formats
, dir
);
1427 bool blocked
= wxPyBeginBlockThreads();
1428 PyObject
* list
= PyList_New(count
);
1429 for (size_t i
=0; i
<count
; i
++) {
1430 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1431 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1432 PyList_Append(list
, obj
);
1435 wxPyEndBlockThreads(blocked
);
1439 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1440 PyObject
* rval
= NULL
;
1441 size_t size
= self
->GetDataSize(format
);
1442 bool blocked
= wxPyBeginBlockThreads();
1444 char* buf
= new char[size
];
1445 if (self
->GetDataHere(format
, buf
))
1446 rval
= PyString_FromStringAndSize(buf
, size
);
1453 wxPyEndBlockThreads(blocked
);
1456 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1458 bool blocked
= wxPyBeginBlockThreads();
1459 if (PyString_Check(data
)) {
1460 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1463 // raise a TypeError if not a string
1464 PyErr_SetString(PyExc_TypeError
, "String expected.");
1467 wxPyEndBlockThreads(blocked
);
1470 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1471 PyObject
* rval
= NULL
;
1472 size_t size
= self
->GetDataSize();
1473 bool blocked
= wxPyBeginBlockThreads();
1475 char* buf
= new char[size
];
1476 if (self
->GetDataHere(buf
))
1477 rval
= PyString_FromStringAndSize(buf
, size
);
1484 wxPyEndBlockThreads(blocked
);
1487 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1489 bool blocked
= wxPyBeginBlockThreads();
1490 if (PyString_Check(data
)) {
1491 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1494 // raise a TypeError if not a string
1495 PyErr_SetString(PyExc_TypeError
, "String expected.");
1498 wxPyEndBlockThreads(blocked
);
1501 // Create a new class for wxPython to use
1502 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1504 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1505 : wxDataObjectSimple(format
) {}
1507 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1508 bool GetDataHere(void *buf
) const;
1509 bool SetData(size_t len
, const void *buf
) const;
1513 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1515 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1516 // We need to get the data for this object and write it to buf. I think
1517 // the best way to do this for wxPython is to have the Python method
1518 // return either a string or None and then act appropriately with the
1522 bool blocked
= wxPyBeginBlockThreads();
1523 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1525 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1527 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1529 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1533 wxPyEndBlockThreads(blocked
);
1537 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1538 // For this one we simply need to make a string from buf and len
1539 // and send it to the Python method.
1541 bool blocked
= wxPyBeginBlockThreads();
1542 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1543 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1544 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1547 wxPyEndBlockThreads(blocked
);
1551 // Create a new class for wxPython to use
1552 class wxPyTextDataObject
: public wxTextDataObject
{
1554 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1555 : wxTextDataObject(text
) {}
1557 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1558 DEC_PYCALLBACK_STRING__const(GetText
);
1559 DEC_PYCALLBACK__STRING(SetText
);
1563 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1564 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1565 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1568 // Create a new class for wxPython to use
1569 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1571 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1572 : wxBitmapDataObject(bitmap
) {}
1574 wxBitmap
GetBitmap() const;
1575 void SetBitmap(const wxBitmap
& bitmap
);
1579 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1580 wxBitmap
* rval
= &wxNullBitmap
;
1581 bool blocked
= wxPyBeginBlockThreads();
1582 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1585 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1587 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1592 wxPyEndBlockThreads(blocked
);
1596 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1597 bool blocked
= wxPyBeginBlockThreads();
1598 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1599 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1600 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1603 wxPyEndBlockThreads(blocked
);
1606 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1608 bool blocked
= wxPyBeginBlockThreads();
1609 if (PyString_Check(data
)) {
1610 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1613 // raise a TypeError if not a string
1614 PyErr_SetString(PyExc_TypeError
, "String expected.");
1617 wxPyEndBlockThreads(blocked
);
1620 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1622 bool blocked
= wxPyBeginBlockThreads();
1623 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1624 wxPyEndBlockThreads(blocked
);
1628 class wxMetafileDataObject
: public wxDataObjectSimple
1631 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1635 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1638 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1639 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1640 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1641 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1642 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1645 class wxPyTextDropTarget
: public wxTextDropTarget
{
1647 wxPyTextDropTarget() {}
1649 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1651 DEC_PYCALLBACK__(OnLeave
);
1652 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1653 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1654 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1655 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1660 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1661 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1662 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1663 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1664 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1665 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1669 class wxPyFileDropTarget
: public wxFileDropTarget
{
1671 wxPyFileDropTarget() {}
1673 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1675 DEC_PYCALLBACK__(OnLeave
);
1676 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1677 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1678 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1679 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1684 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1685 const wxArrayString
& filenames
) {
1687 bool blocked
= wxPyBeginBlockThreads();
1688 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1689 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1690 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1693 wxPyEndBlockThreads(blocked
);
1699 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1700 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1701 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1702 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1703 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1708 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1710 #include <wx/display.h>
1712 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1713 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1715 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1717 #include <wx/dynarray.h>
1718 #include <wx/vidmode.h>
1720 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1721 #include "wx/arrimpl.cpp"
1722 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1723 const wxVideoMode wxDefaultVideoMode
;
1728 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1731 static size_t GetCount()
1732 { wxPyRaiseNotImplemented(); return 0; }
1734 static int GetFromPoint(const wxPoint
& pt
)
1735 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1736 static int GetFromWindow(wxWindow
*window
)
1737 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1739 virtual bool IsOk() const { return false; }
1740 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1741 virtual wxString
GetName() const { return wxEmptyString
; }
1742 bool IsPrimary() const { return false; }
1744 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1745 { wxArrayVideoModes a
; return a
; }
1747 virtual wxVideoMode
GetCurrentMode() const
1748 { return wxDefaultVideoMode
; }
1750 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1757 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1758 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1759 PyObject
* pyList
= NULL
;
1760 wxArrayVideoModes arr
= self
->GetModes(mode
);
1761 bool blocked
= wxPyBeginBlockThreads();
1762 pyList
= PyList_New(0);
1763 for (int i
=0; i
< arr
.GetCount(); i
++) {
1764 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1765 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1766 PyList_Append(pyList
, pyObj
);
1769 wxPyEndBlockThreads(blocked
);
1773 #include <wx/stdpaths.h>
1778 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
*resultobj
;
1782 PyObject
* obj0
= 0 ;
1784 (char *) "index", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1788 arg1
= (int)SWIG_As_int(obj0
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 if (!wxPyCheckForApp()) SWIG_fail
;
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1799 wxColour
* resultptr
;
1800 resultptr
= new wxColour((wxColour
&) result
);
1801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1809 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
*resultobj
;
1813 PyObject
* obj0
= 0 ;
1815 (char *) "index", NULL
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1819 arg1
= (int)SWIG_As_int(obj0
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1822 if (!wxPyCheckForApp()) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1831 resultptr
= new wxFont((wxFont
&) result
);
1832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1840 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "index", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1850 arg1
= (int)SWIG_As_int(obj0
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1853 if (!wxPyCheckForApp()) SWIG_fail
;
1854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1857 wxPyEndAllowThreads(__tstate
);
1858 if (PyErr_Occurred()) SWIG_fail
;
1860 resultobj
= SWIG_From_int((int)result
);
1867 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1871 PyObject
* obj0
= 0 ;
1873 (char *) "index", NULL
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1877 arg1
= (int)SWIG_As_int(obj0
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 if (!wxPyCheckForApp()) SWIG_fail
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1896 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
*resultobj
;
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1905 if (!wxPyCheckForApp()) SWIG_fail
;
1906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1907 result
= (int)wxSystemSettings::GetScreenType();
1909 wxPyEndAllowThreads(__tstate
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1912 resultobj
= SWIG_From_int((int)result
);
1919 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1922 PyObject
* obj0
= 0 ;
1924 (char *) "screen", NULL
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1928 arg1
= (int)SWIG_As_int(obj0
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 if (!wxPyCheckForApp()) SWIG_fail
;
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1938 Py_INCREF(Py_None
); resultobj
= Py_None
;
1945 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1948 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1950 return Py_BuildValue((char *)"");
1952 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
1953 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
1958 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
1963 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1965 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1972 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxSystemOptions
*result
;
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 result
= (wxSystemOptions
*)new wxSystemOptions();
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1994 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxString
*arg1
= 0 ;
1997 wxString
*arg2
= 0 ;
1998 bool temp1
= false ;
1999 bool temp2
= false ;
2000 PyObject
* obj0
= 0 ;
2001 PyObject
* obj1
= 0 ;
2003 (char *) "name",(char *) "value", NULL
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2008 arg1
= wxString_in_helper(obj0
);
2009 if (arg1
== NULL
) SWIG_fail
;
2013 arg2
= wxString_in_helper(obj1
);
2014 if (arg2
== NULL
) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 Py_INCREF(Py_None
); resultobj
= Py_None
;
2047 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
*resultobj
;
2049 wxString
*arg1
= 0 ;
2051 bool temp1
= false ;
2052 PyObject
* obj0
= 0 ;
2053 PyObject
* obj1
= 0 ;
2055 (char *) "name",(char *) "value", NULL
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2060 arg1
= wxString_in_helper(obj0
);
2061 if (arg1
== NULL
) SWIG_fail
;
2064 arg2
= (int)SWIG_As_int(obj1
);
2065 if (PyErr_Occurred()) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 Py_INCREF(Py_None
); resultobj
= Py_None
;
2088 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
*resultobj
;
2090 wxString
*arg1
= 0 ;
2092 bool temp1
= false ;
2093 PyObject
* obj0
= 0 ;
2095 (char *) "name", NULL
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2100 arg1
= wxString_in_helper(obj0
);
2101 if (arg1
== NULL
) SWIG_fail
;
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2132 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxString
*arg1
= 0 ;
2136 bool temp1
= false ;
2137 PyObject
* obj0
= 0 ;
2139 (char *) "name", NULL
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2144 arg1
= wxString_in_helper(obj0
);
2145 if (arg1
== NULL
) SWIG_fail
;
2149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2150 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2152 wxPyEndAllowThreads(__tstate
);
2153 if (PyErr_Occurred()) SWIG_fail
;
2155 resultobj
= SWIG_From_int((int)result
);
2170 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 wxString
*arg1
= 0 ;
2174 bool temp1
= false ;
2175 PyObject
* obj0
= 0 ;
2177 (char *) "name", NULL
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2182 arg1
= wxString_in_helper(obj0
);
2183 if (arg1
== NULL
) SWIG_fail
;
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2210 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2213 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2215 return Py_BuildValue((char *)"");
2217 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2218 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2223 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2228 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2230 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2237 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2238 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2243 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2248 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2250 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2257 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2258 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2263 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2268 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2270 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2277 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
*resultobj
;
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 result
= (long)wxNewId();
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 resultobj
= SWIG_From_long((long)result
);
2299 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2302 PyObject
* obj0
= 0 ;
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2308 arg1
= (long)SWIG_As_long(obj0
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 Py_INCREF(Py_None
); resultobj
= Py_None
;
2324 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (long)wxGetCurrentId();
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2339 resultobj
= SWIG_From_long((long)result
);
2346 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2350 PyObject
* obj0
= 0 ;
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2356 arg1
= (int)SWIG_As_int(obj0
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 result
= (bool)wxIsStockID(arg1
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) SWIG_fail
;
2366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2374 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2377 wxString
*arg2
= 0 ;
2379 bool temp2
= false ;
2380 PyObject
* obj0
= 0 ;
2381 PyObject
* obj1
= 0 ;
2383 (char *) "id",(char *) "label", NULL
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2387 arg1
= (int)SWIG_As_int(obj0
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2390 arg2
= wxString_in_helper(obj1
);
2391 if (arg2
== NULL
) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2418 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2422 PyObject
* obj0
= 0 ;
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2428 arg1
= (int)SWIG_As_int(obj0
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 result
= wxGetStockLabel(arg1
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2450 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2458 if (!wxPyCheckForApp()) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2465 Py_INCREF(Py_None
); resultobj
= Py_None
;
2472 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2480 if (!wxPyCheckForApp()) SWIG_fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2487 Py_INCREF(Py_None
); resultobj
= Py_None
;
2494 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
*resultobj
;
2496 bool arg1
= (bool) true ;
2498 PyObject
* obj0
= 0 ;
2500 (char *) "resetTimer", NULL
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2505 arg1
= (bool)SWIG_As_bool(obj0
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 result
= (long)wxGetElapsedTime(arg1
);
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2515 resultobj
= SWIG_From_long((long)result
);
2522 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2524 int *arg1
= (int *) 0 ;
2525 int *arg2
= (int *) 0 ;
2534 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2535 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2538 if (!wxPyCheckForApp()) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 wxGetMousePosition(arg1
,arg2
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2546 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2547 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2548 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2549 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2556 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 result
= (bool)wxIsBusy();
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2580 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2608 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2611 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2613 bool temp1
= false ;
2614 PyObject
* obj0
= 0 ;
2616 (char *) "command", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2622 arg1
= wxString_in_helper(obj0
);
2623 if (arg1
== NULL
) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= (bool)wxShell((wxString
const &)*arg1
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2651 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 Py_INCREF(Py_None
); resultobj
= Py_None
;
2672 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2674 int *arg1
= (int *) 0 ;
2675 int *arg2
= (int *) 0 ;
2685 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2686 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 result
= (int)wxGetOsVersion(arg1
,arg2
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 resultobj
= SWIG_From_int((int)result
);
2696 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2697 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2698 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2699 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2706 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 result
= wxGetOsDescription();
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2734 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2744 result
= (long)wxGetFreeMemory();
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2749 resultobj
= SWIG_From_long((long)result
);
2756 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2760 PyObject
* obj0
= 0 ;
2762 (char *) "wFlags", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2766 arg1
= (int)SWIG_As_int(obj0
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2769 if (!wxPyCheckForApp()) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2785 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
*resultobj
;
2788 PyObject
* obj0
= 0 ;
2790 (char *) "secs", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2794 arg1
= (int)SWIG_As_int(obj0
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2803 Py_INCREF(Py_None
); resultobj
= Py_None
;
2810 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
*resultobj
;
2812 unsigned long arg1
;
2813 PyObject
* obj0
= 0 ;
2815 (char *) "milliseconds", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2819 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2828 Py_INCREF(Py_None
); resultobj
= Py_None
;
2835 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2837 unsigned long arg1
;
2838 PyObject
* obj0
= 0 ;
2840 (char *) "microseconds", NULL
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2844 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2853 Py_INCREF(Py_None
); resultobj
= Py_None
;
2860 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2863 PyObject
* obj0
= 0 ;
2865 (char *) "enable", NULL
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2869 arg1
= (bool)SWIG_As_bool(obj0
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 wxEnableTopLevelWindows(arg1
);
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2878 Py_INCREF(Py_None
); resultobj
= Py_None
;
2885 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
*resultobj
;
2887 wxString
*arg1
= 0 ;
2889 bool temp1
= false ;
2890 PyObject
* obj0
= 0 ;
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2897 arg1
= wxString_in_helper(obj0
);
2898 if (arg1
== NULL
) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2929 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
;
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= wxGetEmailAddress();
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2957 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 result
= wxGetHostName();
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2985 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
;
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= wxGetFullHostName();
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3013 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 result
= wxGetUserId();
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3041 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
*resultobj
;
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 result
= wxGetUserName();
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3069 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= wxGetHomeDir();
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3097 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3100 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3102 bool temp1
= false ;
3103 PyObject
* obj0
= 0 ;
3105 (char *) "user", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3111 arg1
= wxString_in_helper(obj0
);
3112 if (arg1
== NULL
) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 result
= wxGetUserHome((wxString
const &)*arg1
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3144 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 unsigned long result
;
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 result
= (unsigned long)wxGetProcessId();
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3159 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3166 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3180 Py_INCREF(Py_None
); resultobj
= Py_None
;
3187 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
*resultobj
;
3189 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3190 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3191 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3192 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3193 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3195 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3196 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3197 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3198 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3199 int arg6
= (int) 0 ;
3200 wxWindow
*arg7
= (wxWindow
*) NULL
;
3201 int arg8
= (int) -1 ;
3202 int arg9
= (int) -1 ;
3204 bool temp1
= false ;
3205 bool temp2
= false ;
3206 bool temp3
= false ;
3207 bool temp4
= false ;
3208 bool temp5
= false ;
3209 PyObject
* obj0
= 0 ;
3210 PyObject
* obj1
= 0 ;
3211 PyObject
* obj2
= 0 ;
3212 PyObject
* obj3
= 0 ;
3213 PyObject
* obj4
= 0 ;
3214 PyObject
* obj5
= 0 ;
3215 PyObject
* obj6
= 0 ;
3216 PyObject
* obj7
= 0 ;
3217 PyObject
* obj8
= 0 ;
3219 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3225 arg1
= wxString_in_helper(obj0
);
3226 if (arg1
== NULL
) SWIG_fail
;
3232 arg2
= wxString_in_helper(obj1
);
3233 if (arg2
== NULL
) SWIG_fail
;
3239 arg3
= wxString_in_helper(obj2
);
3240 if (arg3
== NULL
) SWIG_fail
;
3246 arg4
= wxString_in_helper(obj3
);
3247 if (arg4
== NULL
) SWIG_fail
;
3253 arg5
= wxString_in_helper(obj4
);
3254 if (arg5
== NULL
) SWIG_fail
;
3259 arg6
= (int)SWIG_As_int(obj5
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3263 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3267 arg8
= (int)SWIG_As_int(obj7
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 arg9
= (int)SWIG_As_int(obj8
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3275 if (!wxPyCheckForApp()) SWIG_fail
;
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) SWIG_fail
;
3284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3335 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxString
*arg1
= 0 ;
3338 wxString
*arg2
= 0 ;
3339 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3340 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3341 wxWindow
*arg4
= (wxWindow
*) NULL
;
3343 bool temp1
= false ;
3344 bool temp2
= false ;
3345 bool temp3
= false ;
3346 PyObject
* obj0
= 0 ;
3347 PyObject
* obj1
= 0 ;
3348 PyObject
* obj2
= 0 ;
3349 PyObject
* obj3
= 0 ;
3351 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3356 arg1
= wxString_in_helper(obj0
);
3357 if (arg1
== NULL
) SWIG_fail
;
3361 arg2
= wxString_in_helper(obj1
);
3362 if (arg2
== NULL
) SWIG_fail
;
3367 arg3
= wxString_in_helper(obj2
);
3368 if (arg3
== NULL
) SWIG_fail
;
3373 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3377 if (!wxPyCheckForApp()) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3421 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxString
*arg1
= 0 ;
3424 wxString
*arg2
= 0 ;
3425 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3426 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3427 wxWindow
*arg4
= (wxWindow
*) NULL
;
3429 bool temp1
= false ;
3430 bool temp2
= false ;
3431 bool temp3
= false ;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3434 PyObject
* obj2
= 0 ;
3435 PyObject
* obj3
= 0 ;
3437 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3442 arg1
= wxString_in_helper(obj0
);
3443 if (arg1
== NULL
) SWIG_fail
;
3447 arg2
= wxString_in_helper(obj1
);
3448 if (arg2
== NULL
) SWIG_fail
;
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3459 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3463 if (!wxPyCheckForApp()) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3507 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3510 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3511 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3512 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3513 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3516 wxWindow
*arg5
= (wxWindow
*) NULL
;
3518 bool temp1
= false ;
3519 bool temp2
= false ;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3523 PyObject
* obj2
= 0 ;
3524 PyObject
* obj3
= 0 ;
3525 PyObject
* obj4
= 0 ;
3527 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3533 arg1
= wxString_in_helper(obj0
);
3534 if (arg1
== NULL
) SWIG_fail
;
3540 arg2
= wxString_in_helper(obj1
);
3541 if (arg2
== NULL
) SWIG_fail
;
3546 arg3
= (long)SWIG_As_long(obj2
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3556 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3560 if (!wxPyCheckForApp()) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3596 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxString
*arg1
= 0 ;
3599 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3600 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3601 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3603 wxWindow
*arg4
= (wxWindow
*) NULL
;
3604 int arg5
= (int) -1 ;
3605 int arg6
= (int) -1 ;
3606 bool arg7
= (bool) true ;
3608 bool temp1
= false ;
3609 bool temp2
= false ;
3610 bool temp3
= false ;
3611 PyObject
* obj0
= 0 ;
3612 PyObject
* obj1
= 0 ;
3613 PyObject
* obj2
= 0 ;
3614 PyObject
* obj3
= 0 ;
3615 PyObject
* obj4
= 0 ;
3616 PyObject
* obj5
= 0 ;
3617 PyObject
* obj6
= 0 ;
3619 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3624 arg1
= wxString_in_helper(obj0
);
3625 if (arg1
== NULL
) SWIG_fail
;
3630 arg2
= wxString_in_helper(obj1
);
3631 if (arg2
== NULL
) SWIG_fail
;
3637 arg3
= wxString_in_helper(obj2
);
3638 if (arg3
== NULL
) SWIG_fail
;
3643 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3647 arg5
= (int)SWIG_As_int(obj4
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 arg6
= (int)SWIG_As_int(obj5
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 arg7
= (bool)SWIG_As_bool(obj6
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3659 if (!wxPyCheckForApp()) SWIG_fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3703 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
*resultobj
;
3705 wxString
*arg1
= 0 ;
3706 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3707 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3708 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3709 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3710 wxWindow
*arg4
= (wxWindow
*) NULL
;
3712 bool temp1
= false ;
3713 bool temp2
= false ;
3714 bool temp3
= false ;
3715 PyObject
* obj0
= 0 ;
3716 PyObject
* obj1
= 0 ;
3717 PyObject
* obj2
= 0 ;
3718 PyObject
* obj3
= 0 ;
3720 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 if (!wxPyCheckForApp()) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3792 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxString
*arg1
= 0 ;
3795 wxString
*arg2
= 0 ;
3797 wxString
*arg4
= (wxString
*) 0 ;
3798 wxWindow
*arg5
= (wxWindow
*) NULL
;
3799 int arg6
= (int) -1 ;
3800 int arg7
= (int) -1 ;
3801 bool arg8
= (bool) true ;
3802 int arg9
= (int) 150 ;
3803 int arg10
= (int) 200 ;
3805 bool temp1
= false ;
3806 bool temp2
= false ;
3807 PyObject
* obj0
= 0 ;
3808 PyObject
* obj1
= 0 ;
3809 PyObject
* obj2
= 0 ;
3810 PyObject
* obj3
= 0 ;
3811 PyObject
* obj4
= 0 ;
3812 PyObject
* obj5
= 0 ;
3813 PyObject
* obj6
= 0 ;
3814 PyObject
* obj7
= 0 ;
3815 PyObject
* obj8
= 0 ;
3817 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3822 arg1
= wxString_in_helper(obj0
);
3823 if (arg1
== NULL
) SWIG_fail
;
3827 arg2
= wxString_in_helper(obj1
);
3828 if (arg2
== NULL
) SWIG_fail
;
3832 arg3
= PyList_Size(obj2
);
3833 arg4
= wxString_LIST_helper(obj2
);
3834 if (arg4
== NULL
) SWIG_fail
;
3837 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3841 arg6
= (int)SWIG_As_int(obj4
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3845 arg7
= (int)SWIG_As_int(obj5
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3849 arg8
= (bool)SWIG_As_bool(obj6
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3853 arg9
= (int)SWIG_As_int(obj7
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3857 arg10
= (int)SWIG_As_int(obj8
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3861 if (!wxPyCheckForApp()) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3884 if (arg4
) delete [] arg4
;
3897 if (arg4
) delete [] arg4
;
3903 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxString
*arg1
= 0 ;
3906 wxString
*arg2
= 0 ;
3908 wxString
*arg4
= (wxString
*) 0 ;
3909 wxWindow
*arg5
= (wxWindow
*) NULL
;
3910 int arg6
= (int) -1 ;
3911 int arg7
= (int) -1 ;
3912 bool arg8
= (bool) true ;
3913 int arg9
= (int) 150 ;
3914 int arg10
= (int) 200 ;
3916 bool temp1
= false ;
3917 bool temp2
= false ;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3920 PyObject
* obj2
= 0 ;
3921 PyObject
* obj3
= 0 ;
3922 PyObject
* obj4
= 0 ;
3923 PyObject
* obj5
= 0 ;
3924 PyObject
* obj6
= 0 ;
3925 PyObject
* obj7
= 0 ;
3926 PyObject
* obj8
= 0 ;
3928 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3933 arg1
= wxString_in_helper(obj0
);
3934 if (arg1
== NULL
) SWIG_fail
;
3938 arg2
= wxString_in_helper(obj1
);
3939 if (arg2
== NULL
) SWIG_fail
;
3943 arg3
= PyList_Size(obj2
);
3944 arg4
= wxString_LIST_helper(obj2
);
3945 if (arg4
== NULL
) SWIG_fail
;
3948 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 arg6
= (int)SWIG_As_int(obj4
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3956 arg7
= (int)SWIG_As_int(obj5
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3960 arg8
= (bool)SWIG_As_bool(obj6
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3964 arg9
= (int)SWIG_As_int(obj7
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3968 arg10
= (int)SWIG_As_int(obj8
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3972 if (!wxPyCheckForApp()) SWIG_fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 resultobj
= SWIG_From_int((int)result
);
3989 if (arg4
) delete [] arg4
;
4002 if (arg4
) delete [] arg4
;
4008 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxString
*arg1
= 0 ;
4011 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4012 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4013 int arg3
= (int) wxOK
|wxCENTRE
;
4014 wxWindow
*arg4
= (wxWindow
*) NULL
;
4015 int arg5
= (int) -1 ;
4016 int arg6
= (int) -1 ;
4018 bool temp1
= false ;
4019 bool temp2
= false ;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj1
= 0 ;
4022 PyObject
* obj2
= 0 ;
4023 PyObject
* obj3
= 0 ;
4024 PyObject
* obj4
= 0 ;
4025 PyObject
* obj5
= 0 ;
4027 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4032 arg1
= wxString_in_helper(obj0
);
4033 if (arg1
== NULL
) SWIG_fail
;
4038 arg2
= wxString_in_helper(obj1
);
4039 if (arg2
== NULL
) SWIG_fail
;
4044 arg3
= (int)SWIG_As_int(obj2
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4048 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4052 arg5
= (int)SWIG_As_int(obj4
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4056 arg6
= (int)SWIG_As_int(obj5
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4060 if (!wxPyCheckForApp()) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= SWIG_From_int((int)result
);
4090 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
*resultobj
;
4092 wxString
*arg1
= 0 ;
4093 wxString
*arg2
= 0 ;
4094 wxString
*arg3
= 0 ;
4096 long arg5
= (long) 0 ;
4097 long arg6
= (long) 100 ;
4098 wxWindow
*arg7
= (wxWindow
*) NULL
;
4099 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4100 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4102 bool temp1
= false ;
4103 bool temp2
= false ;
4104 bool temp3
= false ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4108 PyObject
* obj2
= 0 ;
4109 PyObject
* obj3
= 0 ;
4110 PyObject
* obj4
= 0 ;
4111 PyObject
* obj5
= 0 ;
4112 PyObject
* obj6
= 0 ;
4113 PyObject
* obj7
= 0 ;
4115 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4120 arg1
= wxString_in_helper(obj0
);
4121 if (arg1
== NULL
) SWIG_fail
;
4125 arg2
= wxString_in_helper(obj1
);
4126 if (arg2
== NULL
) SWIG_fail
;
4130 arg3
= wxString_in_helper(obj2
);
4131 if (arg3
== NULL
) SWIG_fail
;
4134 arg4
= (long)SWIG_As_long(obj3
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 arg5
= (long)SWIG_As_long(obj4
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4141 arg6
= (long)SWIG_As_long(obj5
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4145 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4151 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4155 if (!wxPyCheckForApp()) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= SWIG_From_long((long)result
);
4193 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
*resultobj
;
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4202 if (!wxPyCheckForApp()) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 result
= (bool)wxColourDisplay();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4218 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4227 if (!wxPyCheckForApp()) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (int)wxDisplayDepth();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_From_int((int)result
);
4241 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4250 if (!wxPyCheckForApp()) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (int)wxGetDisplayDepth();
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= SWIG_From_int((int)result
);
4264 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 int *arg1
= (int *) 0 ;
4267 int *arg2
= (int *) 0 ;
4276 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4277 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4280 if (!wxPyCheckForApp()) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 wxDisplaySize(arg1
,arg2
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4288 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4289 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4290 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4291 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4298 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4307 if (!wxPyCheckForApp()) SWIG_fail
;
4308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4309 result
= wxGetDisplaySize();
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4316 resultptr
= new wxSize((wxSize
&) result
);
4317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4325 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 int *arg1
= (int *) 0 ;
4328 int *arg2
= (int *) 0 ;
4337 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4338 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4341 if (!wxPyCheckForApp()) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 wxDisplaySizeMM(arg1
,arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4350 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4351 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4352 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4359 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4368 if (!wxPyCheckForApp()) SWIG_fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= wxGetDisplaySizeMM();
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4377 resultptr
= new wxSize((wxSize
&) result
);
4378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4386 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 int *arg1
= (int *) 0 ;
4389 int *arg2
= (int *) 0 ;
4390 int *arg3
= (int *) 0 ;
4391 int *arg4
= (int *) 0 ;
4404 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4405 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4406 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4407 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4410 if (!wxPyCheckForApp()) SWIG_fail
;
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) SWIG_fail
;
4417 Py_INCREF(Py_None
); resultobj
= Py_None
;
4418 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4419 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4420 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4421 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4422 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4423 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4424 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4425 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4432 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
;
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4441 if (!wxPyCheckForApp()) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= wxGetClientDisplayRect();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4450 resultptr
= new wxRect((wxRect
&) result
);
4451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4459 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
;
4461 wxCursor
*arg1
= 0 ;
4462 PyObject
* obj0
= 0 ;
4464 (char *) "cursor", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4472 PyErr_SetString(PyExc_TypeError
,"null reference");
4476 if (!wxPyCheckForApp()) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 Py_INCREF(Py_None
); resultobj
= Py_None
;
4490 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4493 PyObject
* obj0
= 0 ;
4495 (char *) "cursor", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4504 if (!wxPyCheckForApp()) SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxBeginBusyCursor(arg1
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 Py_INCREF(Py_None
); resultobj
= Py_None
;
4518 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4527 if (!wxPyCheckForApp()) SWIG_fail
;
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 result
= (wxWindow
*)wxGetActiveWindow();
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= wxPyMake_wxObject(result
, 0);
4543 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4548 PyObject
* obj0
= 0 ;
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4556 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4559 if (!wxPyCheckForApp()) SWIG_fail
;
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4567 resultobj
= wxPyMake_wxObject(result
, 0);
4575 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4580 PyObject
* obj0
= 0 ;
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4588 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4591 if (!wxPyCheckForApp()) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= wxPyMake_wxObject(result
, 0);
4607 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 wxWindow
*arg1
= (wxWindow
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4613 (char *) "win", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4620 if (!wxPyCheckForApp()) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= wxPyMake_wxObject(result
, 0);
4636 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4640 PyObject
* obj0
= 0 ;
4642 (char *) "key", NULL
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4646 arg1
= (int)SWIG_As_int(obj0
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 if (!wxPyCheckForApp()) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4665 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4673 if (!wxPyCheckForApp()) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 wxWakeUpMainThread();
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 Py_INCREF(Py_None
); resultobj
= Py_None
;
4687 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4695 if (!wxPyCheckForApp()) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 Py_INCREF(Py_None
); resultobj
= Py_None
;
4709 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4717 if (!wxPyCheckForApp()) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 Py_INCREF(Py_None
); resultobj
= Py_None
;
4731 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
;
4733 wxMutexGuiLocker
*result
;
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4740 if (!wxPyCheckForApp()) SWIG_fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4754 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4756 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4759 (char *) "self", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4772 Py_INCREF(Py_None
); resultobj
= Py_None
;
4779 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4782 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4784 return Py_BuildValue((char *)"");
4786 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 result
= (bool)wxThread_IsMain();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4810 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4812 wxString
*arg1
= 0 ;
4814 bool temp1
= false ;
4815 PyObject
* obj0
= 0 ;
4817 (char *) "tip", NULL
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4822 arg1
= wxString_in_helper(obj0
);
4823 if (arg1
== NULL
) SWIG_fail
;
4827 if (!wxPyCheckForApp()) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= wxPyMake_wxObject(result
, 1);
4851 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4854 wxString
*arg2
= 0 ;
4855 bool temp2
= false ;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4859 (char *) "self",(char *) "tip", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4866 arg2
= wxString_in_helper(obj1
);
4867 if (arg2
== NULL
) SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 (arg1
)->SetTip((wxString
const &)*arg2
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 Py_INCREF(Py_None
); resultobj
= Py_None
;
4892 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4896 PyObject
* obj0
= 0 ;
4898 (char *) "self", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (arg1
)->GetTip();
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4924 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
;
4926 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4928 PyObject
* obj0
= 0 ;
4930 (char *) "self", NULL
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 result
= (wxWindow
*)(arg1
)->GetWindow();
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= wxPyMake_wxObject(result
, 0);
4952 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4955 PyObject
* obj0
= 0 ;
4957 (char *) "flag", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4961 arg1
= (bool)SWIG_As_bool(obj0
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 wxToolTip::Enable(arg1
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 Py_INCREF(Py_None
); resultobj
= Py_None
;
4977 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4980 PyObject
* obj0
= 0 ;
4982 (char *) "milliseconds", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4986 arg1
= (long)SWIG_As_long(obj0
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 wxToolTip::SetDelay(arg1
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 Py_INCREF(Py_None
); resultobj
= Py_None
;
5002 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
5004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5005 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5007 return Py_BuildValue((char *)"");
5009 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxWindow
*arg1
= (wxWindow
*) 0 ;
5015 PyObject
* obj0
= 0 ;
5016 PyObject
* obj1
= 0 ;
5018 (char *) "window",(char *) "size", NULL
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5026 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5029 if (!wxPyCheckForApp()) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5043 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxCaret
*arg1
= (wxCaret
*) 0 ;
5046 PyObject
* obj0
= 0 ;
5048 (char *) "self", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 Py_INCREF(Py_None
); resultobj
= Py_None
;
5068 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxCaret
*arg1
= (wxCaret
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "self", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (bool)(arg1
)->IsOk();
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5096 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxCaret
*arg1
= (wxCaret
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5102 (char *) "self", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 result
= (bool)(arg1
)->IsVisible();
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5124 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
;
5126 wxCaret
*arg1
= (wxCaret
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5130 (char *) "self", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 result
= (arg1
)->GetPosition();
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5144 wxPoint
* resultptr
;
5145 resultptr
= new wxPoint((wxPoint
&) result
);
5146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5154 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxCaret
*arg1
= (wxCaret
*) 0 ;
5157 int *arg2
= (int *) 0 ;
5158 int *arg3
= (int *) 0 ;
5163 PyObject
* obj0
= 0 ;
5165 (char *) "self", NULL
5168 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5169 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 (arg1
)->GetPosition(arg2
,arg3
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 Py_INCREF(Py_None
); resultobj
= Py_None
;
5181 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5182 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5183 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5184 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5191 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxCaret
*arg1
= (wxCaret
*) 0 ;
5195 PyObject
* obj0
= 0 ;
5197 (char *) "self", NULL
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= (arg1
)->GetSize();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5212 resultptr
= new wxSize((wxSize
&) result
);
5213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5221 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5223 wxCaret
*arg1
= (wxCaret
*) 0 ;
5224 int *arg2
= (int *) 0 ;
5225 int *arg3
= (int *) 0 ;
5230 PyObject
* obj0
= 0 ;
5232 (char *) "self", NULL
5235 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5236 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 (arg1
)->GetSize(arg2
,arg3
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 Py_INCREF(Py_None
); resultobj
= Py_None
;
5248 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5249 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5250 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5251 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5258 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxCaret
*arg1
= (wxCaret
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5264 (char *) "self", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= (wxWindow
*)(arg1
)->GetWindow();
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= wxPyMake_wxObject(result
, 0);
5286 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxCaret
*arg1
= (wxCaret
*) 0 ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5293 PyObject
* obj2
= 0 ;
5295 (char *) "self",(char *) "x",(char *) "y", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5301 arg2
= (int)SWIG_As_int(obj1
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5303 arg3
= (int)SWIG_As_int(obj2
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 (arg1
)->Move(arg2
,arg3
);
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5312 Py_INCREF(Py_None
); resultobj
= Py_None
;
5319 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxCaret
*arg1
= (wxCaret
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5325 PyObject
* obj1
= 0 ;
5327 (char *) "self",(char *) "pt", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 (arg1
)->Move((wxPoint
const &)*arg2
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 Py_INCREF(Py_None
); resultobj
= Py_None
;
5351 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5353 wxCaret
*arg1
= (wxCaret
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5358 PyObject
* obj2
= 0 ;
5360 (char *) "self",(char *) "width",(char *) "height", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5366 arg2
= (int)SWIG_As_int(obj1
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5368 arg3
= (int)SWIG_As_int(obj2
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 (arg1
)->SetSize(arg2
,arg3
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5384 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxCaret
*arg1
= (wxCaret
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5392 (char *) "self",(char *) "size", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->SetSize((wxSize
const &)*arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 Py_INCREF(Py_None
); resultobj
= Py_None
;
5416 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxCaret
*arg1
= (wxCaret
*) 0 ;
5419 int arg2
= (int) true ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5423 (char *) "self",(char *) "show", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5430 arg2
= (int)SWIG_As_int(obj1
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 Py_INCREF(Py_None
); resultobj
= Py_None
;
5447 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxCaret
*arg1
= (wxCaret
*) 0 ;
5450 PyObject
* obj0
= 0 ;
5452 (char *) "self", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 Py_INCREF(Py_None
); resultobj
= Py_None
;
5472 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5475 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5477 return Py_BuildValue((char *)"");
5479 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
*resultobj
;
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= (int)wxCaret_GetBlinkTime();
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= SWIG_From_int((int)result
);
5501 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
;
5504 PyObject
* obj0
= 0 ;
5506 (char *) "milliseconds", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5510 arg1
= (int)SWIG_As_int(obj0
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 wxCaret_SetBlinkTime(arg1
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5519 Py_INCREF(Py_None
); resultobj
= Py_None
;
5526 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5529 wxBusyCursor
*result
;
5530 PyObject
* obj0
= 0 ;
5532 (char *) "cursor", NULL
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 if (!wxPyCheckForApp()) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5555 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5560 (char *) "self", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 Py_INCREF(Py_None
); resultobj
= Py_None
;
5580 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5583 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5585 return Py_BuildValue((char *)"");
5587 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxWindow
*arg1
= (wxWindow
*) NULL
;
5590 wxWindowDisabler
*result
;
5591 PyObject
* obj0
= 0 ;
5593 (char *) "winToSkip", NULL
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5616 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5621 (char *) "self", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5644 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5646 return Py_BuildValue((char *)"");
5648 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxString
*arg1
= 0 ;
5652 bool temp1
= false ;
5653 PyObject
* obj0
= 0 ;
5655 (char *) "message", NULL
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5660 arg1
= wxString_in_helper(obj0
);
5661 if (arg1
== NULL
) SWIG_fail
;
5665 if (!wxPyCheckForApp()) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5687 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 Py_INCREF(Py_None
); resultobj
= Py_None
;
5712 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5715 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5717 return Py_BuildValue((char *)"");
5719 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxStopWatch
*result
;
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (wxStopWatch
*)new wxStopWatch();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5741 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
*resultobj
;
5743 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5744 long arg2
= (long) 0 ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5748 (char *) "self",(char *) "t0", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 arg2
= (long)SWIG_As_long(obj1
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 (arg1
)->Start(arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5772 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 Py_INCREF(Py_None
); resultobj
= Py_None
;
5797 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5802 (char *) "self", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 Py_INCREF(Py_None
); resultobj
= Py_None
;
5822 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5828 (char *) "self", NULL
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= SWIG_From_long((long)result
);
5848 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5851 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5853 return Py_BuildValue((char *)"");
5855 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 int arg1
= (int) 9 ;
5858 int arg2
= (int) wxID_FILE1
;
5859 wxFileHistory
*result
;
5860 PyObject
* obj0
= 0 ;
5861 PyObject
* obj1
= 0 ;
5863 (char *) "maxFiles",(char *) "idBase", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5868 arg1
= (int)SWIG_As_int(obj0
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5872 arg2
= (int)SWIG_As_int(obj1
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5889 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5894 (char *) "self", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 Py_INCREF(Py_None
); resultobj
= Py_None
;
5914 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5917 wxString
*arg2
= 0 ;
5918 bool temp2
= false ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5922 (char *) "self",(char *) "file", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5929 arg2
= wxString_in_helper(obj1
);
5930 if (arg2
== NULL
) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 Py_INCREF(Py_None
); resultobj
= Py_None
;
5955 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5960 PyObject
* obj1
= 0 ;
5962 (char *) "self",(char *) "i", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5968 arg2
= (int)SWIG_As_int(obj1
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 (arg1
)->RemoveFileFromHistory(arg2
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 Py_INCREF(Py_None
); resultobj
= Py_None
;
5984 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_From_int((int)result
);
6010 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6013 wxMenu
*arg2
= (wxMenu
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6017 (char *) "self",(char *) "menu", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 (arg1
)->UseMenu(arg2
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 Py_INCREF(Py_None
); resultobj
= Py_None
;
6039 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6042 wxMenu
*arg2
= (wxMenu
*) 0 ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6046 (char *) "self",(char *) "menu", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 (arg1
)->RemoveMenu(arg2
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 Py_INCREF(Py_None
); resultobj
= Py_None
;
6068 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6071 wxConfigBase
*arg2
= 0 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6075 (char *) "self",(char *) "config", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6085 PyErr_SetString(PyExc_TypeError
,"null reference");
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 (arg1
)->Load(*arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 Py_INCREF(Py_None
); resultobj
= Py_None
;
6102 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6105 wxConfigBase
*arg2
= 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6109 (char *) "self",(char *) "config", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6119 PyErr_SetString(PyExc_TypeError
,"null reference");
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 (arg1
)->Save(*arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 Py_INCREF(Py_None
); resultobj
= Py_None
;
6136 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6141 (char *) "self", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 (arg1
)->AddFilesToMenu();
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 Py_INCREF(Py_None
); resultobj
= Py_None
;
6161 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6164 wxMenu
*arg2
= (wxMenu
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6166 PyObject
* obj1
= 0 ;
6168 (char *) "self",(char *) "menu", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->AddFilesToMenu(arg2
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 Py_INCREF(Py_None
); resultobj
= Py_None
;
6190 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6198 (char *) "self",(char *) "i", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 arg2
= (int)SWIG_As_int(obj1
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6226 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6232 (char *) "self", NULL
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_From_int((int)result
);
6252 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6255 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6257 return Py_BuildValue((char *)"");
6259 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxString
*arg1
= 0 ;
6262 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6263 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6264 wxSingleInstanceChecker
*result
;
6265 bool temp1
= false ;
6266 bool temp2
= false ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6270 (char *) "name",(char *) "path", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6275 arg1
= wxString_in_helper(obj0
);
6276 if (arg1
== NULL
) SWIG_fail
;
6281 arg2
= wxString_in_helper(obj1
);
6282 if (arg2
== NULL
) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6316 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxSingleInstanceChecker
*result
;
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6338 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6340 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "self", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6366 wxString
*arg2
= 0 ;
6367 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6368 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6370 bool temp2
= false ;
6371 bool temp3
= false ;
6372 PyObject
* obj0
= 0 ;
6373 PyObject
* obj1
= 0 ;
6374 PyObject
* obj2
= 0 ;
6376 (char *) "self",(char *) "name",(char *) "path", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6383 arg2
= wxString_in_helper(obj1
);
6384 if (arg2
== NULL
) SWIG_fail
;
6389 arg3
= wxString_in_helper(obj2
);
6390 if (arg3
== NULL
) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6426 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6432 (char *) "self", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6454 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6457 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6459 return Py_BuildValue((char *)"");
6461 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxWindow
*arg1
= (wxWindow
*) 0 ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6470 (char *) "window",(char *) "dc",(char *) "method", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6480 PyErr_SetString(PyExc_TypeError
,"null reference");
6483 arg3
= (int)SWIG_As_int(obj2
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 Py_INCREF(Py_None
); resultobj
= Py_None
;
6499 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 Py_INCREF(Py_None
); resultobj
= Py_None
;
6524 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6530 (char *) "self", NULL
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (arg1
)->GetTip();
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6556 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6560 PyObject
* obj0
= 0 ;
6562 (char *) "self", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (size_t)(arg1
)->GetCurrentTip();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6582 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6585 wxString
*arg2
= 0 ;
6587 bool temp2
= false ;
6588 PyObject
* obj0
= 0 ;
6589 PyObject
* obj1
= 0 ;
6591 (char *) "self",(char *) "tip", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6598 arg2
= wxString_in_helper(obj1
);
6599 if (arg2
== NULL
) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6630 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6633 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6635 return Py_BuildValue((char *)"");
6637 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6640 wxPyTipProvider
*result
;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "currentTip", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6647 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6663 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6666 PyObject
*arg2
= (PyObject
*) 0 ;
6667 PyObject
*arg3
= (PyObject
*) 0 ;
6668 PyObject
* obj0
= 0 ;
6669 PyObject
* obj1
= 0 ;
6670 PyObject
* obj2
= 0 ;
6672 (char *) "self",(char *) "self",(char *) "_class", NULL
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 Py_INCREF(Py_None
); resultobj
= Py_None
;
6694 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6697 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6699 return Py_BuildValue((char *)"");
6701 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxWindow
*arg1
= (wxWindow
*) 0 ;
6704 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6705 bool arg3
= (bool) true ;
6707 PyObject
* obj0
= 0 ;
6708 PyObject
* obj1
= 0 ;
6709 PyObject
* obj2
= 0 ;
6711 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6720 arg3
= (bool)SWIG_As_bool(obj2
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6724 if (!wxPyCheckForApp()) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6740 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxString
*arg1
= 0 ;
6744 wxTipProvider
*result
;
6745 bool temp1
= false ;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6749 (char *) "filename",(char *) "currentTip", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6754 arg1
= wxString_in_helper(obj0
);
6755 if (arg1
== NULL
) SWIG_fail
;
6758 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 if (!wxPyCheckForApp()) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6783 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6786 int arg2
= (int) -1 ;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6791 (char *) "owner",(char *) "id", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6800 arg2
= (int)SWIG_As_int(obj1
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6804 if (!wxPyCheckForApp()) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6818 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6823 (char *) "self", NULL
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6836 Py_INCREF(Py_None
); resultobj
= Py_None
;
6843 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
;
6845 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6846 PyObject
*arg2
= (PyObject
*) 0 ;
6847 PyObject
*arg3
= (PyObject
*) 0 ;
6848 int arg4
= (int) 1 ;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6851 PyObject
* obj2
= 0 ;
6852 PyObject
* obj3
= 0 ;
6854 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg4
= (int)SWIG_As_int(obj3
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 Py_INCREF(Py_None
); resultobj
= Py_None
;
6880 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6883 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6884 int arg3
= (int) -1 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6887 PyObject
* obj2
= 0 ;
6889 (char *) "self",(char *) "owner",(char *) "id", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6898 arg3
= (int)SWIG_As_int(obj2
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 (arg1
)->SetOwner(arg2
,arg3
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 Py_INCREF(Py_None
); resultobj
= Py_None
;
6915 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6918 wxEvtHandler
*result
;
6919 PyObject
* obj0
= 0 ;
6921 (char *) "self", NULL
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= wxPyMake_wxObject(result
, 0);
6943 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6946 int arg2
= (int) -1 ;
6947 bool arg3
= (bool) false ;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6951 PyObject
* obj2
= 0 ;
6953 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6960 arg2
= (int)SWIG_As_int(obj1
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6964 arg3
= (bool)SWIG_As_bool(obj2
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6983 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6988 (char *) "self", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 Py_INCREF(Py_None
); resultobj
= Py_None
;
7008 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
;
7010 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7012 PyObject
* obj0
= 0 ;
7014 (char *) "self", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7036 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
;
7038 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7042 (char *) "self", NULL
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= SWIG_From_int((int)result
);
7062 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7066 PyObject
* obj0
= 0 ;
7068 (char *) "self", NULL
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7090 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7096 (char *) "self", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_From_int((int)result
);
7116 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7119 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7121 return Py_BuildValue((char *)"");
7123 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 int arg1
= (int) 0 ;
7126 int arg2
= (int) 0 ;
7127 wxTimerEvent
*result
;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7131 (char *) "timerid",(char *) "interval", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7136 arg1
= (int)SWIG_As_int(obj0
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7140 arg2
= (int)SWIG_As_int(obj1
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7157 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7161 PyObject
* obj0
= 0 ;
7163 (char *) "self", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 resultobj
= SWIG_From_int((int)result
);
7183 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7186 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7188 return Py_BuildValue((char *)"");
7190 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7191 PyObject
*resultobj
;
7193 wxTimerRunner
*result
;
7194 PyObject
* obj0
= 0 ;
7196 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7201 PyErr_SetString(PyExc_TypeError
,"null reference");
7205 if (!wxPyCheckForApp()) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7219 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7220 PyObject
*resultobj
;
7223 bool arg3
= (bool) false ;
7224 wxTimerRunner
*result
;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7227 PyObject
* obj2
= 0 ;
7229 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7234 PyErr_SetString(PyExc_TypeError
,"null reference");
7237 arg2
= (int)SWIG_As_int(obj1
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 arg3
= (bool)SWIG_As_bool(obj2
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7244 if (!wxPyCheckForApp()) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7258 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7263 argc
= PyObject_Length(args
);
7264 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7265 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7271 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7279 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7282 if ((argc
>= 2) && (argc
<= 3)) {
7286 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7294 _v
= SWIG_Check_int(argv
[1]);
7297 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7299 _v
= SWIG_Check_bool(argv
[2]);
7301 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7307 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7312 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7315 PyObject
* obj0
= 0 ;
7317 (char *) "self", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 Py_INCREF(Py_None
); resultobj
= Py_None
;
7337 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7341 bool arg3
= (bool) false ;
7342 PyObject
* obj0
= 0 ;
7343 PyObject
* obj1
= 0 ;
7344 PyObject
* obj2
= 0 ;
7346 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7352 arg2
= (int)SWIG_As_int(obj1
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 arg3
= (bool)SWIG_As_bool(obj2
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 (arg1
)->Start(arg2
,arg3
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 Py_INCREF(Py_None
); resultobj
= Py_None
;
7372 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7375 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7377 return Py_BuildValue((char *)"");
7379 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 result
= (wxLog
*)new wxLog();
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7401 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (bool)wxLog::IsEnabled();
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7425 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 bool arg1
= (bool) true ;
7429 PyObject
* obj0
= 0 ;
7431 (char *) "doIt", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7436 arg1
= (bool)SWIG_As_bool(obj0
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (bool)wxLog::EnableLogging(arg1
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7455 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7458 wxChar
*arg2
= (wxChar
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 PyObject
* obj2
= 0 ;
7464 (char *) "level",(char *) "szString",(char *) "t", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7468 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7472 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 Py_INCREF(Py_None
); resultobj
= Py_None
;
7488 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxLog
*arg1
= (wxLog
*) 0 ;
7491 PyObject
* obj0
= 0 ;
7493 (char *) "self", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 Py_INCREF(Py_None
); resultobj
= Py_None
;
7513 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 wxLog::FlushActive();
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 Py_INCREF(Py_None
); resultobj
= Py_None
;
7534 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= (wxLog
*)wxLog::GetActiveTarget();
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7556 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxLog
*arg1
= (wxLog
*) 0 ;
7560 PyObject
* obj0
= 0 ;
7562 (char *) "pLogger", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7582 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 Py_INCREF(Py_None
); resultobj
= Py_None
;
7603 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 Py_INCREF(Py_None
); resultobj
= Py_None
;
7624 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 bool arg1
= (bool) true ;
7627 PyObject
* obj0
= 0 ;
7629 (char *) "bVerbose", NULL
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7634 arg1
= (bool)SWIG_As_bool(obj0
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 wxLog::SetVerbose(arg1
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 Py_INCREF(Py_None
); resultobj
= Py_None
;
7651 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "logLevel", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7660 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 wxLog::SetLogLevel(arg1
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 Py_INCREF(Py_None
); resultobj
= Py_None
;
7676 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 wxLog::DontCreateOnDemand();
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 Py_INCREF(Py_None
); resultobj
= Py_None
;
7697 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7700 PyObject
* obj0
= 0 ;
7702 (char *) "ulMask", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7706 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 wxLog::SetTraceMask(arg1
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 Py_INCREF(Py_None
); resultobj
= Py_None
;
7722 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
;
7724 wxString
*arg1
= 0 ;
7725 bool temp1
= false ;
7726 PyObject
* obj0
= 0 ;
7728 (char *) "str", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7733 arg1
= wxString_in_helper(obj0
);
7734 if (arg1
== NULL
) SWIG_fail
;
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 wxLog::AddTraceMask((wxString
const &)*arg1
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 Py_INCREF(Py_None
); resultobj
= Py_None
;
7759 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
;
7761 wxString
*arg1
= 0 ;
7762 bool temp1
= false ;
7763 PyObject
* obj0
= 0 ;
7765 (char *) "str", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7770 arg1
= wxString_in_helper(obj0
);
7771 if (arg1
== NULL
) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 Py_INCREF(Py_None
); resultobj
= Py_None
;
7796 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 wxLog::ClearTraceMasks();
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 Py_INCREF(Py_None
); resultobj
= Py_None
;
7817 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxArrayString
*result
;
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7829 result
= (wxArrayString
*) &_result_ref
;
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= wxArrayString2PyList_helper(*result
);
7844 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
;
7846 wxChar
*arg1
= (wxChar
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 wxLog::SetTimestamp((wxChar
const *)arg1
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 result
= (bool)wxLog::GetVerbose();
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7893 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (wxTraceMask
)wxLog::GetTraceMask();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7915 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxChar
*arg1
= (wxChar
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7921 (char *) "mask", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7943 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
;
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= (wxLogLevel
)wxLog::GetLogLevel();
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7965 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (wxChar
*)wxLog::GetTimestamp();
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7987 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= Log_TimeStamp();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8015 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxLog
*arg1
= (wxLog
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8020 (char *) "self", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 wxLog_Destroy(arg1
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 Py_INCREF(Py_None
); resultobj
= Py_None
;
8040 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8043 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8045 return Py_BuildValue((char *)"");
8047 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxLogStderr
*result
;
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (wxLogStderr
*)new wxLogStderr();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8069 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8072 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8074 return Py_BuildValue((char *)"");
8076 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8079 wxLogTextCtrl
*result
;
8080 PyObject
* obj0
= 0 ;
8082 (char *) "pTextCtrl", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8102 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8105 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8107 return Py_BuildValue((char *)"");
8109 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
;
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (wxLogGui
*)new wxLogGui();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8131 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8134 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8136 return Py_BuildValue((char *)"");
8138 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
;
8140 wxFrame
*arg1
= (wxFrame
*) 0 ;
8141 wxString
*arg2
= 0 ;
8142 bool arg3
= (bool) true ;
8143 bool arg4
= (bool) true ;
8144 wxLogWindow
*result
;
8145 bool temp2
= false ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8148 PyObject
* obj2
= 0 ;
8149 PyObject
* obj3
= 0 ;
8151 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8158 arg2
= wxString_in_helper(obj1
);
8159 if (arg2
== NULL
) SWIG_fail
;
8163 arg3
= (bool)SWIG_As_bool(obj2
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8167 arg4
= (bool)SWIG_As_bool(obj3
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8192 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8195 bool arg2
= (bool) true ;
8196 PyObject
* obj0
= 0 ;
8197 PyObject
* obj1
= 0 ;
8199 (char *) "self",(char *) "bShow", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8206 arg2
= (bool)SWIG_As_bool(obj1
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 Py_INCREF(Py_None
); resultobj
= Py_None
;
8223 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
;
8225 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8227 PyObject
* obj0
= 0 ;
8229 (char *) "self", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8243 resultobj
= wxPyMake_wxObject(result
, 0);
8251 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8255 PyObject
* obj0
= 0 ;
8257 (char *) "self", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8277 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8281 PyObject
* obj0
= 0 ;
8283 (char *) "self", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8305 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8309 PyObject
* obj0
= 0 ;
8310 PyObject
* obj1
= 0 ;
8312 (char *) "self",(char *) "bDoPass", NULL
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8318 arg2
= (bool)SWIG_As_bool(obj1
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 (arg1
)->PassMessages(arg2
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 Py_INCREF(Py_None
); resultobj
= Py_None
;
8334 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8337 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8339 return Py_BuildValue((char *)"");
8341 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxLog
*arg1
= (wxLog
*) 0 ;
8345 PyObject
* obj0
= 0 ;
8347 (char *) "logger", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (wxLogChain
*)new wxLogChain(arg1
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8367 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8370 wxLog
*arg2
= (wxLog
*) 0 ;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8374 (char *) "self",(char *) "logger", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 (arg1
)->SetLog(arg2
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 Py_INCREF(Py_None
); resultobj
= Py_None
;
8396 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
;
8398 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8403 (char *) "self",(char *) "bDoPass", NULL
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8409 arg2
= (bool)SWIG_As_bool(obj1
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 (arg1
)->PassMessages(arg2
);
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 Py_INCREF(Py_None
); resultobj
= Py_None
;
8425 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8429 PyObject
* obj0
= 0 ;
8431 (char *) "self", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (bool)(arg1
)->IsPassingMessages();
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8453 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8457 PyObject
* obj0
= 0 ;
8459 (char *) "self", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= (wxLog
*)(arg1
)->GetOldLog();
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8479 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8482 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8484 return Py_BuildValue((char *)"");
8486 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 unsigned long result
;
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (unsigned long)wxSysErrorCode();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8508 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 unsigned long arg1
= (unsigned long) 0 ;
8512 PyObject
* obj0
= 0 ;
8514 (char *) "nErrCode", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8519 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 result
= wxSysErrorMsg(arg1
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8542 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxString
*arg1
= 0 ;
8545 bool temp1
= false ;
8546 PyObject
* obj0
= 0 ;
8548 (char *) "msg", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8553 arg1
= wxString_in_helper(obj0
);
8554 if (arg1
== NULL
) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 wxLogFatalError((wxString
const &)*arg1
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 Py_INCREF(Py_None
); resultobj
= Py_None
;
8579 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxString
*arg1
= 0 ;
8582 bool temp1
= false ;
8583 PyObject
* obj0
= 0 ;
8585 (char *) "msg", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8590 arg1
= wxString_in_helper(obj0
);
8591 if (arg1
== NULL
) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 wxLogError((wxString
const &)*arg1
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8616 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
;
8618 wxString
*arg1
= 0 ;
8619 bool temp1
= false ;
8620 PyObject
* obj0
= 0 ;
8622 (char *) "msg", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8627 arg1
= wxString_in_helper(obj0
);
8628 if (arg1
== NULL
) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 wxLogWarning((wxString
const &)*arg1
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 Py_INCREF(Py_None
); resultobj
= Py_None
;
8653 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxString
*arg1
= 0 ;
8656 bool temp1
= false ;
8657 PyObject
* obj0
= 0 ;
8659 (char *) "msg", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8664 arg1
= wxString_in_helper(obj0
);
8665 if (arg1
== NULL
) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 wxLogMessage((wxString
const &)*arg1
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxString
*arg1
= 0 ;
8693 bool temp1
= false ;
8694 PyObject
* obj0
= 0 ;
8696 (char *) "msg", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8701 arg1
= wxString_in_helper(obj0
);
8702 if (arg1
== NULL
) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 wxLogInfo((wxString
const &)*arg1
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 Py_INCREF(Py_None
); resultobj
= Py_None
;
8727 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxString
*arg1
= 0 ;
8730 bool temp1
= false ;
8731 PyObject
* obj0
= 0 ;
8733 (char *) "msg", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8738 arg1
= wxString_in_helper(obj0
);
8739 if (arg1
== NULL
) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 wxLogDebug((wxString
const &)*arg1
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 Py_INCREF(Py_None
); resultobj
= Py_None
;
8764 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxString
*arg1
= 0 ;
8767 bool temp1
= false ;
8768 PyObject
* obj0
= 0 ;
8770 (char *) "msg", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8775 arg1
= wxString_in_helper(obj0
);
8776 if (arg1
== NULL
) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 wxLogVerbose((wxString
const &)*arg1
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 Py_INCREF(Py_None
); resultobj
= Py_None
;
8801 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxString
*arg1
= 0 ;
8804 bool temp1
= false ;
8805 PyObject
* obj0
= 0 ;
8807 (char *) "msg", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8812 arg1
= wxString_in_helper(obj0
);
8813 if (arg1
== NULL
) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 wxLogStatus((wxString
const &)*arg1
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8838 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxFrame
*arg1
= (wxFrame
*) 0 ;
8841 wxString
*arg2
= 0 ;
8842 bool temp2
= false ;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8846 (char *) "pFrame",(char *) "msg", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8853 arg2
= wxString_in_helper(obj1
);
8854 if (arg2
== NULL
) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 Py_INCREF(Py_None
); resultobj
= Py_None
;
8879 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxString
*arg1
= 0 ;
8882 bool temp1
= false ;
8883 PyObject
* obj0
= 0 ;
8885 (char *) "msg", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8890 arg1
= wxString_in_helper(obj0
);
8891 if (arg1
== NULL
) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 wxLogSysError((wxString
const &)*arg1
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 Py_INCREF(Py_None
); resultobj
= Py_None
;
8916 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8917 PyObject
*resultobj
;
8918 unsigned long arg1
;
8919 wxString
*arg2
= 0 ;
8920 bool temp2
= false ;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8924 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8925 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 arg2
= wxString_in_helper(obj1
);
8929 if (arg2
== NULL
) SWIG_fail
;
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 Py_INCREF(Py_None
); resultobj
= Py_None
;
8954 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8955 PyObject
*resultobj
;
8956 wxString
*arg1
= 0 ;
8957 wxString
*arg2
= 0 ;
8958 bool temp1
= false ;
8959 bool temp2
= false ;
8960 PyObject
* obj0
= 0 ;
8961 PyObject
* obj1
= 0 ;
8963 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8965 arg1
= wxString_in_helper(obj0
);
8966 if (arg1
== NULL
) SWIG_fail
;
8970 arg2
= wxString_in_helper(obj1
);
8971 if (arg2
== NULL
) SWIG_fail
;
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8981 Py_INCREF(Py_None
); resultobj
= Py_None
;
9004 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9009 argc
= PyObject_Length(args
);
9010 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9011 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9016 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9020 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9023 return _wrap_LogTrace__SWIG_1(self
,args
);
9029 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9032 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9035 return _wrap_LogTrace__SWIG_0(self
,args
);
9040 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9045 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 unsigned long arg1
;
9048 wxString
*arg2
= 0 ;
9049 bool temp2
= false ;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9053 (char *) "level",(char *) "msg", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9057 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 arg2
= wxString_in_helper(obj1
);
9061 if (arg2
== NULL
) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 Py_INCREF(Py_None
); resultobj
= Py_None
;
9086 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxString
*arg1
= 0 ;
9089 wxString
*arg2
= 0 ;
9090 bool temp1
= false ;
9091 bool temp2
= false ;
9092 PyObject
* obj0
= 0 ;
9093 PyObject
* obj1
= 0 ;
9095 (char *) "title",(char *) "text", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9100 arg1
= wxString_in_helper(obj0
);
9101 if (arg1
== NULL
) SWIG_fail
;
9105 arg2
= wxString_in_helper(obj1
);
9106 if (arg2
== NULL
) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 Py_INCREF(Py_None
); resultobj
= Py_None
;
9139 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (wxLogNull
*)new wxLogNull();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9161 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
;
9163 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9166 (char *) "self", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 Py_INCREF(Py_None
); resultobj
= Py_None
;
9186 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9189 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9191 return Py_BuildValue((char *)"");
9193 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 result
= (wxPyLog
*)new wxPyLog();
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9215 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9218 PyObject
*arg2
= (PyObject
*) 0 ;
9219 PyObject
*arg3
= (PyObject
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 PyObject
* obj2
= 0 ;
9224 (char *) "self",(char *) "self",(char *) "_class", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9249 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9251 return Py_BuildValue((char *)"");
9253 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9256 int arg2
= (int) wxSIGTERM
;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9261 (char *) "pid",(char *) "sig", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9265 arg1
= (int)SWIG_As_int(obj0
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 arg2
= (int)SWIG_As_int(obj1
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_From_int((int)result
);
9285 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9289 PyObject
* obj0
= 0 ;
9291 (char *) "pid", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9295 arg1
= (int)SWIG_As_int(obj0
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)wxPyProcess::Exists(arg1
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9313 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxString
*arg1
= 0 ;
9316 int arg2
= (int) wxEXEC_ASYNC
;
9317 wxPyProcess
*result
;
9318 bool temp1
= false ;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9322 (char *) "cmd",(char *) "flags", NULL
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9327 arg1
= wxString_in_helper(obj0
);
9328 if (arg1
== NULL
) SWIG_fail
;
9332 arg2
= (int)SWIG_As_int(obj1
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9357 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9360 int arg2
= (int) -1 ;
9361 wxPyProcess
*result
;
9362 PyObject
* obj0
= 0 ;
9363 PyObject
* obj1
= 0 ;
9365 (char *) "parent",(char *) "id", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9374 arg2
= (int)SWIG_As_int(obj1
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9391 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9394 PyObject
*arg2
= (PyObject
*) 0 ;
9395 PyObject
*arg3
= (PyObject
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 PyObject
* obj2
= 0 ;
9400 (char *) "self",(char *) "self",(char *) "_class", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 Py_INCREF(Py_None
); resultobj
= Py_None
;
9422 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 PyObject
* obj2
= 0 ;
9431 (char *) "self",(char *) "pid",(char *) "status", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9437 arg2
= (int)SWIG_As_int(obj1
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9439 arg3
= (int)SWIG_As_int(obj2
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 (arg1
)->base_OnTerminate(arg2
,arg3
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 Py_INCREF(Py_None
); resultobj
= Py_None
;
9455 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9458 PyObject
* obj0
= 0 ;
9460 (char *) "self", NULL
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 Py_INCREF(Py_None
); resultobj
= Py_None
;
9480 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9484 PyObject
* obj0
= 0 ;
9486 (char *) "self", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (bool)(arg1
)->IsRedirected();
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9508 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 Py_INCREF(Py_None
); resultobj
= Py_None
;
9533 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9536 wxInputStream
*result
;
9537 PyObject
* obj0
= 0 ;
9539 (char *) "self", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 wxPyInputStream
* _ptr
= NULL
;
9556 _ptr
= new wxPyInputStream(result
);
9558 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
9566 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9569 wxInputStream
*result
;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 wxPyInputStream
* _ptr
= NULL
;
9589 _ptr
= new wxPyInputStream(result
);
9591 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
9599 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9602 wxOutputStream
*result
;
9603 PyObject
* obj0
= 0 ;
9605 (char *) "self", NULL
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9625 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9630 (char *) "self", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 (arg1
)->CloseOutput();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 Py_INCREF(Py_None
); resultobj
= Py_None
;
9650 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9656 (char *) "self", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9678 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "self", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9706 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9712 (char *) "self", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9734 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9737 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9739 return Py_BuildValue((char *)"");
9741 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 int arg1
= (int) 0 ;
9744 int arg2
= (int) 0 ;
9745 int arg3
= (int) 0 ;
9746 wxProcessEvent
*result
;
9747 PyObject
* obj0
= 0 ;
9748 PyObject
* obj1
= 0 ;
9749 PyObject
* obj2
= 0 ;
9751 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9756 arg1
= (int)SWIG_As_int(obj0
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9760 arg2
= (int)SWIG_As_int(obj1
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 arg3
= (int)SWIG_As_int(obj2
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9781 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9787 (char *) "self", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (int)(arg1
)->GetPid();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_From_int((int)result
);
9807 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9811 PyObject
* obj0
= 0 ;
9813 (char *) "self", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (int)(arg1
)->GetExitCode();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_From_int((int)result
);
9833 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9837 PyObject
* obj0
= 0 ;
9838 PyObject
* obj1
= 0 ;
9840 (char *) "self",(char *) "m_pid", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9846 arg2
= (int)SWIG_As_int(obj1
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9848 if (arg1
) (arg1
)->m_pid
= arg2
;
9850 Py_INCREF(Py_None
); resultobj
= Py_None
;
9857 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9859 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9861 PyObject
* obj0
= 0 ;
9863 (char *) "self", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9869 result
= (int) ((arg1
)->m_pid
);
9871 resultobj
= SWIG_From_int((int)result
);
9878 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9882 PyObject
* obj0
= 0 ;
9883 PyObject
* obj1
= 0 ;
9885 (char *) "self",(char *) "m_exitcode", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9891 arg2
= (int)SWIG_As_int(obj1
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9893 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9895 Py_INCREF(Py_None
); resultobj
= Py_None
;
9902 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "self", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9914 result
= (int) ((arg1
)->m_exitcode
);
9916 resultobj
= SWIG_From_int((int)result
);
9923 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9928 return Py_BuildValue((char *)"");
9930 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxString
*arg1
= 0 ;
9933 int arg2
= (int) wxEXEC_ASYNC
;
9934 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9936 bool temp1
= false ;
9937 PyObject
* obj0
= 0 ;
9938 PyObject
* obj1
= 0 ;
9939 PyObject
* obj2
= 0 ;
9941 (char *) "command",(char *) "flags",(char *) "process", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9946 arg1
= wxString_in_helper(obj0
);
9947 if (arg1
== NULL
) SWIG_fail
;
9951 arg2
= (int)SWIG_As_int(obj1
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9959 if (!wxPyCheckForApp()) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_From_long((long)result
);
9981 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 int arg1
= (int) wxJOYSTICK1
;
9985 PyObject
* obj0
= 0 ;
9987 (char *) "joystick", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9992 arg1
= (int)SWIG_As_int(obj0
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 if (!wxPyCheckForApp()) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (wxJoystick
*)new wxJoystick(arg1
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10010 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 Py_INCREF(Py_None
); resultobj
= Py_None
;
10035 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10039 PyObject
* obj0
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "self", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= (arg1
)->GetPosition();
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10055 wxPoint
* resultptr
;
10056 resultptr
= new wxPoint((wxPoint
&) result
);
10057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10065 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (int)(arg1
)->GetZPosition();
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 resultobj
= SWIG_From_int((int)result
);
10091 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (int)(arg1
)->GetButtonState();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= SWIG_From_int((int)result
);
10117 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)(arg1
)->GetPOVPosition();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_From_int((int)result
);
10143 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10147 PyObject
* obj0
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (int)(arg1
)->GetPOVCTSPosition();
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_From_int((int)result
);
10169 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
;
10171 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10173 PyObject
* obj0
= 0 ;
10174 char *kwnames
[] = {
10175 (char *) "self", NULL
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= (int)(arg1
)->GetRudderPosition();
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= SWIG_From_int((int)result
);
10195 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10199 PyObject
* obj0
= 0 ;
10200 char *kwnames
[] = {
10201 (char *) "self", NULL
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (int)(arg1
)->GetUPosition();
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= SWIG_From_int((int)result
);
10221 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
*resultobj
;
10223 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10225 PyObject
* obj0
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (int)(arg1
)->GetVPosition();
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_From_int((int)result
);
10247 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10251 PyObject
* obj0
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "self", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= (int)(arg1
)->GetMovementThreshold();
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 resultobj
= SWIG_From_int((int)result
);
10273 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10277 PyObject
* obj0
= 0 ;
10278 PyObject
* obj1
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self",(char *) "threshold", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10286 arg2
= (int)SWIG_As_int(obj1
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 (arg1
)->SetMovementThreshold(arg2
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 Py_INCREF(Py_None
); resultobj
= Py_None
;
10302 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
;
10304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10306 PyObject
* obj0
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "self", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (bool)(arg1
)->IsOk();
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10330 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10334 PyObject
* obj0
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "self", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (int)(arg1
)->GetNumberJoysticks();
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_From_int((int)result
);
10356 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10360 PyObject
* obj0
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "self", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (int)(arg1
)->GetManufacturerId();
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= SWIG_From_int((int)result
);
10382 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10384 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (int)(arg1
)->GetProductId();
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= SWIG_From_int((int)result
);
10408 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10412 PyObject
* obj0
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "self", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (arg1
)->GetProductName();
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10440 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10444 PyObject
* obj0
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 result
= (int)(arg1
)->GetXMin();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_From_int((int)result
);
10466 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10470 PyObject
* obj0
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (int)(arg1
)->GetYMin();
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_From_int((int)result
);
10492 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (int)(arg1
)->GetZMin();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_From_int((int)result
);
10518 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (int)(arg1
)->GetXMax();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_From_int((int)result
);
10544 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (int)(arg1
)->GetYMax();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_From_int((int)result
);
10570 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
;
10572 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10574 PyObject
* obj0
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (int)(arg1
)->GetZMax();
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= SWIG_From_int((int)result
);
10596 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (int)(arg1
)->GetNumberButtons();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_From_int((int)result
);
10622 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 result
= (int)(arg1
)->GetNumberAxes();
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= SWIG_From_int((int)result
);
10648 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10652 PyObject
* obj0
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (int)(arg1
)->GetMaxButtons();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_From_int((int)result
);
10674 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (int)(arg1
)->GetMaxAxes();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_From_int((int)result
);
10700 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10704 PyObject
* obj0
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (int)(arg1
)->GetPollingMin();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_From_int((int)result
);
10726 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
;
10728 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10730 PyObject
* obj0
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 result
= (int)(arg1
)->GetPollingMax();
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= SWIG_From_int((int)result
);
10752 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (int)(arg1
)->GetRudderMin();
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= SWIG_From_int((int)result
);
10778 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 result
= (int)(arg1
)->GetRudderMax();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_From_int((int)result
);
10804 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (int)(arg1
)->GetUMin();
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= SWIG_From_int((int)result
);
10830 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "self", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (int)(arg1
)->GetUMax();
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_From_int((int)result
);
10856 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10860 PyObject
* obj0
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (int)(arg1
)->GetVMin();
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_From_int((int)result
);
10882 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 result
= (int)(arg1
)->GetVMax();
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= SWIG_From_int((int)result
);
10908 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
;
10910 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10912 PyObject
* obj0
= 0 ;
10913 char *kwnames
[] = {
10914 (char *) "self", NULL
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= (bool)(arg1
)->HasRudder();
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10936 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10940 PyObject
* obj0
= 0 ;
10941 char *kwnames
[] = {
10942 (char *) "self", NULL
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (bool)(arg1
)->HasZ();
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10964 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
;
10966 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (bool)(arg1
)->HasU();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10992 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10996 PyObject
* obj0
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
11002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (bool)(arg1
)->HasV();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11020 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
;
11022 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (bool)(arg1
)->HasPOV();
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11048 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11052 PyObject
* obj0
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)(arg1
)->HasPOV4Dir();
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11076 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 char *kwnames
[] = {
11082 (char *) "self", NULL
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (bool)(arg1
)->HasPOVCTS();
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11104 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11107 wxWindow
*arg2
= (wxWindow
*) 0 ;
11108 int arg3
= (int) 0 ;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 PyObject
* obj2
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11123 arg3
= (int)SWIG_As_int(obj2
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11142 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)(arg1
)->ReleaseCapture();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11173 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11175 return Py_BuildValue((char *)"");
11177 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11178 PyObject
*resultobj
;
11179 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11180 wxPoint
*arg2
= (wxPoint
*) 0 ;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self",(char *) "m_pos", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11192 if (arg1
) (arg1
)->m_pos
= *arg2
;
11194 Py_INCREF(Py_None
); resultobj
= Py_None
;
11201 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11213 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11222 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 PyObject
* obj1
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "self",(char *) "m_zPosition", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11235 arg2
= (int)SWIG_As_int(obj1
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11237 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11239 Py_INCREF(Py_None
); resultobj
= Py_None
;
11246 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 char *kwnames
[] = {
11252 (char *) "self", NULL
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11258 result
= (int) ((arg1
)->m_zPosition
);
11260 resultobj
= SWIG_From_int((int)result
);
11267 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11271 PyObject
* obj0
= 0 ;
11272 PyObject
* obj1
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "self",(char *) "m_buttonChange", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11280 arg2
= (int)SWIG_As_int(obj1
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11282 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11284 Py_INCREF(Py_None
); resultobj
= Py_None
;
11291 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 char *kwnames
[] = {
11297 (char *) "self", NULL
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11303 result
= (int) ((arg1
)->m_buttonChange
);
11305 resultobj
= SWIG_From_int((int)result
);
11312 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11314 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11316 PyObject
* obj0
= 0 ;
11317 PyObject
* obj1
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "m_buttonState", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11325 arg2
= (int)SWIG_As_int(obj1
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11327 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11329 Py_INCREF(Py_None
); resultobj
= Py_None
;
11336 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11348 result
= (int) ((arg1
)->m_buttonState
);
11350 resultobj
= SWIG_From_int((int)result
);
11357 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self",(char *) "m_joyStick", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11370 arg2
= (int)SWIG_As_int(obj1
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11372 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11374 Py_INCREF(Py_None
); resultobj
= Py_None
;
11381 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11385 PyObject
* obj0
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11393 result
= (int) ((arg1
)->m_joyStick
);
11395 resultobj
= SWIG_From_int((int)result
);
11402 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11405 int arg2
= (int) 0 ;
11406 int arg3
= (int) wxJOYSTICK1
;
11407 int arg4
= (int) 0 ;
11408 wxJoystickEvent
*result
;
11409 PyObject
* obj0
= 0 ;
11410 PyObject
* obj1
= 0 ;
11411 PyObject
* obj2
= 0 ;
11412 PyObject
* obj3
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11419 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 arg2
= (int)SWIG_As_int(obj1
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11427 arg3
= (int)SWIG_As_int(obj2
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 arg4
= (int)SWIG_As_int(obj3
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11448 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
;
11450 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11468 wxPoint
* resultptr
;
11469 resultptr
= new wxPoint((wxPoint
&) result
);
11470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11478 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_From_int((int)result
);
11504 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11508 PyObject
* obj0
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "self", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_From_int((int)result
);
11530 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_From_int((int)result
);
11556 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "self", NULL
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= SWIG_From_int((int)result
);
11582 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11586 PyObject
* obj0
= 0 ;
11587 PyObject
* obj1
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "self",(char *) "stick", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11595 arg2
= (int)SWIG_As_int(obj1
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 (arg1
)->SetJoystick(arg2
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 Py_INCREF(Py_None
); resultobj
= Py_None
;
11611 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 PyObject
* obj1
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "self",(char *) "state", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11624 arg2
= (int)SWIG_As_int(obj1
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 (arg1
)->SetButtonState(arg2
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 Py_INCREF(Py_None
); resultobj
= Py_None
;
11640 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11642 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self",(char *) "change", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11653 arg2
= (int)SWIG_As_int(obj1
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 (arg1
)->SetButtonChange(arg2
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 Py_INCREF(Py_None
); resultobj
= Py_None
;
11669 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11672 wxPoint
*arg2
= 0 ;
11674 PyObject
* obj0
= 0 ;
11675 PyObject
* obj1
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "pos", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 Py_INCREF(Py_None
); resultobj
= Py_None
;
11701 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
;
11703 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11705 PyObject
* obj0
= 0 ;
11706 PyObject
* obj1
= 0 ;
11707 char *kwnames
[] = {
11708 (char *) "self",(char *) "zPos", NULL
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11714 arg2
= (int)SWIG_As_int(obj1
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 (arg1
)->SetZPosition(arg2
);
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11723 Py_INCREF(Py_None
); resultobj
= Py_None
;
11730 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11734 PyObject
* obj0
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11758 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11762 PyObject
* obj0
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11786 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11790 PyObject
* obj0
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11814 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11815 PyObject
*resultobj
;
11816 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11817 int arg2
= (int) wxJOY_BUTTON_ANY
;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "self",(char *) "but", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11829 arg2
= (int)SWIG_As_int(obj1
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11848 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11851 int arg2
= (int) wxJOY_BUTTON_ANY
;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self",(char *) "but", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11863 arg2
= (int)SWIG_As_int(obj1
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11882 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11883 PyObject
*resultobj
;
11884 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11885 int arg2
= (int) wxJOY_BUTTON_ANY
;
11887 PyObject
* obj0
= 0 ;
11888 PyObject
* obj1
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self",(char *) "but", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11897 arg2
= (int)SWIG_As_int(obj1
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11916 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11919 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11921 return Py_BuildValue((char *)"");
11923 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11926 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11928 bool temp1
= false ;
11929 PyObject
* obj0
= 0 ;
11930 char *kwnames
[] = {
11931 (char *) "fileName", NULL
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11937 arg1
= wxString_in_helper(obj0
);
11938 if (arg1
== NULL
) SWIG_fail
;
11943 if (!wxPyCheckForApp()) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11965 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 PyObject
*arg1
= (PyObject
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "data", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11977 if (!wxPyCheckForApp()) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (wxSound
*)new_wxSound(arg1
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11991 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxSound
*arg1
= (wxSound
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 char *kwnames
[] = {
11996 (char *) "self", NULL
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
12000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 Py_INCREF(Py_None
); resultobj
= Py_None
;
12016 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxSound
*arg1
= (wxSound
*) 0 ;
12019 wxString
*arg2
= 0 ;
12021 bool temp2
= false ;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self",(char *) "fileName", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12032 arg2
= wxString_in_helper(obj1
);
12033 if (arg2
== NULL
) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12060 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxSound
*arg1
= (wxSound
*) 0 ;
12063 PyObject
*arg2
= (PyObject
*) 0 ;
12065 PyObject
* obj0
= 0 ;
12066 PyObject
* obj1
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "self",(char *) "data", NULL
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12091 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxSound
*arg1
= (wxSound
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",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();
12105 result
= (bool)(arg1
)->IsOk();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12119 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxSound
*arg1
= (wxSound
*) 0 ;
12122 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self",(char *) "flags", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12134 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 if (!wxPyCheckForApp()) SWIG_fail
;
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12154 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxString
*arg1
= 0 ;
12157 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12159 bool temp1
= false ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 char *kwnames
[] = {
12163 (char *) "filename",(char *) "flags", NULL
12166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12168 arg1
= wxString_in_helper(obj0
);
12169 if (arg1
== NULL
) SWIG_fail
;
12173 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12177 if (!wxPyCheckForApp()) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12201 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 char *kwnames
[] = {
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12209 if (!wxPyCheckForApp()) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 Py_INCREF(Py_None
); resultobj
= Py_None
;
12223 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12226 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12228 return Py_BuildValue((char *)"");
12230 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxString
*arg1
= 0 ;
12233 wxString
*arg2
= 0 ;
12234 wxString
*arg3
= 0 ;
12235 wxString
*arg4
= 0 ;
12236 wxFileTypeInfo
*result
;
12237 bool temp1
= false ;
12238 bool temp2
= false ;
12239 bool temp3
= false ;
12240 bool temp4
= false ;
12241 PyObject
* obj0
= 0 ;
12242 PyObject
* obj1
= 0 ;
12243 PyObject
* obj2
= 0 ;
12244 PyObject
* obj3
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12251 arg1
= wxString_in_helper(obj0
);
12252 if (arg1
== NULL
) SWIG_fail
;
12256 arg2
= wxString_in_helper(obj1
);
12257 if (arg2
== NULL
) SWIG_fail
;
12261 arg3
= wxString_in_helper(obj2
);
12262 if (arg3
== NULL
) SWIG_fail
;
12266 arg4
= wxString_in_helper(obj3
);
12267 if (arg4
== NULL
) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12316 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxArrayString
*arg1
= 0 ;
12319 wxFileTypeInfo
*result
;
12320 bool temp1
= false ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "sArray", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12328 if (! PySequence_Check(obj0
)) {
12329 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12332 arg1
= new wxArrayString
;
12334 int i
, len
=PySequence_Length(obj0
);
12335 for (i
=0; i
<len
; i
++) {
12336 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12338 PyObject
* str
= PyObject_Unicode(item
);
12340 PyObject
* str
= PyObject_Str(item
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12343 arg1
->Add(Py2wxString(str
));
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12357 if (temp1
) delete arg1
;
12362 if (temp1
) delete arg1
;
12368 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
;
12370 wxFileTypeInfo
*result
;
12371 char *kwnames
[] = {
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12390 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
;
12392 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12394 PyObject
* obj0
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12418 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12421 wxString
*arg2
= 0 ;
12422 int arg3
= (int) 0 ;
12423 bool temp2
= false ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 PyObject
* obj2
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 arg2
= wxString_in_helper(obj1
);
12436 if (arg2
== NULL
) SWIG_fail
;
12440 arg3
= (int)SWIG_As_int(obj2
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 Py_INCREF(Py_None
); resultobj
= Py_None
;
12465 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12468 wxString
*arg2
= 0 ;
12469 bool temp2
= false ;
12470 PyObject
* obj0
= 0 ;
12471 PyObject
* obj1
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self",(char *) "shortDesc", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12480 arg2
= wxString_in_helper(obj1
);
12481 if (arg2
== NULL
) SWIG_fail
;
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 Py_INCREF(Py_None
); resultobj
= Py_None
;
12506 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12510 PyObject
* obj0
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12522 result
= (wxString
*) &_result_ref
;
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12541 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12545 PyObject
* obj0
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12557 result
= (wxString
*) &_result_ref
;
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12567 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12576 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
;
12578 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12592 result
= (wxString
*) &_result_ref
;
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12602 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12611 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12627 result
= (wxString
*) &_result_ref
;
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12646 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12662 result
= (wxString
*) &_result_ref
;
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12672 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12681 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12684 wxArrayString
*result
;
12685 PyObject
* obj0
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12697 result
= (wxArrayString
*) &_result_ref
;
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= wxArrayString2PyList_helper(*result
);
12712 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(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_GetExtensionsCount",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();
12726 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_From_int((int)result
);
12738 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12754 result
= (wxString
*) &_result_ref
;
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12764 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12773 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 char *kwnames
[] = {
12779 (char *) "self", NULL
12782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= SWIG_From_int((int)result
);
12799 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12802 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12804 return Py_BuildValue((char *)"");
12806 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxFileTypeInfo
*arg1
= 0 ;
12809 wxFileType
*result
;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "ftInfo", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12819 if (arg1
== NULL
) {
12820 PyErr_SetString(PyExc_TypeError
,"null reference");
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12837 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxFileType
*arg1
= (wxFileType
*) 0 ;
12840 PyObject
* obj0
= 0 ;
12841 char *kwnames
[] = {
12842 (char *) "self", NULL
12845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 Py_INCREF(Py_None
); resultobj
= Py_None
;
12862 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxFileType
*arg1
= (wxFileType
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= result
;
12888 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxFileType
*arg1
= (wxFileType
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= result
;
12914 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxFileType
*arg1
= (wxFileType
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= result
;
12940 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxFileType
*arg1
= (wxFileType
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12966 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12968 wxFileType
*arg1
= (wxFileType
*) 0 ;
12970 PyObject
* obj0
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= result
;
12992 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxFileType
*arg1
= (wxFileType
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= result
;
13018 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxFileType
*arg1
= (wxFileType
*) 0 ;
13021 wxString
*arg2
= 0 ;
13022 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13023 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13025 bool temp2
= false ;
13026 bool temp3
= false ;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 PyObject
* obj2
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13038 arg2
= wxString_in_helper(obj1
);
13039 if (arg2
== NULL
) SWIG_fail
;
13044 arg3
= wxString_in_helper(obj2
);
13045 if (arg3
== NULL
) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= result
;
13079 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxFileType
*arg1
= (wxFileType
*) 0 ;
13082 wxString
*arg2
= 0 ;
13083 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13084 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13086 bool temp2
= false ;
13087 bool temp3
= false ;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 PyObject
* obj2
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 arg2
= wxString_in_helper(obj1
);
13100 if (arg2
== NULL
) SWIG_fail
;
13105 arg3
= wxString_in_helper(obj2
);
13106 if (arg3
== NULL
) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= result
;
13140 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxFileType
*arg1
= (wxFileType
*) 0 ;
13143 wxString
*arg2
= 0 ;
13144 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13145 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13147 bool temp2
= false ;
13148 bool temp3
= false ;
13149 PyObject
* obj0
= 0 ;
13150 PyObject
* obj1
= 0 ;
13151 PyObject
* obj2
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13160 arg2
= wxString_in_helper(obj1
);
13161 if (arg2
== NULL
) SWIG_fail
;
13166 arg3
= wxString_in_helper(obj2
);
13167 if (arg3
== NULL
) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= result
;
13201 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxFileType
*arg1
= (wxFileType
*) 0 ;
13204 wxString
*arg2
= 0 ;
13205 wxString
*arg3
= 0 ;
13206 bool arg4
= (bool) true ;
13208 bool temp2
= false ;
13209 bool temp3
= false ;
13210 PyObject
* obj0
= 0 ;
13211 PyObject
* obj1
= 0 ;
13212 PyObject
* obj2
= 0 ;
13213 PyObject
* obj3
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13222 arg2
= wxString_in_helper(obj1
);
13223 if (arg2
== NULL
) SWIG_fail
;
13227 arg3
= wxString_in_helper(obj2
);
13228 if (arg3
== NULL
) SWIG_fail
;
13232 arg4
= (bool)SWIG_As_bool(obj3
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13267 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxFileType
*arg1
= (wxFileType
*) 0 ;
13270 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13271 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13272 int arg3
= (int) 0 ;
13274 bool temp2
= false ;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 PyObject
* obj2
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self",(char *) "cmd",(char *) "index", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 arg2
= wxString_in_helper(obj1
);
13288 if (arg2
== NULL
) SWIG_fail
;
13293 arg3
= (int)SWIG_As_int(obj2
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13320 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxFileType
*arg1
= (wxFileType
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "self", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (bool)(arg1
)->Unassociate();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13348 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
;
13350 wxString
*arg1
= 0 ;
13351 wxString
*arg2
= 0 ;
13352 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13353 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13355 bool temp1
= false ;
13356 bool temp2
= false ;
13357 bool temp3
= false ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 PyObject
* obj2
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13367 arg1
= wxString_in_helper(obj0
);
13368 if (arg1
== NULL
) SWIG_fail
;
13372 arg2
= wxString_in_helper(obj1
);
13373 if (arg2
== NULL
) SWIG_fail
;
13378 arg3
= wxString_in_helper(obj2
);
13379 if (arg3
== NULL
) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13427 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13430 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13432 return Py_BuildValue((char *)"");
13434 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13435 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13440 static PyObject
*_wrap_TheMimeTypesManager_get() {
13443 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13448 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxString
*arg1
= 0 ;
13451 wxString
*arg2
= 0 ;
13453 bool temp1
= false ;
13454 bool temp2
= false ;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "mimeType",(char *) "wildcard", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13463 arg1
= wxString_in_helper(obj0
);
13464 if (arg1
== NULL
) SWIG_fail
;
13468 arg2
= wxString_in_helper(obj1
);
13469 if (arg2
== NULL
) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxMimeTypesManager
*result
;
13507 char *kwnames
[] = {
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13526 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13529 int arg2
= (int) wxMAILCAP_ALL
;
13530 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13531 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13532 bool temp3
= false ;
13533 PyObject
* obj0
= 0 ;
13534 PyObject
* obj1
= 0 ;
13535 PyObject
* obj2
= 0 ;
13536 char *kwnames
[] = {
13537 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13544 arg2
= (int)SWIG_As_int(obj1
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13549 arg3
= wxString_in_helper(obj2
);
13550 if (arg3
== NULL
) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 Py_INCREF(Py_None
); resultobj
= Py_None
;
13576 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
;
13578 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 (arg1
)->ClearData();
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 Py_INCREF(Py_None
); resultobj
= Py_None
;
13601 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13604 wxString
*arg2
= 0 ;
13605 wxFileType
*result
;
13606 bool temp2
= false ;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "self",(char *) "ext", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13617 arg2
= wxString_in_helper(obj1
);
13618 if (arg2
== NULL
) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13643 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13646 wxString
*arg2
= 0 ;
13647 wxFileType
*result
;
13648 bool temp2
= false ;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 char *kwnames
[] = {
13652 (char *) "self",(char *) "mimeType", NULL
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 arg2
= wxString_in_helper(obj1
);
13660 if (arg2
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13685 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13688 wxString
*arg2
= 0 ;
13689 bool arg3
= (bool) false ;
13691 bool temp2
= false ;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 PyObject
* obj2
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13703 arg2
= wxString_in_helper(obj1
);
13704 if (arg2
== NULL
) SWIG_fail
;
13708 arg3
= (bool)SWIG_As_bool(obj2
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13735 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13738 wxString
*arg2
= 0 ;
13740 bool temp2
= false ;
13741 PyObject
* obj0
= 0 ;
13742 PyObject
* obj1
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "self",(char *) "filename", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13751 arg2
= wxString_in_helper(obj1
);
13752 if (arg2
== NULL
) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13779 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= result
;
13805 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
;
13807 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13808 wxFileTypeInfo
*arg2
= 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self",(char *) "ft", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13821 if (arg2
== NULL
) {
13822 PyErr_SetString(PyExc_TypeError
,"null reference");
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 Py_INCREF(Py_None
); resultobj
= Py_None
;
13839 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13842 wxFileTypeInfo
*arg2
= 0 ;
13843 wxFileType
*result
;
13844 PyObject
* obj0
= 0 ;
13845 PyObject
* obj1
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "self",(char *) "ftInfo", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13856 if (arg2
== NULL
) {
13857 PyErr_SetString(PyExc_TypeError
,"null reference");
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13874 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13875 PyObject
*resultobj
;
13876 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13877 wxFileType
*arg2
= (wxFileType
*) 0 ;
13879 PyObject
* obj0
= 0 ;
13880 PyObject
* obj1
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "self",(char *) "ft", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (bool)(arg1
)->Unassociate(arg2
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13906 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
;
13908 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 Py_INCREF(Py_None
); resultobj
= Py_None
;
13931 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13934 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13936 return Py_BuildValue((char *)"");
13938 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13939 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13944 static PyObject
*_wrap_ART_TOOLBAR_get() {
13949 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13951 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13958 static int _wrap_ART_MENU_set(PyObject
*) {
13959 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13964 static PyObject
*_wrap_ART_MENU_get() {
13969 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13971 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13978 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13979 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13984 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13989 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13991 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13998 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13999 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
14004 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14009 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14011 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14018 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14019 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14024 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14029 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14031 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14038 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14039 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14044 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14049 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14051 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14058 static int _wrap_ART_BUTTON_set(PyObject
*) {
14059 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14064 static PyObject
*_wrap_ART_BUTTON_get() {
14069 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14071 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14078 static int _wrap_ART_OTHER_set(PyObject
*) {
14079 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14084 static PyObject
*_wrap_ART_OTHER_get() {
14089 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14091 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14098 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14099 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14104 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14109 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14111 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14118 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14119 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14124 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14129 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14131 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14138 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14139 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14144 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14149 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14151 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14158 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14159 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14164 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14169 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14171 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14178 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14179 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14184 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14189 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14191 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14198 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14199 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14204 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14209 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14211 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14218 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14219 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14224 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14229 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14231 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14238 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14239 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14244 static PyObject
*_wrap_ART_GO_BACK_get() {
14249 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14251 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14258 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14259 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14264 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14269 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14271 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14278 static int _wrap_ART_GO_UP_set(PyObject
*) {
14279 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14284 static PyObject
*_wrap_ART_GO_UP_get() {
14289 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14291 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14298 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14299 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14304 static PyObject
*_wrap_ART_GO_DOWN_get() {
14309 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14311 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14318 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14319 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14324 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14329 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14331 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14338 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14339 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14344 static PyObject
*_wrap_ART_GO_HOME_get() {
14349 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14351 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14358 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14359 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14364 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14369 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14371 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14378 static int _wrap_ART_PRINT_set(PyObject
*) {
14379 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14384 static PyObject
*_wrap_ART_PRINT_get() {
14389 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14391 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14398 static int _wrap_ART_HELP_set(PyObject
*) {
14399 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14404 static PyObject
*_wrap_ART_HELP_get() {
14409 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14411 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14418 static int _wrap_ART_TIP_set(PyObject
*) {
14419 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14424 static PyObject
*_wrap_ART_TIP_get() {
14429 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14431 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14438 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14439 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14444 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14449 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14451 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14458 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14459 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14464 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14469 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14471 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14478 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14479 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14484 static PyObject
*_wrap_ART_NEW_DIR_get() {
14489 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14491 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14498 static int _wrap_ART_FOLDER_set(PyObject
*) {
14499 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14504 static PyObject
*_wrap_ART_FOLDER_get() {
14509 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14511 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14518 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14519 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14524 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14529 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14531 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14538 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14539 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14544 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14549 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14551 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14558 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14559 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14564 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14569 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14571 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14578 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14579 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14584 static PyObject
*_wrap_ART_TICK_MARK_get() {
14589 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14591 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14598 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14599 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14604 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14609 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14611 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14618 static int _wrap_ART_ERROR_set(PyObject
*) {
14619 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14624 static PyObject
*_wrap_ART_ERROR_get() {
14629 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14631 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14638 static int _wrap_ART_QUESTION_set(PyObject
*) {
14639 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14644 static PyObject
*_wrap_ART_QUESTION_get() {
14649 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14651 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14658 static int _wrap_ART_WARNING_set(PyObject
*) {
14659 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14664 static PyObject
*_wrap_ART_WARNING_get() {
14669 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14671 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14678 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14679 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14684 static PyObject
*_wrap_ART_INFORMATION_get() {
14689 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14691 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14698 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14699 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14704 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14709 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14711 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14718 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxPyArtProvider
*result
;
14721 char *kwnames
[] = {
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14727 if (!wxPyCheckForApp()) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14741 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14744 PyObject
*arg2
= (PyObject
*) 0 ;
14745 PyObject
*arg3
= (PyObject
*) 0 ;
14746 PyObject
* obj0
= 0 ;
14747 PyObject
* obj1
= 0 ;
14748 PyObject
* obj2
= 0 ;
14749 char *kwnames
[] = {
14750 (char *) "self",(char *) "self",(char *) "_class", NULL
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 Py_INCREF(Py_None
); resultobj
= Py_None
;
14772 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
;
14774 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "provider", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 wxPyArtProvider::PushProvider(arg1
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 Py_INCREF(Py_None
); resultobj
= Py_None
;
14797 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14800 char *kwnames
[] = {
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (bool)wxPyArtProvider::PopProvider();
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14821 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "provider", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14849 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxString
*arg1
= 0 ;
14852 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14853 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14854 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14855 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14857 bool temp1
= false ;
14858 bool temp2
= false ;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 PyObject
* obj2
= 0 ;
14863 char *kwnames
[] = {
14864 (char *) "id",(char *) "client",(char *) "size", NULL
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14869 arg1
= wxString_in_helper(obj0
);
14870 if (arg1
== NULL
) SWIG_fail
;
14875 arg2
= wxString_in_helper(obj1
);
14876 if (arg2
== NULL
) SWIG_fail
;
14883 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14887 if (!wxPyCheckForApp()) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14895 wxBitmap
* resultptr
;
14896 resultptr
= new wxBitmap((wxBitmap
&) result
);
14897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14921 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxString
*arg1
= 0 ;
14924 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14925 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14926 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14927 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14929 bool temp1
= false ;
14930 bool temp2
= false ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 PyObject
* obj2
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "id",(char *) "client",(char *) "size", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14941 arg1
= wxString_in_helper(obj0
);
14942 if (arg1
== NULL
) SWIG_fail
;
14947 arg2
= wxString_in_helper(obj1
);
14948 if (arg2
== NULL
) SWIG_fail
;
14955 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14959 if (!wxPyCheckForApp()) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14967 wxIcon
* resultptr
;
14968 resultptr
= new wxIcon((wxIcon
&) result
);
14969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14993 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
;
14995 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 wxPyArtProvider_Destroy(arg1
);
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 Py_INCREF(Py_None
); resultobj
= Py_None
;
15018 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15021 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15023 return Py_BuildValue((char *)"");
15025 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 Py_INCREF(Py_None
); resultobj
= Py_None
;
15050 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15053 wxConfigBase
*result
;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "config", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15076 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 bool arg1
= (bool) true ;
15079 wxConfigBase
*result
;
15080 PyObject
* obj0
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "createOnDemand", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15087 arg1
= (bool)SWIG_As_bool(obj0
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15104 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxConfigBase
*result
;
15107 char *kwnames
[] = {
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (wxConfigBase
*)wxConfigBase::Create();
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15126 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 char *kwnames
[] = {
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 wxConfigBase::DontCreateOnDemand();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15150 wxString
*arg2
= 0 ;
15151 bool temp2
= false ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "path", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15162 arg2
= wxString_in_helper(obj1
);
15163 if (arg2
== NULL
) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 (arg1
)->SetPath((wxString
const &)*arg2
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 Py_INCREF(Py_None
); resultobj
= Py_None
;
15188 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15204 result
= (wxString
*) &_result_ref
;
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15223 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= result
;
15249 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self",(char *) "index", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 arg2
= (long)SWIG_As_long(obj1
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
;
15279 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= result
;
15305 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 PyObject
* obj1
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self",(char *) "index", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 arg2
= (long)SWIG_As_long(obj1
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= result
;
15335 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15338 bool arg2
= (bool) false ;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self",(char *) "recursive", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15350 arg2
= (bool)SWIG_As_bool(obj1
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15367 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15369 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15370 bool arg2
= (bool) false ;
15372 PyObject
* obj0
= 0 ;
15373 PyObject
* obj1
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self",(char *) "recursive", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 arg2
= (bool)SWIG_As_bool(obj1
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15399 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15402 wxString
*arg2
= 0 ;
15404 bool temp2
= false ;
15405 PyObject
* obj0
= 0 ;
15406 PyObject
* obj1
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self",(char *) "name", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15415 arg2
= wxString_in_helper(obj1
);
15416 if (arg2
== NULL
) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15443 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15446 wxString
*arg2
= 0 ;
15448 bool temp2
= false ;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self",(char *) "name", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15459 arg2
= wxString_in_helper(obj1
);
15460 if (arg2
== NULL
) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15487 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15490 wxString
*arg2
= 0 ;
15492 bool temp2
= false ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self",(char *) "name", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15503 arg2
= wxString_in_helper(obj1
);
15504 if (arg2
== NULL
) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15531 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15534 wxString
*arg2
= 0 ;
15536 bool temp2
= false ;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self",(char *) "name", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15547 arg2
= wxString_in_helper(obj1
);
15548 if (arg2
== NULL
) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= SWIG_From_int((int)result
);
15573 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15576 wxString
*arg2
= 0 ;
15577 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15578 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15580 bool temp2
= false ;
15581 bool temp3
= false ;
15582 PyObject
* obj0
= 0 ;
15583 PyObject
* obj1
= 0 ;
15584 PyObject
* obj2
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15593 arg2
= wxString_in_helper(obj1
);
15594 if (arg2
== NULL
) SWIG_fail
;
15599 arg3
= wxString_in_helper(obj2
);
15600 if (arg3
== NULL
) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15640 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15643 wxString
*arg2
= 0 ;
15644 long arg3
= (long) 0 ;
15646 bool temp2
= false ;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 PyObject
* obj2
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15658 arg2
= wxString_in_helper(obj1
);
15659 if (arg2
== NULL
) SWIG_fail
;
15663 arg3
= (long)SWIG_As_long(obj2
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_From_long((long)result
);
15688 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15691 wxString
*arg2
= 0 ;
15692 double arg3
= (double) 0.0 ;
15694 bool temp2
= false ;
15695 PyObject
* obj0
= 0 ;
15696 PyObject
* obj1
= 0 ;
15697 PyObject
* obj2
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15706 arg2
= wxString_in_helper(obj1
);
15707 if (arg2
== NULL
) SWIG_fail
;
15711 arg3
= (double)SWIG_As_double(obj2
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_From_double((double)result
);
15736 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
;
15738 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15739 wxString
*arg2
= 0 ;
15740 bool arg3
= (bool) false ;
15742 bool temp2
= false ;
15743 PyObject
* obj0
= 0 ;
15744 PyObject
* obj1
= 0 ;
15745 PyObject
* obj2
= 0 ;
15746 char *kwnames
[] = {
15747 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15754 arg2
= wxString_in_helper(obj1
);
15755 if (arg2
== NULL
) SWIG_fail
;
15759 arg3
= (bool)SWIG_As_bool(obj2
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15786 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15789 wxString
*arg2
= 0 ;
15790 wxString
*arg3
= 0 ;
15792 bool temp2
= false ;
15793 bool temp3
= false ;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 PyObject
* obj2
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self",(char *) "key",(char *) "value", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15805 arg2
= wxString_in_helper(obj1
);
15806 if (arg2
== NULL
) SWIG_fail
;
15810 arg3
= wxString_in_helper(obj2
);
15811 if (arg3
== NULL
) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15846 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15849 wxString
*arg2
= 0 ;
15852 bool temp2
= false ;
15853 PyObject
* obj0
= 0 ;
15854 PyObject
* obj1
= 0 ;
15855 PyObject
* obj2
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self",(char *) "key",(char *) "value", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15864 arg2
= wxString_in_helper(obj1
);
15865 if (arg2
== NULL
) SWIG_fail
;
15868 arg3
= (long)SWIG_As_long(obj2
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15894 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15897 wxString
*arg2
= 0 ;
15900 bool temp2
= false ;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 PyObject
* obj2
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self",(char *) "key",(char *) "value", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 arg2
= wxString_in_helper(obj1
);
15913 if (arg2
== NULL
) SWIG_fail
;
15916 arg3
= (double)SWIG_As_double(obj2
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15942 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15945 wxString
*arg2
= 0 ;
15948 bool temp2
= false ;
15949 PyObject
* obj0
= 0 ;
15950 PyObject
* obj1
= 0 ;
15951 PyObject
* obj2
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self",(char *) "key",(char *) "value", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15960 arg2
= wxString_in_helper(obj1
);
15961 if (arg2
== NULL
) SWIG_fail
;
15964 arg3
= (bool)SWIG_As_bool(obj2
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15990 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15993 bool arg2
= (bool) false ;
15995 PyObject
* obj0
= 0 ;
15996 PyObject
* obj1
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "self",(char *) "currentOnly", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
16002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16005 arg2
= (bool)SWIG_As_bool(obj1
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 result
= (bool)(arg1
)->Flush(arg2
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16024 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
;
16026 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16027 wxString
*arg2
= 0 ;
16028 wxString
*arg3
= 0 ;
16030 bool temp2
= false ;
16031 bool temp3
= false ;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 PyObject
* obj2
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16043 arg2
= wxString_in_helper(obj1
);
16044 if (arg2
== NULL
) SWIG_fail
;
16048 arg3
= wxString_in_helper(obj2
);
16049 if (arg3
== NULL
) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16084 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16087 wxString
*arg2
= 0 ;
16088 wxString
*arg3
= 0 ;
16090 bool temp2
= false ;
16091 bool temp3
= false ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 PyObject
* obj2
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16103 arg2
= wxString_in_helper(obj1
);
16104 if (arg2
== NULL
) SWIG_fail
;
16108 arg3
= wxString_in_helper(obj2
);
16109 if (arg3
== NULL
) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16144 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16147 wxString
*arg2
= 0 ;
16148 bool arg3
= (bool) true ;
16150 bool temp2
= false ;
16151 PyObject
* obj0
= 0 ;
16152 PyObject
* obj1
= 0 ;
16153 PyObject
* obj2
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16162 arg2
= wxString_in_helper(obj1
);
16163 if (arg2
== NULL
) SWIG_fail
;
16167 arg3
= (bool)SWIG_As_bool(obj2
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16194 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16197 wxString
*arg2
= 0 ;
16199 bool temp2
= false ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self",(char *) "key", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16210 arg2
= wxString_in_helper(obj1
);
16211 if (arg2
== NULL
) SWIG_fail
;
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16238 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (bool)(arg1
)->DeleteAll();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16266 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
;
16268 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16269 bool arg2
= (bool) true ;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self",(char *) "doIt", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16280 arg2
= (bool)SWIG_As_bool(obj1
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 (arg1
)->SetExpandEnvVars(arg2
);
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 Py_INCREF(Py_None
); resultobj
= Py_None
;
16297 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16325 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16328 bool arg2
= (bool) true ;
16329 PyObject
* obj0
= 0 ;
16330 PyObject
* obj1
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self",(char *) "doIt", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 arg2
= (bool)SWIG_As_bool(obj1
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 (arg1
)->SetRecordDefaults(arg2
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 Py_INCREF(Py_None
); resultobj
= Py_None
;
16356 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16384 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16387 wxString
*arg2
= 0 ;
16389 bool temp2
= false ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "self",(char *) "str", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 arg2
= wxString_in_helper(obj1
);
16401 if (arg2
== NULL
) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16432 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 char *kwnames
[] = {
16438 (char *) "self", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16464 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16496 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16499 wxString
*arg2
= 0 ;
16500 bool temp2
= false ;
16501 PyObject
* obj0
= 0 ;
16502 PyObject
* obj1
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self",(char *) "appName", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16511 arg2
= wxString_in_helper(obj1
);
16512 if (arg2
== NULL
) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 (arg1
)->SetAppName((wxString
const &)*arg2
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 Py_INCREF(Py_None
); resultobj
= Py_None
;
16537 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
;
16539 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16540 wxString
*arg2
= 0 ;
16541 bool temp2
= false ;
16542 PyObject
* obj0
= 0 ;
16543 PyObject
* obj1
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self",(char *) "vendorName", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16552 arg2
= wxString_in_helper(obj1
);
16553 if (arg2
== NULL
) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 Py_INCREF(Py_None
); resultobj
= Py_None
;
16578 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self",(char *) "style", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16591 arg2
= (long)SWIG_As_long(obj1
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 (arg1
)->SetStyle(arg2
);
16597 wxPyEndAllowThreads(__tstate
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16600 Py_INCREF(Py_None
); resultobj
= Py_None
;
16607 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16611 PyObject
* obj0
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16623 wxPyEndAllowThreads(__tstate
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= SWIG_From_long((long)result
);
16633 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16636 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16638 return Py_BuildValue((char *)"");
16640 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16643 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16644 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16645 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16646 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16647 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16648 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16649 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16650 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16652 bool temp1
= false ;
16653 bool temp2
= false ;
16654 bool temp3
= false ;
16655 bool temp4
= false ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 PyObject
* obj2
= 0 ;
16659 PyObject
* obj3
= 0 ;
16660 PyObject
* obj4
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16668 arg1
= wxString_in_helper(obj0
);
16669 if (arg1
== NULL
) SWIG_fail
;
16675 arg2
= wxString_in_helper(obj1
);
16676 if (arg2
== NULL
) SWIG_fail
;
16682 arg3
= wxString_in_helper(obj2
);
16683 if (arg3
== NULL
) SWIG_fail
;
16689 arg4
= wxString_in_helper(obj3
);
16690 if (arg4
== NULL
) SWIG_fail
;
16695 arg5
= (long)SWIG_As_long(obj4
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16744 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxConfig
*arg1
= (wxConfig
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 Py_INCREF(Py_None
); resultobj
= Py_None
;
16769 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16772 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16774 return Py_BuildValue((char *)"");
16776 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
;
16778 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16779 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16780 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16781 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16782 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16783 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16784 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16785 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16786 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16787 wxFileConfig
*result
;
16788 bool temp1
= false ;
16789 bool temp2
= false ;
16790 bool temp3
= false ;
16791 bool temp4
= false ;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 PyObject
* obj2
= 0 ;
16795 PyObject
* obj3
= 0 ;
16796 PyObject
* obj4
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16804 arg1
= wxString_in_helper(obj0
);
16805 if (arg1
== NULL
) SWIG_fail
;
16811 arg2
= wxString_in_helper(obj1
);
16812 if (arg2
== NULL
) SWIG_fail
;
16818 arg3
= wxString_in_helper(obj2
);
16819 if (arg3
== NULL
) SWIG_fail
;
16825 arg4
= wxString_in_helper(obj3
);
16826 if (arg4
== NULL
) SWIG_fail
;
16831 arg5
= (long)SWIG_As_long(obj4
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16838 wxPyEndAllowThreads(__tstate
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16880 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16883 PyObject
* obj0
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 Py_INCREF(Py_None
); resultobj
= Py_None
;
16905 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16908 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16910 return Py_BuildValue((char *)"");
16912 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16915 wxString
*arg2
= 0 ;
16916 wxConfigPathChanger
*result
;
16917 bool temp2
= false ;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "config",(char *) "entry", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16928 arg2
= wxString_in_helper(obj1
);
16929 if (arg2
== NULL
) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16954 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "self", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 Py_INCREF(Py_None
); resultobj
= Py_None
;
16979 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16995 result
= (wxString
*) &_result_ref
;
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17005 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17014 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17017 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17019 return Py_BuildValue((char *)"");
17021 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxString
*arg1
= 0 ;
17025 bool temp1
= false ;
17026 PyObject
* obj0
= 0 ;
17027 char *kwnames
[] = {
17028 (char *) "sz", NULL
17031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17033 arg1
= wxString_in_helper(obj0
);
17034 if (arg1
== NULL
) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17065 static int _wrap_DateFormatStr_set(PyObject
*) {
17066 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17071 static PyObject
*_wrap_DateFormatStr_get() {
17076 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17078 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17085 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17086 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17091 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17096 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17098 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17105 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17108 PyObject
* obj0
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "country", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17114 arg1
= (int)SWIG_As_int(obj0
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 Py_INCREF(Py_None
); resultobj
= Py_None
;
17130 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17133 char *kwnames
[] = {
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 result
= (int)wxDateTime::GetCountry();
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= SWIG_From_int((int)result
);
17152 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 int arg1
= (int) wxDateTime::Country_Default
;
17156 PyObject
* obj0
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "country", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17163 arg1
= (int)SWIG_As_int(obj0
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17182 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 int arg1
= (int) wxDateTime::Gregorian
;
17186 PyObject
* obj0
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "cal", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17193 arg1
= (int)SWIG_As_int(obj0
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= SWIG_From_int((int)result
);
17210 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17214 PyObject
* obj0
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "year", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17220 arg1
= (int)SWIG_As_int(obj0
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= SWIG_From_int((int)result
);
17236 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 int arg1
= (int) wxDateTime::Gregorian
;
17240 PyObject
* obj0
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "cal", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17247 arg1
= (int)SWIG_As_int(obj0
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 resultobj
= SWIG_From_int((int)result
);
17264 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
;
17266 int arg1
= (int) wxDateTime::Inv_Year
;
17267 int arg2
= (int) wxDateTime::Gregorian
;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "year",(char *) "cal", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17277 arg1
= (int)SWIG_As_int(obj0
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17281 arg2
= (int)SWIG_As_int(obj1
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17300 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
;
17302 int arg1
= (int) wxDateTime::Inv_Year
;
17304 PyObject
* obj0
= 0 ;
17305 char *kwnames
[] = {
17306 (char *) "year", NULL
17309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17311 arg1
= (int)SWIG_As_int(obj0
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (int)wxDateTime::GetCentury(arg1
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= SWIG_From_int((int)result
);
17328 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17331 int arg2
= (int) wxDateTime::Gregorian
;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 char *kwnames
[] = {
17336 (char *) "year",(char *) "cal", NULL
17339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17340 arg1
= (int)SWIG_As_int(obj0
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 arg2
= (int)SWIG_As_int(obj1
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= SWIG_From_int((int)result
);
17360 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
;
17363 int arg2
= (int) wxDateTime::Inv_Year
;
17364 int arg3
= (int) wxDateTime::Gregorian
;
17366 PyObject
* obj0
= 0 ;
17367 PyObject
* obj1
= 0 ;
17368 PyObject
* obj2
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "month",(char *) "year",(char *) "cal", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17374 arg1
= (int)SWIG_As_int(obj0
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 arg2
= (int)SWIG_As_int(obj1
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17381 arg3
= (int)SWIG_As_int(obj2
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= SWIG_From_int((int)result
);
17398 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
;
17401 int arg2
= (int) wxDateTime::Name_Full
;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "month",(char *) "flags", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17410 arg1
= (int)SWIG_As_int(obj0
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 arg2
= (int)SWIG_As_int(obj1
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17436 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17439 int arg2
= (int) wxDateTime::Name_Full
;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "weekday",(char *) "flags", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17448 arg1
= (int)SWIG_As_int(obj0
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 arg2
= (int)SWIG_As_int(obj1
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17474 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 wxString
*arg1
= (wxString
*) 0 ;
17477 wxString
*arg2
= (wxString
*) 0 ;
17478 bool temp1
= false ;
17479 bool temp2
= false ;
17480 PyObject
* obj0
= 0 ;
17481 PyObject
* obj1
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17488 arg1
= wxString_in_helper(obj0
);
17489 if (arg1
== NULL
) SWIG_fail
;
17493 arg2
= wxString_in_helper(obj1
);
17494 if (arg2
== NULL
) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 Py_INCREF(Py_None
); resultobj
= Py_None
;
17527 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 int arg1
= (int) wxDateTime::Inv_Year
;
17530 int arg2
= (int) wxDateTime::Country_Default
;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "year",(char *) "country", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17540 arg1
= (int)SWIG_As_int(obj0
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17544 arg2
= (int)SWIG_As_int(obj1
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17563 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 int arg1
= (int) wxDateTime::Inv_Year
;
17566 int arg2
= (int) wxDateTime::Country_Default
;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "year",(char *) "country", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17576 arg1
= (int)SWIG_As_int(obj0
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17580 arg2
= (int)SWIG_As_int(obj1
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17591 wxDateTime
* resultptr
;
17592 resultptr
= new wxDateTime((wxDateTime
&) result
);
17593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17601 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 int arg1
= (int) wxDateTime::Inv_Year
;
17604 int arg2
= (int) wxDateTime::Country_Default
;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "year",(char *) "country", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17614 arg1
= (int)SWIG_As_int(obj0
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17618 arg2
= (int)SWIG_As_int(obj1
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17629 wxDateTime
* resultptr
;
17630 resultptr
= new wxDateTime((wxDateTime
&) result
);
17631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17639 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17642 char *kwnames
[] = {
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= wxDateTime::Now();
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 wxDateTime
* resultptr
;
17656 resultptr
= new wxDateTime((wxDateTime
&) result
);
17657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17665 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17668 char *kwnames
[] = {
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= wxDateTime::UNow();
17677 wxPyEndAllowThreads(__tstate
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 wxDateTime
* resultptr
;
17682 resultptr
= new wxDateTime((wxDateTime
&) result
);
17683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17691 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17694 char *kwnames
[] = {
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= wxDateTime::Today();
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 wxDateTime
* resultptr
;
17708 resultptr
= new wxDateTime((wxDateTime
&) result
);
17709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17717 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
;
17719 wxDateTime
*result
;
17720 char *kwnames
[] = {
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 result
= (wxDateTime
*)new wxDateTime();
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17739 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17742 wxDateTime
*result
;
17743 PyObject
* obj0
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "timet", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17749 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (wxDateTime
*)new wxDateTime(arg1
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17765 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17768 wxDateTime
*result
;
17769 PyObject
* obj0
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "jdn", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17775 arg1
= (double)SWIG_As_double(obj0
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= (wxDateTime
*)new wxDateTime(arg1
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17791 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17794 int arg2
= (int) 0 ;
17795 int arg3
= (int) 0 ;
17796 int arg4
= (int) 0 ;
17797 wxDateTime
*result
;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 PyObject
* obj2
= 0 ;
17801 PyObject
* obj3
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17807 arg1
= (int)SWIG_As_int(obj0
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 arg2
= (int)SWIG_As_int(obj1
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 arg3
= (int)SWIG_As_int(obj2
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 arg4
= (int)SWIG_As_int(obj3
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17835 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17838 int arg2
= (int) wxDateTime::Inv_Month
;
17839 int arg3
= (int) wxDateTime::Inv_Year
;
17840 int arg4
= (int) 0 ;
17841 int arg5
= (int) 0 ;
17842 int arg6
= (int) 0 ;
17843 int arg7
= (int) 0 ;
17844 wxDateTime
*result
;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 PyObject
* obj2
= 0 ;
17848 PyObject
* obj3
= 0 ;
17849 PyObject
* obj4
= 0 ;
17850 PyObject
* obj5
= 0 ;
17851 PyObject
* obj6
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17857 arg1
= (int)SWIG_As_int(obj0
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 arg2
= (int)SWIG_As_int(obj1
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 arg3
= (int)SWIG_As_int(obj2
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17868 arg4
= (int)SWIG_As_int(obj3
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17872 arg5
= (int)SWIG_As_int(obj4
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17876 arg6
= (int)SWIG_As_int(obj5
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17880 arg7
= (int)SWIG_As_int(obj6
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17897 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17900 PyObject
* obj0
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 Py_INCREF(Py_None
); resultobj
= Py_None
;
17922 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
;
17924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17925 wxDateTime
*result
;
17926 PyObject
* obj0
= 0 ;
17927 char *kwnames
[] = {
17928 (char *) "self", NULL
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17938 result
= (wxDateTime
*) &_result_ref
;
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17951 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17955 wxDateTime
*result
;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "self",(char *) "timet", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17965 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17971 result
= (wxDateTime
*) &_result_ref
;
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17984 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17988 wxDateTime
*result
;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "self",(char *) "jdn", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17998 arg2
= (double)SWIG_As_double(obj1
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18004 result
= (wxDateTime
*) &_result_ref
;
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18017 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18021 int arg3
= (int) 0 ;
18022 int arg4
= (int) 0 ;
18023 int arg5
= (int) 0 ;
18024 wxDateTime
*result
;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 PyObject
* obj2
= 0 ;
18028 PyObject
* obj3
= 0 ;
18029 PyObject
* obj4
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18037 arg2
= (int)SWIG_As_int(obj1
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 arg3
= (int)SWIG_As_int(obj2
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18044 arg4
= (int)SWIG_As_int(obj3
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 arg5
= (int)SWIG_As_int(obj4
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18055 result
= (wxDateTime
*) &_result_ref
;
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18068 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18072 int arg3
= (int) wxDateTime::Inv_Month
;
18073 int arg4
= (int) wxDateTime::Inv_Year
;
18074 int arg5
= (int) 0 ;
18075 int arg6
= (int) 0 ;
18076 int arg7
= (int) 0 ;
18077 int arg8
= (int) 0 ;
18078 wxDateTime
*result
;
18079 PyObject
* obj0
= 0 ;
18080 PyObject
* obj1
= 0 ;
18081 PyObject
* obj2
= 0 ;
18082 PyObject
* obj3
= 0 ;
18083 PyObject
* obj4
= 0 ;
18084 PyObject
* obj5
= 0 ;
18085 PyObject
* obj6
= 0 ;
18086 PyObject
* obj7
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 arg2
= (int)SWIG_As_int(obj1
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 arg3
= (int)SWIG_As_int(obj2
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18101 arg4
= (int)SWIG_As_int(obj3
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18105 arg5
= (int)SWIG_As_int(obj4
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18109 arg6
= (int)SWIG_As_int(obj5
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 arg7
= (int)SWIG_As_int(obj6
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 arg8
= (int)SWIG_As_int(obj7
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18124 result
= (wxDateTime
*) &_result_ref
;
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18137 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18140 wxDateTime
*result
;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18153 result
= (wxDateTime
*) &_result_ref
;
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18166 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18170 wxDateTime
*result
;
18171 PyObject
* obj0
= 0 ;
18172 PyObject
* obj1
= 0 ;
18173 char *kwnames
[] = {
18174 (char *) "self",(char *) "year", NULL
18177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18180 arg2
= (int)SWIG_As_int(obj1
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18186 result
= (wxDateTime
*) &_result_ref
;
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18199 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18203 wxDateTime
*result
;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self",(char *) "month", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 arg2
= (int)SWIG_As_int(obj1
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18219 result
= (wxDateTime
*) &_result_ref
;
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18232 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18236 wxDateTime
*result
;
18237 PyObject
* obj0
= 0 ;
18238 PyObject
* obj1
= 0 ;
18239 char *kwnames
[] = {
18240 (char *) "self",(char *) "day", NULL
18243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18246 arg2
= (int)SWIG_As_int(obj1
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18252 result
= (wxDateTime
*) &_result_ref
;
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18265 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18269 wxDateTime
*result
;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "hour", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18279 arg2
= (int)SWIG_As_int(obj1
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18285 result
= (wxDateTime
*) &_result_ref
;
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18298 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18302 wxDateTime
*result
;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self",(char *) "minute", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18312 arg2
= (int)SWIG_As_int(obj1
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18318 result
= (wxDateTime
*) &_result_ref
;
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18331 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18335 wxDateTime
*result
;
18336 PyObject
* obj0
= 0 ;
18337 PyObject
* obj1
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self",(char *) "second", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18345 arg2
= (int)SWIG_As_int(obj1
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18351 result
= (wxDateTime
*) &_result_ref
;
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18364 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18368 wxDateTime
*result
;
18369 PyObject
* obj0
= 0 ;
18370 PyObject
* obj1
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self",(char *) "millisecond", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18378 arg2
= (int)SWIG_As_int(obj1
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18384 result
= (wxDateTime
*) &_result_ref
;
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18397 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18401 int arg3
= (int) wxDateTime::Monday_First
;
18402 wxDateTime
*result
;
18403 PyObject
* obj0
= 0 ;
18404 PyObject
* obj1
= 0 ;
18405 PyObject
* obj2
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 arg2
= (int)SWIG_As_int(obj1
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 arg3
= (int)SWIG_As_int(obj2
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18423 result
= (wxDateTime
*) &_result_ref
;
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18436 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18440 int arg3
= (int) wxDateTime::Monday_First
;
18442 PyObject
* obj0
= 0 ;
18443 PyObject
* obj1
= 0 ;
18444 PyObject
* obj2
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18452 arg2
= (int)SWIG_As_int(obj1
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 arg3
= (int)SWIG_As_int(obj2
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 wxDateTime
* resultptr
;
18467 resultptr
= new wxDateTime((wxDateTime
&) result
);
18468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18476 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18480 wxDateTime
*result
;
18481 PyObject
* obj0
= 0 ;
18482 PyObject
* obj1
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self",(char *) "weekday", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18490 arg2
= (int)SWIG_As_int(obj1
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18496 result
= (wxDateTime
*) &_result_ref
;
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18509 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
;
18511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 PyObject
* obj1
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self",(char *) "weekday", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18523 arg2
= (int)SWIG_As_int(obj1
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18533 wxDateTime
* resultptr
;
18534 resultptr
= new wxDateTime((wxDateTime
&) result
);
18535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18543 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18547 wxDateTime
*result
;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self",(char *) "weekday", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 arg2
= (int)SWIG_As_int(obj1
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18563 result
= (wxDateTime
*) &_result_ref
;
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18576 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self",(char *) "weekday", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18590 arg2
= (int)SWIG_As_int(obj1
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18600 wxDateTime
* resultptr
;
18601 resultptr
= new wxDateTime((wxDateTime
&) result
);
18602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18610 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18614 int arg3
= (int) 1 ;
18615 int arg4
= (int) wxDateTime::Inv_Month
;
18616 int arg5
= (int) wxDateTime::Inv_Year
;
18618 PyObject
* obj0
= 0 ;
18619 PyObject
* obj1
= 0 ;
18620 PyObject
* obj2
= 0 ;
18621 PyObject
* obj3
= 0 ;
18622 PyObject
* obj4
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 arg2
= (int)SWIG_As_int(obj1
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 arg3
= (int)SWIG_As_int(obj2
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18637 arg4
= (int)SWIG_As_int(obj3
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18641 arg5
= (int)SWIG_As_int(obj4
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18660 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18664 int arg3
= (int) wxDateTime::Inv_Month
;
18665 int arg4
= (int) wxDateTime::Inv_Year
;
18667 PyObject
* obj0
= 0 ;
18668 PyObject
* obj1
= 0 ;
18669 PyObject
* obj2
= 0 ;
18670 PyObject
* obj3
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 arg2
= (int)SWIG_As_int(obj1
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 arg3
= (int)SWIG_As_int(obj2
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18685 arg4
= (int)SWIG_As_int(obj3
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18704 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18708 int arg3
= (int) wxDateTime::Inv_Month
;
18709 int arg4
= (int) wxDateTime::Inv_Year
;
18711 PyObject
* obj0
= 0 ;
18712 PyObject
* obj1
= 0 ;
18713 PyObject
* obj2
= 0 ;
18714 PyObject
* obj3
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18722 arg2
= (int)SWIG_As_int(obj1
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 arg3
= (int)SWIG_As_int(obj2
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 arg4
= (int)SWIG_As_int(obj3
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 wxDateTime
* resultptr
;
18741 resultptr
= new wxDateTime((wxDateTime
&) result
);
18742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18750 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18754 int arg3
= (int) wxDateTime::Mon
;
18755 int arg4
= (int) wxDateTime::Monday_First
;
18757 PyObject
* obj0
= 0 ;
18758 PyObject
* obj1
= 0 ;
18759 PyObject
* obj2
= 0 ;
18760 PyObject
* obj3
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18768 arg2
= (int)SWIG_As_int(obj1
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 arg3
= (int)SWIG_As_int(obj2
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18775 arg4
= (int)SWIG_As_int(obj3
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18794 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
;
18796 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18798 int arg3
= (int) wxDateTime::Mon
;
18799 int arg4
= (int) wxDateTime::Monday_First
;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 PyObject
* obj2
= 0 ;
18804 PyObject
* obj3
= 0 ;
18805 char *kwnames
[] = {
18806 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18812 arg2
= (int)SWIG_As_int(obj1
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 arg3
= (int)SWIG_As_int(obj2
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18819 arg4
= (int)SWIG_As_int(obj3
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18830 wxDateTime
* resultptr
;
18831 resultptr
= new wxDateTime((wxDateTime
&) result
);
18832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18840 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18844 int arg3
= (int) wxDateTime::Mon
;
18846 PyObject
* obj0
= 0 ;
18847 PyObject
* obj1
= 0 ;
18848 PyObject
* obj2
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18854 arg1
= (int)SWIG_As_int(obj0
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18856 arg2
= (int)SWIG_As_int(obj1
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 arg3
= (int)SWIG_As_int(obj2
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18870 wxDateTime
* resultptr
;
18871 resultptr
= new wxDateTime((wxDateTime
&) result
);
18872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18880 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
;
18882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18883 int arg2
= (int) wxDateTime::Inv_Month
;
18884 int arg3
= (int) wxDateTime::Inv_Year
;
18885 wxDateTime
*result
;
18886 PyObject
* obj0
= 0 ;
18887 PyObject
* obj1
= 0 ;
18888 PyObject
* obj2
= 0 ;
18889 char *kwnames
[] = {
18890 (char *) "self",(char *) "month",(char *) "year", NULL
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18897 arg2
= (int)SWIG_As_int(obj1
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 arg3
= (int)SWIG_As_int(obj2
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18908 result
= (wxDateTime
*) &_result_ref
;
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18921 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18924 int arg2
= (int) wxDateTime::Inv_Month
;
18925 int arg3
= (int) wxDateTime::Inv_Year
;
18927 PyObject
* obj0
= 0 ;
18928 PyObject
* obj1
= 0 ;
18929 PyObject
* obj2
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self",(char *) "month",(char *) "year", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18938 arg2
= (int)SWIG_As_int(obj1
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18942 arg3
= (int)SWIG_As_int(obj2
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18953 wxDateTime
* resultptr
;
18954 resultptr
= new wxDateTime((wxDateTime
&) result
);
18955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18963 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18967 wxDateTime
*result
;
18968 PyObject
* obj0
= 0 ;
18969 PyObject
* obj1
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self",(char *) "yday", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18977 arg2
= (int)SWIG_As_int(obj1
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18983 result
= (wxDateTime
*) &_result_ref
;
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18996 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 char *kwnames
[] = {
19004 (char *) "self",(char *) "yday", NULL
19007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19010 arg2
= (int)SWIG_As_int(obj1
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (arg1
)->GetYearDay(arg2
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 wxDateTime
* resultptr
;
19021 resultptr
= new wxDateTime((wxDateTime
&) result
);
19022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19030 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self", NULL
19039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= (double)(arg1
)->GetJulianDayNumber();
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= SWIG_From_double((double)result
);
19056 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
;
19058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 result
= (double)(arg1
)->GetJDN();
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19075 resultobj
= SWIG_From_double((double)result
);
19082 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
;
19084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19086 PyObject
* obj0
= 0 ;
19087 char *kwnames
[] = {
19088 (char *) "self", NULL
19091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= SWIG_From_double((double)result
);
19108 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (double)(arg1
)->GetMJD();
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_From_double((double)result
);
19134 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 result
= (double)(arg1
)->GetRataDie();
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= SWIG_From_double((double)result
);
19160 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19163 wxDateTime::TimeZone
*arg2
= 0 ;
19164 bool arg3
= (bool) false ;
19166 bool temp2
= false ;
19167 PyObject
* obj0
= 0 ;
19168 PyObject
* obj1
= 0 ;
19169 PyObject
* obj2
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19178 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19182 arg3
= (bool)SWIG_As_bool(obj2
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19193 wxDateTime
* resultptr
;
19194 resultptr
= new wxDateTime((wxDateTime
&) result
);
19195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19198 if (temp2
) delete arg2
;
19203 if (temp2
) delete arg2
;
19209 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19212 wxDateTime::TimeZone
*arg2
= 0 ;
19213 bool arg3
= (bool) false ;
19214 wxDateTime
*result
;
19215 bool temp2
= false ;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 PyObject
* obj2
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19227 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19231 arg3
= (bool)SWIG_As_bool(obj2
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19238 result
= (wxDateTime
*) &_result_ref
;
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19246 if (temp2
) delete arg2
;
19251 if (temp2
) delete arg2
;
19257 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19260 bool arg2
= (bool) false ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self",(char *) "noDST", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19272 arg2
= (bool)SWIG_As_bool(obj1
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= (arg1
)->ToGMT(arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19283 wxDateTime
* resultptr
;
19284 resultptr
= new wxDateTime((wxDateTime
&) result
);
19285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19293 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19296 bool arg2
= (bool) false ;
19297 wxDateTime
*result
;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self",(char *) "noDST", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19308 arg2
= (bool)SWIG_As_bool(obj1
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19315 result
= (wxDateTime
*) &_result_ref
;
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19328 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
;
19330 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19331 int arg2
= (int) wxDateTime::Country_Default
;
19333 PyObject
* obj0
= 0 ;
19334 PyObject
* obj1
= 0 ;
19335 char *kwnames
[] = {
19336 (char *) "self",(char *) "country", NULL
19339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19343 arg2
= (int)SWIG_As_int(obj1
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= SWIG_From_int((int)result
);
19360 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19388 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19392 PyObject
* obj0
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19414 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19417 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19418 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19420 bool temp2
= false ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 char *kwnames
[] = {
19424 (char *) "self",(char *) "tz", NULL
19427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19432 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= SWIG_From_int((int)result
);
19445 if (temp2
) delete arg2
;
19450 if (temp2
) delete arg2
;
19456 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19459 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19460 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19462 bool temp2
= false ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self",(char *) "tz", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19474 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= SWIG_From_int((int)result
);
19487 if (temp2
) delete arg2
;
19492 if (temp2
) delete arg2
;
19498 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
;
19500 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19501 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19502 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19504 bool temp2
= false ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self",(char *) "tz", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19516 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= SWIG_From_int((int)result
);
19529 if (temp2
) delete arg2
;
19534 if (temp2
) delete arg2
;
19540 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19543 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19544 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19546 bool temp2
= false ;
19547 PyObject
* obj0
= 0 ;
19548 PyObject
* obj1
= 0 ;
19549 char *kwnames
[] = {
19550 (char *) "self",(char *) "tz", NULL
19553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19558 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= SWIG_From_int((int)result
);
19571 if (temp2
) delete arg2
;
19576 if (temp2
) delete arg2
;
19582 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19585 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19586 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19588 bool temp2
= false ;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self",(char *) "tz", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19600 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= SWIG_From_int((int)result
);
19613 if (temp2
) delete arg2
;
19618 if (temp2
) delete arg2
;
19624 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19627 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19628 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19630 bool temp2
= false ;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self",(char *) "tz", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19642 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= SWIG_From_int((int)result
);
19655 if (temp2
) delete arg2
;
19660 if (temp2
) delete arg2
;
19666 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19669 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19670 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19672 bool temp2
= false ;
19673 PyObject
* obj0
= 0 ;
19674 PyObject
* obj1
= 0 ;
19675 char *kwnames
[] = {
19676 (char *) "self",(char *) "tz", NULL
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19684 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19695 resultobj
= SWIG_From_int((int)result
);
19697 if (temp2
) delete arg2
;
19702 if (temp2
) delete arg2
;
19708 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
;
19710 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19711 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19712 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19714 bool temp2
= false ;
19715 PyObject
* obj0
= 0 ;
19716 PyObject
* obj1
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self",(char *) "tz", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19726 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= SWIG_From_int((int)result
);
19739 if (temp2
) delete arg2
;
19744 if (temp2
) delete arg2
;
19750 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19753 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19754 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19756 bool temp2
= false ;
19757 PyObject
* obj0
= 0 ;
19758 PyObject
* obj1
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self",(char *) "tz", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19768 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19776 wxPyEndAllowThreads(__tstate
);
19777 if (PyErr_Occurred()) SWIG_fail
;
19779 resultobj
= SWIG_From_int((int)result
);
19781 if (temp2
) delete arg2
;
19786 if (temp2
) delete arg2
;
19792 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19795 int arg2
= (int) wxDateTime::Monday_First
;
19796 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19797 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19799 bool temp3
= false ;
19800 PyObject
* obj0
= 0 ;
19801 PyObject
* obj1
= 0 ;
19802 PyObject
* obj2
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self",(char *) "flags",(char *) "tz", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19811 arg2
= (int)SWIG_As_int(obj1
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19816 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= SWIG_From_int((int)result
);
19829 if (temp3
) delete arg3
;
19834 if (temp3
) delete arg3
;
19840 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
;
19842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19843 int arg2
= (int) wxDateTime::Monday_First
;
19844 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19845 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19847 bool temp3
= false ;
19848 PyObject
* obj0
= 0 ;
19849 PyObject
* obj1
= 0 ;
19850 PyObject
* obj2
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self",(char *) "flags",(char *) "tz", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19859 arg2
= (int)SWIG_As_int(obj1
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19864 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= SWIG_From_int((int)result
);
19877 if (temp3
) delete arg3
;
19882 if (temp3
) delete arg3
;
19888 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19891 int arg2
= (int) wxDateTime::Country_Default
;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "self",(char *) "country", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19903 arg2
= (int)SWIG_As_int(obj1
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19922 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19925 wxDateTime
*arg2
= 0 ;
19927 PyObject
* obj0
= 0 ;
19928 PyObject
* obj1
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self",(char *) "datetime", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19939 if (arg2
== NULL
) {
19940 PyErr_SetString(PyExc_TypeError
,"null reference");
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19959 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19962 wxDateTime
*arg2
= 0 ;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self",(char *) "datetime", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19976 if (arg2
== NULL
) {
19977 PyErr_SetString(PyExc_TypeError
,"null reference");
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19996 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19999 wxDateTime
*arg2
= 0 ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self",(char *) "datetime", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20013 if (arg2
== NULL
) {
20014 PyErr_SetString(PyExc_TypeError
,"null reference");
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20033 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20036 wxDateTime
*arg2
= 0 ;
20037 wxDateTime
*arg3
= 0 ;
20039 PyObject
* obj0
= 0 ;
20040 PyObject
* obj1
= 0 ;
20041 PyObject
* obj2
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self",(char *) "t1",(char *) "t2", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20052 if (arg2
== NULL
) {
20053 PyErr_SetString(PyExc_TypeError
,"null reference");
20056 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20059 if (arg3
== NULL
) {
20060 PyErr_SetString(PyExc_TypeError
,"null reference");
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20079 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
;
20081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20082 wxDateTime
*arg2
= 0 ;
20083 wxDateTime
*arg3
= 0 ;
20085 PyObject
* obj0
= 0 ;
20086 PyObject
* obj1
= 0 ;
20087 PyObject
* obj2
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self",(char *) "t1",(char *) "t2", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20098 if (arg2
== NULL
) {
20099 PyErr_SetString(PyExc_TypeError
,"null reference");
20102 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20105 if (arg3
== NULL
) {
20106 PyErr_SetString(PyExc_TypeError
,"null reference");
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20125 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20128 wxDateTime
*arg2
= 0 ;
20130 PyObject
* obj0
= 0 ;
20131 PyObject
* obj1
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self",(char *) "dt", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20142 if (arg2
== NULL
) {
20143 PyErr_SetString(PyExc_TypeError
,"null reference");
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20162 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20165 wxDateTime
*arg2
= 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self",(char *) "dt", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20179 if (arg2
== NULL
) {
20180 PyErr_SetString(PyExc_TypeError
,"null reference");
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20199 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
;
20201 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20202 wxDateTime
*arg2
= 0 ;
20203 wxTimeSpan
*arg3
= 0 ;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 PyObject
* obj2
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self",(char *) "dt",(char *) "ts", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20218 if (arg2
== NULL
) {
20219 PyErr_SetString(PyExc_TypeError
,"null reference");
20222 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20225 if (arg3
== NULL
) {
20226 PyErr_SetString(PyExc_TypeError
,"null reference");
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20245 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20248 wxTimeSpan
*arg2
= 0 ;
20249 wxDateTime
*result
;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "self",(char *) "diff", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20262 if (arg2
== NULL
) {
20263 PyErr_SetString(PyExc_TypeError
,"null reference");
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20270 result
= (wxDateTime
*) &_result_ref
;
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20283 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20284 PyObject
*resultobj
;
20285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20286 wxDateSpan
*arg2
= 0 ;
20287 wxDateTime
*result
;
20288 PyObject
* obj0
= 0 ;
20289 PyObject
* obj1
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self",(char *) "diff", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20300 if (arg2
== NULL
) {
20301 PyErr_SetString(PyExc_TypeError
,"null reference");
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20308 result
= (wxDateTime
*) &_result_ref
;
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20321 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
;
20323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20324 wxTimeSpan
*arg2
= 0 ;
20325 wxDateTime
*result
;
20326 PyObject
* obj0
= 0 ;
20327 PyObject
* obj1
= 0 ;
20328 char *kwnames
[] = {
20329 (char *) "self",(char *) "diff", NULL
20332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20338 if (arg2
== NULL
) {
20339 PyErr_SetString(PyExc_TypeError
,"null reference");
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20346 result
= (wxDateTime
*) &_result_ref
;
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20359 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20362 wxDateSpan
*arg2
= 0 ;
20363 wxDateTime
*result
;
20364 PyObject
* obj0
= 0 ;
20365 PyObject
* obj1
= 0 ;
20366 char *kwnames
[] = {
20367 (char *) "self",(char *) "diff", NULL
20370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20376 if (arg2
== NULL
) {
20377 PyErr_SetString(PyExc_TypeError
,"null reference");
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20384 result
= (wxDateTime
*) &_result_ref
;
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20397 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20400 wxDateTime
*arg2
= 0 ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self",(char *) "dt", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20414 if (arg2
== NULL
) {
20415 PyErr_SetString(PyExc_TypeError
,"null reference");
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 wxTimeSpan
* resultptr
;
20427 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20436 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20437 PyObject
*resultobj
;
20438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20439 wxTimeSpan
*arg2
= 0 ;
20440 wxDateTime
*result
;
20441 PyObject
* obj0
= 0 ;
20442 PyObject
* obj1
= 0 ;
20444 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20446 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20450 if (arg2
== NULL
) {
20451 PyErr_SetString(PyExc_TypeError
,"null reference");
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20458 result
= (wxDateTime
*) &_result_ref
;
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20471 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20472 PyObject
*resultobj
;
20473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20474 wxDateSpan
*arg2
= 0 ;
20475 wxDateTime
*result
;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20479 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20481 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20485 if (arg2
== NULL
) {
20486 PyErr_SetString(PyExc_TypeError
,"null reference");
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20493 result
= (wxDateTime
*) &_result_ref
;
20496 wxPyEndAllowThreads(__tstate
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20506 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20511 argc
= PyObject_Length(args
);
20512 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20513 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20519 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20529 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20537 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20545 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20555 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20563 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20568 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20573 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20574 PyObject
*resultobj
;
20575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20576 wxTimeSpan
*arg2
= 0 ;
20577 wxDateTime
*result
;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20581 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20583 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20587 if (arg2
== NULL
) {
20588 PyErr_SetString(PyExc_TypeError
,"null reference");
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20595 result
= (wxDateTime
*) &_result_ref
;
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20608 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20609 PyObject
*resultobj
;
20610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20611 wxDateSpan
*arg2
= 0 ;
20612 wxDateTime
*result
;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20616 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20618 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20622 if (arg2
== NULL
) {
20623 PyErr_SetString(PyExc_TypeError
,"null reference");
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20630 result
= (wxDateTime
*) &_result_ref
;
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20643 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20648 argc
= PyObject_Length(args
);
20649 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20650 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20656 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20666 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20674 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20682 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20692 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20700 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20705 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20710 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20711 PyObject
*resultobj
;
20712 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20713 wxTimeSpan
*arg2
= 0 ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20718 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20724 if (arg2
== NULL
) {
20725 PyErr_SetString(PyExc_TypeError
,"null reference");
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 wxDateTime
* resultptr
;
20737 resultptr
= new wxDateTime((wxDateTime
&) result
);
20738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20746 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20747 PyObject
*resultobj
;
20748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20749 wxDateSpan
*arg2
= 0 ;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20754 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20760 if (arg2
== NULL
) {
20761 PyErr_SetString(PyExc_TypeError
,"null reference");
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20772 wxDateTime
* resultptr
;
20773 resultptr
= new wxDateTime((wxDateTime
&) result
);
20774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20782 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20787 argc
= PyObject_Length(args
);
20788 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20789 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20795 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20805 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20813 return _wrap_DateTime___add____SWIG_0(self
,args
);
20821 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20831 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20839 return _wrap_DateTime___add____SWIG_1(self
,args
);
20844 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20849 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20850 PyObject
*resultobj
;
20851 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20852 wxDateTime
*arg2
= 0 ;
20854 PyObject
* obj0
= 0 ;
20855 PyObject
* obj1
= 0 ;
20857 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20863 if (arg2
== NULL
) {
20864 PyErr_SetString(PyExc_TypeError
,"null reference");
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20875 wxTimeSpan
* resultptr
;
20876 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20885 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20886 PyObject
*resultobj
;
20887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20888 wxTimeSpan
*arg2
= 0 ;
20890 PyObject
* obj0
= 0 ;
20891 PyObject
* obj1
= 0 ;
20893 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20899 if (arg2
== NULL
) {
20900 PyErr_SetString(PyExc_TypeError
,"null reference");
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20911 wxDateTime
* resultptr
;
20912 resultptr
= new wxDateTime((wxDateTime
&) result
);
20913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20921 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20922 PyObject
*resultobj
;
20923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20924 wxDateSpan
*arg2
= 0 ;
20926 PyObject
* obj0
= 0 ;
20927 PyObject
* obj1
= 0 ;
20929 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20935 if (arg2
== NULL
) {
20936 PyErr_SetString(PyExc_TypeError
,"null reference");
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20947 wxDateTime
* resultptr
;
20948 resultptr
= new wxDateTime((wxDateTime
&) result
);
20949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20957 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20962 argc
= PyObject_Length(args
);
20963 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20964 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20970 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20980 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20988 return _wrap_DateTime___sub____SWIG_0(self
,args
);
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___sub____SWIG_1(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___sub____SWIG_2(self
,args
);
21045 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21050 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21051 PyObject
*resultobj
;
21052 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21053 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21055 PyObject
* obj0
= 0 ;
21056 PyObject
* obj1
= 0 ;
21058 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&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) SWIG_fail
;
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21079 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21080 PyObject
*resultobj
;
21081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21082 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21087 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21108 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21109 PyObject
*resultobj
;
21110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21111 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21116 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21137 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21138 PyObject
*resultobj
;
21139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21140 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21142 PyObject
* obj0
= 0 ;
21143 PyObject
* obj1
= 0 ;
21145 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21166 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21167 PyObject
*resultobj
;
21168 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21169 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21171 PyObject
* obj0
= 0 ;
21172 PyObject
* obj1
= 0 ;
21174 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21195 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21196 PyObject
*resultobj
;
21197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21198 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21200 PyObject
* obj0
= 0 ;
21201 PyObject
* obj1
= 0 ;
21203 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21224 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21227 wxString
*arg2
= 0 ;
21229 bool temp2
= false ;
21230 PyObject
* obj0
= 0 ;
21231 PyObject
* obj1
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self",(char *) "date", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21240 arg2
= wxString_in_helper(obj1
);
21241 if (arg2
== NULL
) SWIG_fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_From_int((int)result
);
21266 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21269 wxString
*arg2
= 0 ;
21270 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21271 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21272 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21273 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21275 bool temp2
= false ;
21276 bool temp3
= false ;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 PyObject
* obj2
= 0 ;
21280 PyObject
* obj3
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21289 arg2
= wxString_in_helper(obj1
);
21290 if (arg2
== NULL
) SWIG_fail
;
21295 arg3
= wxString_in_helper(obj2
);
21296 if (arg3
== NULL
) SWIG_fail
;
21301 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21302 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21304 if (arg4
== NULL
) {
21305 PyErr_SetString(PyExc_TypeError
,"null reference");
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 resultobj
= SWIG_From_int((int)result
);
21339 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21342 wxString
*arg2
= 0 ;
21344 bool temp2
= false ;
21345 PyObject
* obj0
= 0 ;
21346 PyObject
* obj1
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self",(char *) "datetime", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21355 arg2
= wxString_in_helper(obj1
);
21356 if (arg2
== NULL
) SWIG_fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= SWIG_From_int((int)result
);
21381 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21384 wxString
*arg2
= 0 ;
21386 bool temp2
= false ;
21387 PyObject
* obj0
= 0 ;
21388 PyObject
* obj1
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "self",(char *) "date", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21397 arg2
= wxString_in_helper(obj1
);
21398 if (arg2
== NULL
) SWIG_fail
;
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 resultobj
= SWIG_From_int((int)result
);
21423 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
;
21425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21426 wxString
*arg2
= 0 ;
21428 bool temp2
= false ;
21429 PyObject
* obj0
= 0 ;
21430 PyObject
* obj1
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self",(char *) "time", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21439 arg2
= wxString_in_helper(obj1
);
21440 if (arg2
== NULL
) SWIG_fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= SWIG_From_int((int)result
);
21465 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21468 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21469 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21470 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21471 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21473 bool temp2
= false ;
21474 bool temp3
= false ;
21475 PyObject
* obj0
= 0 ;
21476 PyObject
* obj1
= 0 ;
21477 PyObject
* obj2
= 0 ;
21478 char *kwnames
[] = {
21479 (char *) "self",(char *) "format",(char *) "tz", NULL
21482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21487 arg2
= wxString_in_helper(obj1
);
21488 if (arg2
== NULL
) SWIG_fail
;
21494 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21517 if (temp3
) delete arg3
;
21526 if (temp3
) delete arg3
;
21532 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21536 PyObject
* obj0
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21564 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21596 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21600 PyObject
* obj0
= 0 ;
21601 char *kwnames
[] = {
21602 (char *) "self", NULL
21605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21628 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21632 PyObject
* obj0
= 0 ;
21633 char *kwnames
[] = {
21634 (char *) "self", NULL
21637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21660 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21663 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21665 return Py_BuildValue((char *)"");
21667 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
;
21671 PyObject
* obj0
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "sec", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21677 arg1
= (long)SWIG_As_long(obj0
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 result
= wxTimeSpan::Seconds(arg1
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21687 wxTimeSpan
* resultptr
;
21688 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21697 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
;
21700 char *kwnames
[] = {
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 result
= wxTimeSpan::Second();
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21713 wxTimeSpan
* resultptr
;
21714 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21723 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
;
21727 PyObject
* obj0
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "min", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21733 arg1
= (long)SWIG_As_long(obj0
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= wxTimeSpan::Minutes(arg1
);
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21743 wxTimeSpan
* resultptr
;
21744 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21753 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21756 char *kwnames
[] = {
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 result
= wxTimeSpan::Minute();
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21769 wxTimeSpan
* resultptr
;
21770 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21779 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21783 PyObject
* obj0
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "hours", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21789 arg1
= (long)SWIG_As_long(obj0
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 result
= wxTimeSpan::Hours(arg1
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21799 wxTimeSpan
* resultptr
;
21800 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21809 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21812 char *kwnames
[] = {
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= wxTimeSpan::Hour();
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21825 wxTimeSpan
* resultptr
;
21826 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21835 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21839 PyObject
* obj0
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "days", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21845 arg1
= (long)SWIG_As_long(obj0
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 result
= wxTimeSpan::Days(arg1
);
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21855 wxTimeSpan
* resultptr
;
21856 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21865 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
;
21868 char *kwnames
[] = {
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 result
= wxTimeSpan::Day();
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21881 wxTimeSpan
* resultptr
;
21882 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21891 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21895 PyObject
* obj0
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "days", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21901 arg1
= (long)SWIG_As_long(obj0
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= wxTimeSpan::Weeks(arg1
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 wxTimeSpan
* resultptr
;
21912 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21921 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21924 char *kwnames
[] = {
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= wxTimeSpan::Week();
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 wxTimeSpan
* resultptr
;
21938 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21947 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21948 PyObject
*resultobj
;
21949 long arg1
= (long) 0 ;
21950 long arg2
= (long) 0 ;
21951 long arg3
= (long) 0 ;
21952 long arg4
= (long) 0 ;
21953 wxTimeSpan
*result
;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 PyObject
* obj2
= 0 ;
21957 PyObject
* obj3
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21964 arg1
= (long)SWIG_As_long(obj0
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 arg2
= (long)SWIG_As_long(obj1
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 arg3
= (long)SWIG_As_long(obj2
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21976 arg4
= (long)SWIG_As_long(obj3
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21993 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
22002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 Py_INCREF(Py_None
); resultobj
= Py_None
;
22018 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22021 wxTimeSpan
*arg2
= 0 ;
22022 wxTimeSpan
*result
;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "diff", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22035 if (arg2
== NULL
) {
22036 PyErr_SetString(PyExc_TypeError
,"null reference");
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22043 result
= (wxTimeSpan
*) &_result_ref
;
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22056 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22058 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22059 wxTimeSpan
*arg2
= 0 ;
22060 wxTimeSpan
*result
;
22061 PyObject
* obj0
= 0 ;
22062 PyObject
* obj1
= 0 ;
22063 char *kwnames
[] = {
22064 (char *) "self",(char *) "diff", NULL
22067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22073 if (arg2
== NULL
) {
22074 PyErr_SetString(PyExc_TypeError
,"null reference");
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22081 result
= (wxTimeSpan
*) &_result_ref
;
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22094 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22098 wxTimeSpan
*result
;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self",(char *) "n", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22108 arg2
= (int)SWIG_As_int(obj1
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22114 result
= (wxTimeSpan
*) &_result_ref
;
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22127 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22130 wxTimeSpan
*result
;
22131 PyObject
* obj0
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "self", NULL
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22143 result
= (wxTimeSpan
*) &_result_ref
;
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22156 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22160 PyObject
* obj0
= 0 ;
22161 char *kwnames
[] = {
22162 (char *) "self", NULL
22165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 wxTimeSpan
* resultptr
;
22177 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22186 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
;
22188 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22189 wxTimeSpan
*arg2
= 0 ;
22190 wxTimeSpan
*result
;
22191 PyObject
* obj0
= 0 ;
22192 PyObject
* obj1
= 0 ;
22193 char *kwnames
[] = {
22194 (char *) "self",(char *) "diff", NULL
22197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22199 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22203 if (arg2
== NULL
) {
22204 PyErr_SetString(PyExc_TypeError
,"null reference");
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22211 result
= (wxTimeSpan
*) &_result_ref
;
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22224 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22227 wxTimeSpan
*arg2
= 0 ;
22228 wxTimeSpan
*result
;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self",(char *) "diff", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22237 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22241 if (arg2
== NULL
) {
22242 PyErr_SetString(PyExc_TypeError
,"null reference");
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22249 result
= (wxTimeSpan
*) &_result_ref
;
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22262 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22266 wxTimeSpan
*result
;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 char *kwnames
[] = {
22270 (char *) "self",(char *) "n", NULL
22273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22275 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22276 arg2
= (int)SWIG_As_int(obj1
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22282 result
= (wxTimeSpan
*) &_result_ref
;
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22295 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22298 wxTimeSpan
*result
;
22299 PyObject
* obj0
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22311 result
= (wxTimeSpan
*) &_result_ref
;
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22324 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22327 wxTimeSpan
*arg2
= 0 ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self",(char *) "other", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22341 if (arg2
== NULL
) {
22342 PyErr_SetString(PyExc_TypeError
,"null reference");
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22353 wxTimeSpan
* resultptr
;
22354 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22363 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
;
22365 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22366 wxTimeSpan
*arg2
= 0 ;
22368 PyObject
* obj0
= 0 ;
22369 PyObject
* obj1
= 0 ;
22370 char *kwnames
[] = {
22371 (char *) "self",(char *) "other", NULL
22374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22380 if (arg2
== NULL
) {
22381 PyErr_SetString(PyExc_TypeError
,"null reference");
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 wxTimeSpan
* resultptr
;
22393 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22402 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self",(char *) "n", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22416 arg2
= (int)SWIG_As_int(obj1
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= wxTimeSpan___mul__(arg1
,arg2
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22426 wxTimeSpan
* resultptr
;
22427 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22436 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22441 PyObject
* obj0
= 0 ;
22442 PyObject
* obj1
= 0 ;
22443 char *kwnames
[] = {
22444 (char *) "self",(char *) "n", NULL
22447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22450 arg2
= (int)SWIG_As_int(obj1
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22460 wxTimeSpan
* resultptr
;
22461 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22470 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
;
22472 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22473 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22475 PyObject
* obj0
= 0 ;
22476 PyObject
* obj1
= 0 ;
22477 char *kwnames
[] = {
22478 (char *) "self",(char *) "other", NULL
22481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22502 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22503 PyObject
*resultobj
;
22504 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22505 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22507 PyObject
* obj0
= 0 ;
22508 PyObject
* obj1
= 0 ;
22509 char *kwnames
[] = {
22510 (char *) "self",(char *) "other", NULL
22513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22534 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22535 PyObject
*resultobj
;
22536 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22537 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22539 PyObject
* obj0
= 0 ;
22540 PyObject
* obj1
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "self",(char *) "other", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22566 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
;
22568 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22569 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22571 PyObject
* obj0
= 0 ;
22572 PyObject
* obj1
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self",(char *) "other", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22598 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22601 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22603 PyObject
* obj0
= 0 ;
22604 PyObject
* obj1
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self",(char *) "other", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22630 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22633 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22635 PyObject
* obj0
= 0 ;
22636 PyObject
* obj1
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self",(char *) "other", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22662 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22690 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22718 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22746 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
;
22748 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22749 wxTimeSpan
*arg2
= 0 ;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 char *kwnames
[] = {
22754 (char *) "self",(char *) "ts", NULL
22757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22763 if (arg2
== NULL
) {
22764 PyErr_SetString(PyExc_TypeError
,"null reference");
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22783 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
;
22785 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22786 wxTimeSpan
*arg2
= 0 ;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self",(char *) "ts", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22800 if (arg2
== NULL
) {
22801 PyErr_SetString(PyExc_TypeError
,"null reference");
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22820 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22823 wxTimeSpan
*arg2
= 0 ;
22825 PyObject
* obj0
= 0 ;
22826 PyObject
* obj1
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self",(char *) "t", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22837 if (arg2
== NULL
) {
22838 PyErr_SetString(PyExc_TypeError
,"null reference");
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22857 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 char *kwnames
[] = {
22863 (char *) "self", NULL
22866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= SWIG_From_int((int)result
);
22883 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_From_int((int)result
);
22909 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 resultobj
= SWIG_From_int((int)result
);
22935 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22939 PyObject
* obj0
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_From_int((int)result
);
22961 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22965 PyObject
* obj0
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22981 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22982 hi
= PyLong_FromLong( (&result
)->GetHi() );
22983 lo
= PyLong_FromLong( (&result
)->GetLo() );
22984 shifter
= PyLong_FromLong(32);
22985 shifted
= PyNumber_Lshift(hi
, shifter
);
22986 resultobj
= PyNumber_Or(shifted
, lo
);
22989 Py_DECREF(shifter
);
22990 Py_DECREF(shifted
);
22998 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
;
23000 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23002 PyObject
* obj0
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "self", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23018 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23019 hi
= PyLong_FromLong( (&result
)->GetHi() );
23020 lo
= PyLong_FromLong( (&result
)->GetLo() );
23021 shifter
= PyLong_FromLong(32);
23022 shifted
= PyNumber_Lshift(hi
, shifter
);
23023 resultobj
= PyNumber_Or(shifted
, lo
);
23026 Py_DECREF(shifter
);
23027 Py_DECREF(shifted
);
23035 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23038 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23039 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23041 bool temp2
= false ;
23042 PyObject
* obj0
= 0 ;
23043 PyObject
* obj1
= 0 ;
23044 char *kwnames
[] = {
23045 (char *) "self",(char *) "format", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23053 arg2
= wxString_in_helper(obj1
);
23054 if (arg2
== NULL
) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23086 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23089 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23091 return Py_BuildValue((char *)"");
23093 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 int arg1
= (int) 0 ;
23096 int arg2
= (int) 0 ;
23097 int arg3
= (int) 0 ;
23098 int arg4
= (int) 0 ;
23099 wxDateSpan
*result
;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 PyObject
* obj2
= 0 ;
23103 PyObject
* obj3
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23110 arg1
= (int)SWIG_As_int(obj0
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23114 arg2
= (int)SWIG_As_int(obj1
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23118 arg3
= (int)SWIG_As_int(obj2
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23122 arg4
= (int)SWIG_As_int(obj3
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23139 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self", NULL
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 Py_INCREF(Py_None
); resultobj
= Py_None
;
23164 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23168 PyObject
* obj0
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "days", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23174 arg1
= (int)SWIG_As_int(obj0
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= wxDateSpan::Days(arg1
);
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23184 wxDateSpan
* resultptr
;
23185 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23194 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23197 char *kwnames
[] = {
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= wxDateSpan::Day();
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23210 wxDateSpan
* resultptr
;
23211 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23220 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23224 PyObject
* obj0
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "weeks", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23230 arg1
= (int)SWIG_As_int(obj0
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= wxDateSpan::Weeks(arg1
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23240 wxDateSpan
* resultptr
;
23241 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23250 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23253 char *kwnames
[] = {
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= wxDateSpan::Week();
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 wxDateSpan
* resultptr
;
23267 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23276 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23280 PyObject
* obj0
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "mon", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23286 arg1
= (int)SWIG_As_int(obj0
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= wxDateSpan::Months(arg1
);
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23296 wxDateSpan
* resultptr
;
23297 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23306 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23309 char *kwnames
[] = {
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= wxDateSpan::Month();
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 wxDateSpan
* resultptr
;
23323 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23332 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23336 PyObject
* obj0
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "years", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23342 arg1
= (int)SWIG_As_int(obj0
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= wxDateSpan::Years(arg1
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 wxDateSpan
* resultptr
;
23353 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23362 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23365 char *kwnames
[] = {
23369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= wxDateSpan::Year();
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 wxDateSpan
* resultptr
;
23379 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23388 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23392 wxDateSpan
*result
;
23393 PyObject
* obj0
= 0 ;
23394 PyObject
* obj1
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self",(char *) "n", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23402 arg2
= (int)SWIG_As_int(obj1
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23408 result
= (wxDateSpan
*) &_result_ref
;
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23421 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23425 wxDateSpan
*result
;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self",(char *) "n", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23435 arg2
= (int)SWIG_As_int(obj1
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23441 result
= (wxDateSpan
*) &_result_ref
;
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23454 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23458 wxDateSpan
*result
;
23459 PyObject
* obj0
= 0 ;
23460 PyObject
* obj1
= 0 ;
23461 char *kwnames
[] = {
23462 (char *) "self",(char *) "n", NULL
23465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23468 arg2
= (int)SWIG_As_int(obj1
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23474 result
= (wxDateSpan
*) &_result_ref
;
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23487 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23491 wxDateSpan
*result
;
23492 PyObject
* obj0
= 0 ;
23493 PyObject
* obj1
= 0 ;
23494 char *kwnames
[] = {
23495 (char *) "self",(char *) "n", NULL
23498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23501 arg2
= (int)SWIG_As_int(obj1
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23507 result
= (wxDateSpan
*) &_result_ref
;
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23520 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23539 resultobj
= SWIG_From_int((int)result
);
23546 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23547 PyObject
*resultobj
;
23548 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23550 PyObject
* obj0
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_From_int((int)result
);
23572 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
;
23574 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23576 PyObject
* obj0
= 0 ;
23577 char *kwnames
[] = {
23578 (char *) "self", NULL
23581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= SWIG_From_int((int)result
);
23598 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23602 PyObject
* obj0
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= SWIG_From_int((int)result
);
23624 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23628 PyObject
* obj0
= 0 ;
23629 char *kwnames
[] = {
23630 (char *) "self", NULL
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= SWIG_From_int((int)result
);
23650 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
;
23652 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23653 wxDateSpan
*arg2
= 0 ;
23654 wxDateSpan
*result
;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self",(char *) "other", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23667 if (arg2
== NULL
) {
23668 PyErr_SetString(PyExc_TypeError
,"null reference");
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*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_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23691 wxDateSpan
*arg2
= 0 ;
23692 wxDateSpan
*result
;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self",(char *) "other", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23705 if (arg2
== NULL
) {
23706 PyErr_SetString(PyExc_TypeError
,"null reference");
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23713 result
= (wxDateSpan
*) &_result_ref
;
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23726 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
;
23728 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23729 wxDateSpan
*result
;
23730 PyObject
* obj0
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23742 result
= (wxDateSpan
*) &_result_ref
;
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23755 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
;
23757 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23759 wxDateSpan
*result
;
23760 PyObject
* obj0
= 0 ;
23761 PyObject
* obj1
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self",(char *) "factor", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23769 arg2
= (int)SWIG_As_int(obj1
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23775 result
= (wxDateSpan
*) &_result_ref
;
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23788 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23790 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23791 wxDateSpan
*arg2
= 0 ;
23792 wxDateSpan
*result
;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self",(char *) "other", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23801 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23805 if (arg2
== NULL
) {
23806 PyErr_SetString(PyExc_TypeError
,"null reference");
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23813 result
= (wxDateSpan
*) &_result_ref
;
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23826 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23827 PyObject
*resultobj
;
23828 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23829 wxDateSpan
*arg2
= 0 ;
23830 wxDateSpan
*result
;
23831 PyObject
* obj0
= 0 ;
23832 PyObject
* obj1
= 0 ;
23833 char *kwnames
[] = {
23834 (char *) "self",(char *) "other", NULL
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23839 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23843 if (arg2
== NULL
) {
23844 PyErr_SetString(PyExc_TypeError
,"null reference");
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23851 result
= (wxDateSpan
*) &_result_ref
;
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23864 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23867 wxDateSpan
*result
;
23868 PyObject
* obj0
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "self", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23880 result
= (wxDateSpan
*) &_result_ref
;
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23893 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
;
23895 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23897 wxDateSpan
*result
;
23898 PyObject
* obj0
= 0 ;
23899 PyObject
* obj1
= 0 ;
23900 char *kwnames
[] = {
23901 (char *) "self",(char *) "factor", NULL
23904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23906 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23907 arg2
= (int)SWIG_As_int(obj1
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23913 result
= (wxDateSpan
*) &_result_ref
;
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23926 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23929 wxDateSpan
*arg2
= 0 ;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "self",(char *) "other", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23943 if (arg2
== NULL
) {
23944 PyErr_SetString(PyExc_TypeError
,"null reference");
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23955 wxDateSpan
* resultptr
;
23956 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23965 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23968 wxDateSpan
*arg2
= 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "other", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23982 if (arg2
== NULL
) {
23983 PyErr_SetString(PyExc_TypeError
,"null reference");
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 wxDateSpan
* resultptr
;
23995 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24004 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "self",(char *) "n", NULL
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24018 arg2
= (int)SWIG_As_int(obj1
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 result
= wxDateSpan___mul__(arg1
,arg2
);
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24028 wxDateSpan
* resultptr
;
24029 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24038 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24040 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 PyObject
* obj1
= 0 ;
24045 char *kwnames
[] = {
24046 (char *) "self",(char *) "n", NULL
24049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24052 arg2
= (int)SWIG_As_int(obj1
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= wxDateSpan___rmul__(arg1
,arg2
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 wxDateSpan
* resultptr
;
24063 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24072 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24075 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self",(char *) "other", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24092 wxPyEndAllowThreads(__tstate
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24104 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24106 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24107 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24109 PyObject
* obj0
= 0 ;
24110 PyObject
* obj1
= 0 ;
24111 char *kwnames
[] = {
24112 (char *) "self",(char *) "other", NULL
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24136 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24139 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24141 return Py_BuildValue((char *)"");
24143 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24146 char *kwnames
[] = {
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (long)wxGetLocalTime();
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_From_long((long)result
);
24165 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24166 PyObject
*resultobj
;
24168 char *kwnames
[] = {
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (long)wxGetUTCTime();
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= SWIG_From_long((long)result
);
24187 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24190 char *kwnames
[] = {
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (long)wxGetCurrentTime();
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= SWIG_From_long((long)result
);
24209 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24212 char *kwnames
[] = {
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 result
= wxGetLocalTimeMillis();
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24225 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24226 hi
= PyLong_FromLong( (&result
)->GetHi() );
24227 lo
= PyLong_FromLong( (&result
)->GetLo() );
24228 shifter
= PyLong_FromLong(32);
24229 shifted
= PyNumber_Lshift(hi
, shifter
);
24230 resultobj
= PyNumber_Or(shifted
, lo
);
24233 Py_DECREF(shifter
);
24234 Py_DECREF(shifted
);
24242 static int _wrap_DefaultDateTime_set(PyObject
*) {
24243 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24248 static PyObject
*_wrap_DefaultDateTime_get() {
24251 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24256 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24259 wxDataFormat
*result
;
24260 PyObject
* obj0
= 0 ;
24261 char *kwnames
[] = {
24262 (char *) "type", NULL
24265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24266 arg1
= (int)SWIG_As_int(obj0
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24282 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
;
24284 wxString
*arg1
= 0 ;
24285 wxDataFormat
*result
;
24286 bool temp1
= false ;
24287 PyObject
* obj0
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "format", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24294 arg1
= wxString_in_helper(obj0
);
24295 if (arg1
== NULL
) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24320 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24323 PyObject
* obj0
= 0 ;
24324 char *kwnames
[] = {
24325 (char *) "self", NULL
24328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24338 Py_INCREF(Py_None
); resultobj
= Py_None
;
24345 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24346 PyObject
*resultobj
;
24347 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24353 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24356 arg2
= (int)SWIG_As_int(obj1
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24374 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24375 PyObject
*resultobj
;
24376 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24379 PyObject
* obj0
= 0 ;
24380 PyObject
* obj1
= 0 ;
24382 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24385 arg2
= (int)SWIG_As_int(obj1
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24403 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24404 PyObject
*resultobj
;
24405 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24406 wxDataFormat
*arg2
= 0 ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24411 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24417 if (arg2
== NULL
) {
24418 PyErr_SetString(PyExc_TypeError
,"null reference");
24422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24437 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24442 argc
= PyObject_Length(args
);
24443 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24444 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24450 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24460 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24468 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24476 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24484 _v
= SWIG_Check_int(argv
[1]);
24486 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24491 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24496 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24497 PyObject
*resultobj
;
24498 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24499 wxDataFormat
*arg2
= 0 ;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24504 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24510 if (arg2
== NULL
) {
24511 PyErr_SetString(PyExc_TypeError
,"null reference");
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24530 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24535 argc
= PyObject_Length(args
);
24536 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24537 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24543 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24553 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24561 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24569 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24577 _v
= SWIG_Check_int(argv
[1]);
24579 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24584 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24589 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
;
24591 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "self",(char *) "format", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24602 arg2
= (int)SWIG_As_int(obj1
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 (arg1
)->SetType((wxDataFormatId
)arg2
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 Py_INCREF(Py_None
); resultobj
= Py_None
;
24618 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24622 PyObject
* obj0
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_From_int((int)result
);
24644 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24648 PyObject
* obj0
= 0 ;
24649 char *kwnames
[] = {
24650 (char *) "self", NULL
24653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= ((wxDataFormat
const *)arg1
)->GetId();
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24676 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
;
24678 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24679 wxString
*arg2
= 0 ;
24680 bool temp2
= false ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self",(char *) "format", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24691 arg2
= wxString_in_helper(obj1
);
24692 if (arg2
== NULL
) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 (arg1
)->SetId((wxString
const &)*arg2
);
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 Py_INCREF(Py_None
); resultobj
= Py_None
;
24717 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24720 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24722 return Py_BuildValue((char *)"");
24724 static int _wrap_FormatInvalid_set(PyObject
*) {
24725 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24730 static PyObject
*_wrap_FormatInvalid_get() {
24733 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24738 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
;
24740 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24741 PyObject
* obj0
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 Py_INCREF(Py_None
); resultobj
= Py_None
;
24763 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
;
24765 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24766 int arg2
= (int) wxDataObject::Get
;
24767 SwigValueWrapper
< wxDataFormat
> result
;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 char *kwnames
[] = {
24771 (char *) "self",(char *) "dir", NULL
24774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24778 arg2
= (int)SWIG_As_int(obj1
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24789 wxDataFormat
* resultptr
;
24790 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24799 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24802 int arg2
= (int) wxDataObject::Get
;
24804 PyObject
* obj0
= 0 ;
24805 PyObject
* obj1
= 0 ;
24806 char *kwnames
[] = {
24807 (char *) "self",(char *) "dir", NULL
24810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24814 arg2
= (int)SWIG_As_int(obj1
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24831 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24834 wxDataFormat
*arg2
= 0 ;
24835 int arg3
= (int) wxDataObject::Get
;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 PyObject
* obj2
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self",(char *) "format",(char *) "dir", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24850 if (arg2
== NULL
) {
24851 PyErr_SetString(PyExc_TypeError
,"null reference");
24855 arg3
= (int)SWIG_As_int(obj2
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24874 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24877 wxDataFormat
*arg2
= 0 ;
24879 PyObject
* obj0
= 0 ;
24880 PyObject
* obj1
= 0 ;
24881 char *kwnames
[] = {
24882 (char *) "self",(char *) "format", NULL
24885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24891 if (arg2
== NULL
) {
24892 PyErr_SetString(PyExc_TypeError
,"null reference");
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24909 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
;
24911 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24912 int arg2
= (int) wxDataObject::Get
;
24914 PyObject
* obj0
= 0 ;
24915 PyObject
* obj1
= 0 ;
24916 char *kwnames
[] = {
24917 (char *) "self",(char *) "dir", NULL
24920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24924 arg2
= (int)SWIG_As_int(obj1
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24934 resultobj
= result
;
24941 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24942 PyObject
*resultobj
;
24943 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24944 wxDataFormat
*arg2
= 0 ;
24946 PyObject
* obj0
= 0 ;
24947 PyObject
* obj1
= 0 ;
24948 char *kwnames
[] = {
24949 (char *) "self",(char *) "format", NULL
24952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24958 if (arg2
== NULL
) {
24959 PyErr_SetString(PyExc_TypeError
,"null reference");
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= result
;
24976 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24979 wxDataFormat
*arg2
= 0 ;
24980 PyObject
*arg3
= (PyObject
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 PyObject
* obj2
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "self",(char *) "format",(char *) "data", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24995 if (arg2
== NULL
) {
24996 PyErr_SetString(PyExc_TypeError
,"null reference");
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25016 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25019 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25021 return Py_BuildValue((char *)"");
25023 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
;
25025 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25026 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25027 wxDataObjectSimple
*result
;
25028 PyObject
* obj0
= 0 ;
25029 char *kwnames
[] = {
25030 (char *) "format", NULL
25033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25038 if (arg1
== NULL
) {
25039 PyErr_SetString(PyExc_TypeError
,"null reference");
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25057 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25060 wxDataFormat
*result
;
25061 PyObject
* obj0
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25073 result
= (wxDataFormat
*) &_result_ref
;
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25086 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
;
25088 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25089 wxDataFormat
*arg2
= 0 ;
25090 PyObject
* obj0
= 0 ;
25091 PyObject
* obj1
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self",(char *) "format", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25102 if (arg2
== NULL
) {
25103 PyErr_SetString(PyExc_TypeError
,"null reference");
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 Py_INCREF(Py_None
); resultobj
= Py_None
;
25120 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
;
25122 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25124 PyObject
* obj0
= 0 ;
25125 char *kwnames
[] = {
25126 (char *) "self", NULL
25129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25146 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
;
25148 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25150 PyObject
* obj0
= 0 ;
25151 char *kwnames
[] = {
25152 (char *) "self", NULL
25155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= result
;
25172 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25175 PyObject
*arg2
= (PyObject
*) 0 ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "self",(char *) "data", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25203 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25206 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25208 return Py_BuildValue((char *)"");
25210 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25212 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25213 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25214 wxPyDataObjectSimple
*result
;
25215 PyObject
* obj0
= 0 ;
25216 char *kwnames
[] = {
25217 (char *) "format", NULL
25220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25225 if (arg1
== NULL
) {
25226 PyErr_SetString(PyExc_TypeError
,"null reference");
25231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25244 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
;
25246 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25247 PyObject
*arg2
= (PyObject
*) 0 ;
25248 PyObject
*arg3
= (PyObject
*) 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 PyObject
* obj2
= 0 ;
25252 char *kwnames
[] = {
25253 (char *) "self",(char *) "self",(char *) "_class", NULL
25256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 Py_INCREF(Py_None
); resultobj
= Py_None
;
25275 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25278 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25280 return Py_BuildValue((char *)"");
25282 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxDataObjectComposite
*result
;
25285 char *kwnames
[] = {
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25304 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25305 PyObject
*resultobj
;
25306 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25307 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25308 bool arg3
= (bool) false ;
25309 PyObject
* obj0
= 0 ;
25310 PyObject
* obj1
= 0 ;
25311 PyObject
* obj2
= 0 ;
25312 char *kwnames
[] = {
25313 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25320 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25322 arg3
= (bool)SWIG_As_bool(obj2
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 (arg1
)->Add(arg2
,arg3
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 Py_INCREF(Py_None
); resultobj
= Py_None
;
25339 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25342 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25344 return Py_BuildValue((char *)"");
25346 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25349 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25350 wxTextDataObject
*result
;
25351 bool temp1
= false ;
25352 PyObject
* obj0
= 0 ;
25353 char *kwnames
[] = {
25354 (char *) "text", NULL
25357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25360 arg1
= wxString_in_helper(obj0
);
25361 if (arg1
== NULL
) SWIG_fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25387 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
;
25389 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (size_t)(arg1
)->GetTextLength();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25413 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25417 PyObject
* obj0
= 0 ;
25418 char *kwnames
[] = {
25419 (char *) "self", NULL
25422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 result
= (arg1
)->GetText();
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25445 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
;
25447 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25448 wxString
*arg2
= 0 ;
25449 bool temp2
= false ;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "text", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25460 arg2
= wxString_in_helper(obj1
);
25461 if (arg2
== NULL
) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 (arg1
)->SetText((wxString
const &)*arg2
);
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 Py_INCREF(Py_None
); resultobj
= Py_None
;
25486 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25489 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25491 return Py_BuildValue((char *)"");
25493 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
;
25495 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25496 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25497 wxPyTextDataObject
*result
;
25498 bool temp1
= false ;
25499 PyObject
* obj0
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "text", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25507 arg1
= wxString_in_helper(obj0
);
25508 if (arg1
== NULL
) SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25534 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25537 PyObject
*arg2
= (PyObject
*) 0 ;
25538 PyObject
*arg3
= (PyObject
*) 0 ;
25539 PyObject
* obj0
= 0 ;
25540 PyObject
* obj1
= 0 ;
25541 PyObject
* obj2
= 0 ;
25542 char *kwnames
[] = {
25543 (char *) "self",(char *) "self",(char *) "_class", NULL
25546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 Py_INCREF(Py_None
); resultobj
= Py_None
;
25565 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25568 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25570 return Py_BuildValue((char *)"");
25572 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25574 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25575 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25576 wxBitmapDataObject
*result
;
25577 PyObject
* obj0
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "bitmap", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25587 if (arg1
== NULL
) {
25588 PyErr_SetString(PyExc_TypeError
,"null reference");
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25606 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 wxBitmap
* resultptr
;
25627 resultptr
= new wxBitmap((wxBitmap
&) result
);
25628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25636 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25639 wxBitmap
*arg2
= 0 ;
25640 PyObject
* obj0
= 0 ;
25641 PyObject
* obj1
= 0 ;
25642 char *kwnames
[] = {
25643 (char *) "self",(char *) "bitmap", NULL
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25652 if (arg2
== NULL
) {
25653 PyErr_SetString(PyExc_TypeError
,"null reference");
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25663 Py_INCREF(Py_None
); resultobj
= Py_None
;
25670 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25673 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25675 return Py_BuildValue((char *)"");
25677 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
;
25679 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25680 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25681 wxPyBitmapDataObject
*result
;
25682 PyObject
* obj0
= 0 ;
25683 char *kwnames
[] = {
25684 (char *) "bitmap", NULL
25687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25692 if (arg1
== NULL
) {
25693 PyErr_SetString(PyExc_TypeError
,"null reference");
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25711 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
;
25713 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25714 PyObject
*arg2
= (PyObject
*) 0 ;
25715 PyObject
*arg3
= (PyObject
*) 0 ;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 PyObject
* obj2
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self",(char *) "self",(char *) "_class", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25735 Py_INCREF(Py_None
); resultobj
= Py_None
;
25742 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25745 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25747 return Py_BuildValue((char *)"");
25749 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
;
25751 wxFileDataObject
*result
;
25752 char *kwnames
[] = {
25756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 result
= (wxFileDataObject
*)new wxFileDataObject();
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25771 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
;
25773 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25774 wxArrayString
*result
;
25775 PyObject
* obj0
= 0 ;
25776 char *kwnames
[] = {
25777 (char *) "self", NULL
25780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25787 result
= (wxArrayString
*) &_result_ref
;
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= wxArrayString2PyList_helper(*result
);
25802 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
;
25804 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25805 wxString
*arg2
= 0 ;
25806 bool temp2
= false ;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "self",(char *) "filename", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25817 arg2
= wxString_in_helper(obj1
);
25818 if (arg2
== NULL
) SWIG_fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 (arg1
)->AddFile((wxString
const &)*arg2
);
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25828 Py_INCREF(Py_None
); resultobj
= Py_None
;
25843 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25846 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25848 return Py_BuildValue((char *)"");
25850 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25853 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25854 wxCustomDataObject
*result
;
25855 PyObject
* obj0
= 0 ;
25856 char *kwnames
[] = {
25857 (char *) "format", NULL
25860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25865 if (arg1
== NULL
) {
25866 PyErr_SetString(PyExc_TypeError
,"null reference");
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25884 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25887 PyObject
*arg2
= (PyObject
*) 0 ;
25889 PyObject
* obj0
= 0 ;
25890 PyObject
* obj1
= 0 ;
25891 char *kwnames
[] = {
25892 (char *) "self",(char *) "data", NULL
25895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25915 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25919 PyObject
* obj0
= 0 ;
25920 char *kwnames
[] = {
25921 (char *) "self", NULL
25924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 result
= (size_t)(arg1
)->GetSize();
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25941 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25945 PyObject
* obj0
= 0 ;
25946 char *kwnames
[] = {
25947 (char *) "self", NULL
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25957 wxPyEndAllowThreads(__tstate
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= result
;
25967 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25970 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25972 return Py_BuildValue((char *)"");
25974 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
;
25976 wxURLDataObject
*result
;
25977 char *kwnames
[] = {
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= (wxURLDataObject
*)new wxURLDataObject();
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25996 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26000 PyObject
* obj0
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (arg1
)->GetURL();
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26028 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26031 wxString
*arg2
= 0 ;
26032 bool temp2
= false ;
26033 PyObject
* obj0
= 0 ;
26034 PyObject
* obj1
= 0 ;
26035 char *kwnames
[] = {
26036 (char *) "self",(char *) "url", NULL
26039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26043 arg2
= wxString_in_helper(obj1
);
26044 if (arg2
== NULL
) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 (arg1
)->SetURL((wxString
const &)*arg2
);
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26054 Py_INCREF(Py_None
); resultobj
= Py_None
;
26069 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26072 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26074 return Py_BuildValue((char *)"");
26076 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
;
26078 wxMetafileDataObject
*result
;
26079 char *kwnames
[] = {
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26098 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26101 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26103 return Py_BuildValue((char *)"");
26105 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26109 PyObject
* obj0
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "res", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26115 arg1
= (int)SWIG_As_int(obj0
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26133 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
;
26135 wxWindow
*arg1
= (wxWindow
*) 0 ;
26136 wxIcon
const &arg2_defvalue
= wxNullIcon
;
26137 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
26138 wxIcon
const &arg3_defvalue
= wxNullIcon
;
26139 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
26140 wxIcon
const &arg4_defvalue
= wxNullIcon
;
26141 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
26142 wxPyDropSource
*result
;
26143 PyObject
* obj0
= 0 ;
26144 PyObject
* obj1
= 0 ;
26145 PyObject
* obj2
= 0 ;
26146 PyObject
* obj3
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26158 if (arg2
== NULL
) {
26159 PyErr_SetString(PyExc_TypeError
,"null reference");
26164 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
26165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26167 if (arg3
== NULL
) {
26168 PyErr_SetString(PyExc_TypeError
,"null reference");
26173 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
26174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26176 if (arg4
== NULL
) {
26177 PyErr_SetString(PyExc_TypeError
,"null reference");
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26195 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26198 PyObject
*arg2
= (PyObject
*) 0 ;
26199 PyObject
*arg3
= (PyObject
*) 0 ;
26201 PyObject
* obj0
= 0 ;
26202 PyObject
* obj1
= 0 ;
26203 PyObject
* obj2
= 0 ;
26204 PyObject
* obj3
= 0 ;
26205 char *kwnames
[] = {
26206 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26214 arg4
= (int)SWIG_As_int(obj3
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 Py_INCREF(Py_None
); resultobj
= Py_None
;
26230 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26231 PyObject
*resultobj
;
26232 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26233 PyObject
* obj0
= 0 ;
26234 char *kwnames
[] = {
26235 (char *) "self", NULL
26238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 Py_INCREF(Py_None
); resultobj
= Py_None
;
26255 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
;
26257 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26258 wxDataObject
*arg2
= 0 ;
26259 PyObject
* obj0
= 0 ;
26260 PyObject
* obj1
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self",(char *) "data", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26271 if (arg2
== NULL
) {
26272 PyErr_SetString(PyExc_TypeError
,"null reference");
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 (arg1
)->SetData(*arg2
);
26279 wxPyEndAllowThreads(__tstate
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 Py_INCREF(Py_None
); resultobj
= Py_None
;
26289 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
;
26291 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26292 wxDataObject
*result
;
26293 PyObject
* obj0
= 0 ;
26294 char *kwnames
[] = {
26295 (char *) "self", NULL
26298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26315 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26319 wxCursor
*arg3
= 0 ;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 PyObject
* obj2
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "res",(char *) "cursor", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26330 arg2
= (int)SWIG_As_int(obj1
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26332 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26335 if (arg3
== NULL
) {
26336 PyErr_SetString(PyExc_TypeError
,"null reference");
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26343 wxPyEndAllowThreads(__tstate
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26346 Py_INCREF(Py_None
); resultobj
= Py_None
;
26353 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26356 int arg2
= (int) wxDrag_CopyOnly
;
26358 PyObject
* obj0
= 0 ;
26359 PyObject
* obj1
= 0 ;
26360 char *kwnames
[] = {
26361 (char *) "self",(char *) "flags", NULL
26364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26368 arg2
= (int)SWIG_As_int(obj1
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 result
= (int)(arg1
)->DoDragDrop(arg2
);
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= SWIG_From_int((int)result
);
26385 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26390 PyObject
* obj0
= 0 ;
26391 PyObject
* obj1
= 0 ;
26392 char *kwnames
[] = {
26393 (char *) "self",(char *) "effect", NULL
26396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26399 arg2
= (int)SWIG_As_int(obj1
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26417 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26420 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26422 return Py_BuildValue((char *)"");
26424 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26427 wxPyDropTarget
*result
;
26428 PyObject
* obj0
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "dataObject", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26436 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26452 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26455 PyObject
*arg2
= (PyObject
*) 0 ;
26456 PyObject
*arg3
= (PyObject
*) 0 ;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 PyObject
* obj2
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self",(char *) "self",(char *) "_class", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 Py_INCREF(Py_None
); resultobj
= Py_None
;
26483 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
;
26485 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26486 PyObject
* obj0
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "self", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 Py_INCREF(Py_None
); resultobj
= Py_None
;
26508 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
;
26510 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26511 wxDataObject
*result
;
26512 PyObject
* obj0
= 0 ;
26513 char *kwnames
[] = {
26514 (char *) "self", NULL
26517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26522 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26534 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26535 PyObject
*resultobj
;
26536 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26537 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26538 PyObject
* obj0
= 0 ;
26539 PyObject
* obj1
= 0 ;
26540 char *kwnames
[] = {
26541 (char *) "self",(char *) "dataObject", NULL
26544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26548 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 (arg1
)->SetDataObject(arg2
);
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 Py_INCREF(Py_None
); resultobj
= Py_None
;
26563 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26570 PyObject
* obj0
= 0 ;
26571 PyObject
* obj1
= 0 ;
26572 PyObject
* obj2
= 0 ;
26573 PyObject
* obj3
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 arg2
= (int)SWIG_As_int(obj1
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26583 arg3
= (int)SWIG_As_int(obj2
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26585 arg4
= (int)SWIG_As_int(obj3
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_From_int((int)result
);
26601 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
;
26603 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26608 PyObject
* obj0
= 0 ;
26609 PyObject
* obj1
= 0 ;
26610 PyObject
* obj2
= 0 ;
26611 PyObject
* obj3
= 0 ;
26612 char *kwnames
[] = {
26613 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26619 arg2
= (int)SWIG_As_int(obj1
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26621 arg3
= (int)SWIG_As_int(obj2
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26623 arg4
= (int)SWIG_As_int(obj3
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_From_int((int)result
);
26639 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
;
26641 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26642 PyObject
* obj0
= 0 ;
26643 char *kwnames
[] = {
26644 (char *) "self", NULL
26647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 (arg1
)->base_OnLeave();
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 Py_INCREF(Py_None
); resultobj
= Py_None
;
26664 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
;
26666 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26670 PyObject
* obj0
= 0 ;
26671 PyObject
* obj1
= 0 ;
26672 PyObject
* obj2
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self",(char *) "x",(char *) "y", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26680 arg2
= (int)SWIG_As_int(obj1
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26682 arg3
= (int)SWIG_As_int(obj2
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26700 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
;
26702 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26704 PyObject
* obj0
= 0 ;
26705 char *kwnames
[] = {
26706 (char *) "self", NULL
26709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 result
= (bool)(arg1
)->GetData();
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26728 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26731 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26733 return Py_BuildValue((char *)"");
26735 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxPyTextDropTarget
*result
;
26738 char *kwnames
[] = {
26742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26745 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26747 wxPyEndAllowThreads(__tstate
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26757 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26758 PyObject
*resultobj
;
26759 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26760 PyObject
*arg2
= (PyObject
*) 0 ;
26761 PyObject
*arg3
= (PyObject
*) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 PyObject
* obj2
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self",(char *) "self",(char *) "_class", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 Py_INCREF(Py_None
); resultobj
= Py_None
;
26788 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
;
26790 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 PyObject
* obj2
= 0 ;
26798 PyObject
* obj3
= 0 ;
26799 char *kwnames
[] = {
26800 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26806 arg2
= (int)SWIG_As_int(obj1
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26808 arg3
= (int)SWIG_As_int(obj2
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26810 arg4
= (int)SWIG_As_int(obj3
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= SWIG_From_int((int)result
);
26826 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26833 PyObject
* obj0
= 0 ;
26834 PyObject
* obj1
= 0 ;
26835 PyObject
* obj2
= 0 ;
26836 PyObject
* obj3
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26844 arg2
= (int)SWIG_As_int(obj1
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26846 arg3
= (int)SWIG_As_int(obj2
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26848 arg4
= (int)SWIG_As_int(obj3
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_From_int((int)result
);
26864 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26867 PyObject
* obj0
= 0 ;
26868 char *kwnames
[] = {
26869 (char *) "self", NULL
26872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 (arg1
)->base_OnLeave();
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 Py_INCREF(Py_None
); resultobj
= Py_None
;
26889 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
;
26891 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26895 PyObject
* obj0
= 0 ;
26896 PyObject
* obj1
= 0 ;
26897 PyObject
* obj2
= 0 ;
26898 char *kwnames
[] = {
26899 (char *) "self",(char *) "x",(char *) "y", NULL
26902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26905 arg2
= (int)SWIG_As_int(obj1
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26907 arg3
= (int)SWIG_As_int(obj2
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26925 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26926 PyObject
*resultobj
;
26927 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26932 PyObject
* obj0
= 0 ;
26933 PyObject
* obj1
= 0 ;
26934 PyObject
* obj2
= 0 ;
26935 PyObject
* obj3
= 0 ;
26936 char *kwnames
[] = {
26937 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26943 arg2
= (int)SWIG_As_int(obj1
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26945 arg3
= (int)SWIG_As_int(obj2
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26947 arg4
= (int)SWIG_As_int(obj3
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= SWIG_From_int((int)result
);
26963 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26966 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26968 return Py_BuildValue((char *)"");
26970 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxPyFileDropTarget
*result
;
26973 char *kwnames
[] = {
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26992 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26993 PyObject
*resultobj
;
26994 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26995 PyObject
*arg2
= (PyObject
*) 0 ;
26996 PyObject
*arg3
= (PyObject
*) 0 ;
26997 PyObject
* obj0
= 0 ;
26998 PyObject
* obj1
= 0 ;
26999 PyObject
* obj2
= 0 ;
27000 char *kwnames
[] = {
27001 (char *) "self",(char *) "self",(char *) "_class", NULL
27004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 Py_INCREF(Py_None
); resultobj
= Py_None
;
27023 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
;
27025 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 PyObject
* obj2
= 0 ;
27033 PyObject
* obj3
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27041 arg2
= (int)SWIG_As_int(obj1
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27043 arg3
= (int)SWIG_As_int(obj2
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27045 arg4
= (int)SWIG_As_int(obj3
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= SWIG_From_int((int)result
);
27061 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27068 PyObject
* obj0
= 0 ;
27069 PyObject
* obj1
= 0 ;
27070 PyObject
* obj2
= 0 ;
27071 PyObject
* obj3
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27079 arg2
= (int)SWIG_As_int(obj1
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27081 arg3
= (int)SWIG_As_int(obj2
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27083 arg4
= (int)SWIG_As_int(obj3
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= SWIG_From_int((int)result
);
27099 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
;
27101 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27102 PyObject
* obj0
= 0 ;
27103 char *kwnames
[] = {
27104 (char *) "self", NULL
27107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 (arg1
)->base_OnLeave();
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27117 Py_INCREF(Py_None
); resultobj
= Py_None
;
27124 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27130 PyObject
* obj0
= 0 ;
27131 PyObject
* obj1
= 0 ;
27132 PyObject
* obj2
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self",(char *) "x",(char *) "y", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27140 arg2
= (int)SWIG_As_int(obj1
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27142 arg3
= (int)SWIG_As_int(obj2
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27160 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 PyObject
* obj2
= 0 ;
27170 PyObject
* obj3
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27178 arg2
= (int)SWIG_As_int(obj1
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27180 arg3
= (int)SWIG_As_int(obj2
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27182 arg4
= (int)SWIG_As_int(obj3
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 resultobj
= SWIG_From_int((int)result
);
27198 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27201 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27203 return Py_BuildValue((char *)"");
27205 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27206 PyObject
*resultobj
;
27207 wxClipboard
*result
;
27208 char *kwnames
[] = {
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 result
= (wxClipboard
*)new wxClipboard();
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27227 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 Py_INCREF(Py_None
); resultobj
= Py_None
;
27252 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27256 PyObject
* obj0
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 result
= (bool)(arg1
)->Open();
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27280 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
;
27282 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27283 PyObject
* obj0
= 0 ;
27284 char *kwnames
[] = {
27285 (char *) "self", NULL
27288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27295 wxPyEndAllowThreads(__tstate
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27298 Py_INCREF(Py_None
); resultobj
= Py_None
;
27305 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27306 PyObject
*resultobj
;
27307 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27309 PyObject
* obj0
= 0 ;
27310 char *kwnames
[] = {
27311 (char *) "self", NULL
27314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27333 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27334 PyObject
*resultobj
;
27335 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27336 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27338 PyObject
* obj0
= 0 ;
27339 PyObject
* obj1
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self",(char *) "data", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27348 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 result
= (bool)(arg1
)->AddData(arg2
);
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27365 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
;
27367 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27368 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27370 PyObject
* obj0
= 0 ;
27371 PyObject
* obj1
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self",(char *) "data", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27380 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 result
= (bool)(arg1
)->SetData(arg2
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27397 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
;
27399 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27400 wxDataFormat
*arg2
= 0 ;
27402 PyObject
* obj0
= 0 ;
27403 PyObject
* obj1
= 0 ;
27404 char *kwnames
[] = {
27405 (char *) "self",(char *) "format", NULL
27408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27414 if (arg2
== NULL
) {
27415 PyErr_SetString(PyExc_TypeError
,"null reference");
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27434 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27437 wxDataObject
*arg2
= 0 ;
27439 PyObject
* obj0
= 0 ;
27440 PyObject
* obj1
= 0 ;
27441 char *kwnames
[] = {
27442 (char *) "self",(char *) "data", NULL
27445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27451 if (arg2
== NULL
) {
27452 PyErr_SetString(PyExc_TypeError
,"null reference");
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 result
= (bool)(arg1
)->GetData(*arg2
);
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27471 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27472 PyObject
*resultobj
;
27473 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27474 PyObject
* obj0
= 0 ;
27475 char *kwnames
[] = {
27476 (char *) "self", NULL
27479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 wxPyEndAllowThreads(__tstate
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27489 Py_INCREF(Py_None
); resultobj
= Py_None
;
27496 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27497 PyObject
*resultobj
;
27498 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27500 PyObject
* obj0
= 0 ;
27501 char *kwnames
[] = {
27502 (char *) "self", NULL
27505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 result
= (bool)(arg1
)->Flush();
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27524 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27525 PyObject
*resultobj
;
27526 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27527 bool arg2
= (bool) true ;
27528 PyObject
* obj0
= 0 ;
27529 PyObject
* obj1
= 0 ;
27530 char *kwnames
[] = {
27531 (char *) "self",(char *) "primary", NULL
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27538 arg2
= (bool)SWIG_As_bool(obj1
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 (arg1
)->UsePrimarySelection(arg2
);
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27548 Py_INCREF(Py_None
); resultobj
= Py_None
;
27555 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27556 PyObject
*resultobj
;
27557 wxClipboard
*result
;
27558 char *kwnames
[] = {
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 result
= (wxClipboard
*)wxClipboard::Get();
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27577 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27580 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27582 return Py_BuildValue((char *)"");
27584 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
;
27586 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27587 wxClipboardLocker
*result
;
27588 PyObject
* obj0
= 0 ;
27589 char *kwnames
[] = {
27590 (char *) "clipboard", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27600 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27612 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
;
27614 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27615 PyObject
* obj0
= 0 ;
27616 char *kwnames
[] = {
27617 (char *) "self", NULL
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 Py_INCREF(Py_None
); resultobj
= Py_None
;
27637 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27638 PyObject
*resultobj
;
27639 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27641 PyObject
* obj0
= 0 ;
27642 char *kwnames
[] = {
27643 (char *) "self", NULL
27646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27665 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27668 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27670 return Py_BuildValue((char *)"");
27672 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 int arg1
= (int) 0 ;
27675 int arg2
= (int) 0 ;
27676 int arg3
= (int) 0 ;
27677 int arg4
= (int) 0 ;
27678 wxVideoMode
*result
;
27679 PyObject
* obj0
= 0 ;
27680 PyObject
* obj1
= 0 ;
27681 PyObject
* obj2
= 0 ;
27682 PyObject
* obj3
= 0 ;
27683 char *kwnames
[] = {
27684 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27689 arg1
= (int)SWIG_As_int(obj0
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27693 arg2
= (int)SWIG_As_int(obj1
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27697 arg3
= (int)SWIG_As_int(obj2
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27701 arg4
= (int)SWIG_As_int(obj3
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27706 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27718 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27719 PyObject
*resultobj
;
27720 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27721 PyObject
* obj0
= 0 ;
27722 char *kwnames
[] = {
27723 (char *) "self", NULL
27726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27733 wxPyEndAllowThreads(__tstate
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27736 Py_INCREF(Py_None
); resultobj
= Py_None
;
27743 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
;
27745 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27746 wxVideoMode
*arg2
= 0 ;
27748 PyObject
* obj0
= 0 ;
27749 PyObject
* obj1
= 0 ;
27750 char *kwnames
[] = {
27751 (char *) "self",(char *) "other", NULL
27754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27760 if (arg2
== NULL
) {
27761 PyErr_SetString(PyExc_TypeError
,"null reference");
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27780 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27781 PyObject
*resultobj
;
27782 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27784 PyObject
* obj0
= 0 ;
27785 char *kwnames
[] = {
27786 (char *) "self", NULL
27789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27794 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27796 wxPyEndAllowThreads(__tstate
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27799 resultobj
= SWIG_From_int((int)result
);
27806 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27807 PyObject
*resultobj
;
27808 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27810 PyObject
* obj0
= 0 ;
27811 char *kwnames
[] = {
27812 (char *) "self", NULL
27815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= SWIG_From_int((int)result
);
27832 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27833 PyObject
*resultobj
;
27834 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27836 PyObject
* obj0
= 0 ;
27837 char *kwnames
[] = {
27838 (char *) "self", NULL
27841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= SWIG_From_int((int)result
);
27858 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27862 PyObject
* obj0
= 0 ;
27863 char *kwnames
[] = {
27864 (char *) "self", NULL
27867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27872 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27874 wxPyEndAllowThreads(__tstate
);
27875 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27886 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
;
27888 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27889 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 char *kwnames
[] = {
27894 (char *) "self",(char *) "other", NULL
27897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27918 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27919 PyObject
*resultobj
;
27920 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27921 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27923 PyObject
* obj0
= 0 ;
27924 PyObject
* obj1
= 0 ;
27925 char *kwnames
[] = {
27926 (char *) "self",(char *) "other", NULL
27929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27936 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27938 wxPyEndAllowThreads(__tstate
);
27939 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27950 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
;
27952 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27954 PyObject
* obj0
= 0 ;
27955 PyObject
* obj1
= 0 ;
27956 char *kwnames
[] = {
27957 (char *) "self",(char *) "w", NULL
27960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27963 arg2
= (int)SWIG_As_int(obj1
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27965 if (arg1
) (arg1
)->w
= arg2
;
27967 Py_INCREF(Py_None
); resultobj
= Py_None
;
27974 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27978 PyObject
* obj0
= 0 ;
27979 char *kwnames
[] = {
27980 (char *) "self", NULL
27983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27986 result
= (int) ((arg1
)->w
);
27988 resultobj
= SWIG_From_int((int)result
);
27995 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
;
27997 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27999 PyObject
* obj0
= 0 ;
28000 PyObject
* obj1
= 0 ;
28001 char *kwnames
[] = {
28002 (char *) "self",(char *) "h", NULL
28005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28008 arg2
= (int)SWIG_As_int(obj1
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28010 if (arg1
) (arg1
)->h
= arg2
;
28012 Py_INCREF(Py_None
); resultobj
= Py_None
;
28019 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28020 PyObject
*resultobj
;
28021 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28023 PyObject
* obj0
= 0 ;
28024 char *kwnames
[] = {
28025 (char *) "self", NULL
28028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28031 result
= (int) ((arg1
)->h
);
28033 resultobj
= SWIG_From_int((int)result
);
28040 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28041 PyObject
*resultobj
;
28042 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28044 PyObject
* obj0
= 0 ;
28045 PyObject
* obj1
= 0 ;
28046 char *kwnames
[] = {
28047 (char *) "self",(char *) "bpp", NULL
28050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28053 arg2
= (int)SWIG_As_int(obj1
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28055 if (arg1
) (arg1
)->bpp
= arg2
;
28057 Py_INCREF(Py_None
); resultobj
= Py_None
;
28064 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28065 PyObject
*resultobj
;
28066 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28068 PyObject
* obj0
= 0 ;
28069 char *kwnames
[] = {
28070 (char *) "self", NULL
28073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28076 result
= (int) ((arg1
)->bpp
);
28078 resultobj
= SWIG_From_int((int)result
);
28085 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
;
28087 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28089 PyObject
* obj0
= 0 ;
28090 PyObject
* obj1
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "self",(char *) "refresh", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28098 arg2
= (int)SWIG_As_int(obj1
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28100 if (arg1
) (arg1
)->refresh
= arg2
;
28102 Py_INCREF(Py_None
); resultobj
= Py_None
;
28109 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
;
28111 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28113 PyObject
* obj0
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28121 result
= (int) ((arg1
)->refresh
);
28123 resultobj
= SWIG_From_int((int)result
);
28130 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28133 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28135 return Py_BuildValue((char *)"");
28137 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28138 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28143 static PyObject
*_wrap_DefaultVideoMode_get() {
28146 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28151 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28152 PyObject
*resultobj
;
28153 size_t arg1
= (size_t) 0 ;
28155 PyObject
* obj0
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "index", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28162 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 result
= (wxDisplay
*)new wxDisplay(arg1
);
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28179 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28180 PyObject
*resultobj
;
28181 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28182 PyObject
* obj0
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "self", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28197 Py_INCREF(Py_None
); resultobj
= Py_None
;
28204 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28205 PyObject
*resultobj
;
28207 char *kwnames
[] = {
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28214 result
= (size_t)wxDisplay::GetCount();
28216 wxPyEndAllowThreads(__tstate
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28219 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28226 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28227 PyObject
*resultobj
;
28228 wxPoint
*arg1
= 0 ;
28231 PyObject
* obj0
= 0 ;
28232 char *kwnames
[] = {
28233 (char *) "pt", NULL
28236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28239 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28245 wxPyEndAllowThreads(__tstate
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28248 resultobj
= SWIG_From_int((int)result
);
28255 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28256 PyObject
*resultobj
;
28257 wxWindow
*arg1
= (wxWindow
*) 0 ;
28259 PyObject
* obj0
= 0 ;
28260 char *kwnames
[] = {
28261 (char *) "window", NULL
28264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 result
= (int)Display_GetFromWindow(arg1
);
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= SWIG_From_int((int)result
);
28281 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28282 PyObject
*resultobj
;
28283 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28285 PyObject
* obj0
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28309 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28323 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28325 wxPyEndAllowThreads(__tstate
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28329 wxRect
* resultptr
;
28330 resultptr
= new wxRect((wxRect
&) result
);
28331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28339 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28340 PyObject
*resultobj
;
28341 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28343 PyObject
* obj0
= 0 ;
28344 char *kwnames
[] = {
28345 (char *) "self", NULL
28348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= ((wxDisplay
const *)arg1
)->GetName();
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28371 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
;
28373 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28375 PyObject
* obj0
= 0 ;
28376 char *kwnames
[] = {
28377 (char *) "self", NULL
28380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28399 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
;
28401 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28402 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28403 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28405 PyObject
* obj0
= 0 ;
28406 PyObject
* obj1
= 0 ;
28407 char *kwnames
[] = {
28408 (char *) "self",(char *) "mode", NULL
28411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28418 if (arg2
== NULL
) {
28419 PyErr_SetString(PyExc_TypeError
,"null reference");
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= result
;
28437 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28440 wxVideoMode result
;
28441 PyObject
* obj0
= 0 ;
28442 char *kwnames
[] = {
28443 (char *) "self", NULL
28446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28457 wxVideoMode
* resultptr
;
28458 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28467 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
;
28469 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28470 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28471 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 char *kwnames
[] = {
28476 (char *) "self",(char *) "mode", NULL
28479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28486 if (arg2
== NULL
) {
28487 PyErr_SetString(PyExc_TypeError
,"null reference");
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28507 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
;
28509 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28510 PyObject
* obj0
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 (arg1
)->ResetMode();
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 Py_INCREF(Py_None
); resultobj
= Py_None
;
28532 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28535 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28537 return Py_BuildValue((char *)"");
28539 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 wxStandardPaths
*result
;
28542 char *kwnames
[] = {
28546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 wxStandardPaths
&_result_ref
= wxStandardPaths::Get();
28551 result
= (wxStandardPaths
*) &_result_ref
;
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
28564 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28568 PyObject
* obj0
= 0 ;
28569 char *kwnames
[] = {
28570 (char *) "self", NULL
28573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
28574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28596 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28597 PyObject
*resultobj
;
28598 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28600 PyObject
* obj0
= 0 ;
28601 char *kwnames
[] = {
28602 (char *) "self", NULL
28605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
28606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
28612 wxPyEndAllowThreads(__tstate
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28628 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
;
28630 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28632 PyObject
* obj0
= 0 ;
28633 char *kwnames
[] = {
28634 (char *) "self", NULL
28637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
28638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28660 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
;
28662 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28664 PyObject
* obj0
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
28670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28674 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
28676 wxPyEndAllowThreads(__tstate
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28692 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
;
28694 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28696 PyObject
* obj0
= 0 ;
28697 char *kwnames
[] = {
28698 (char *) "self", NULL
28701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
28702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
28708 wxPyEndAllowThreads(__tstate
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28724 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
;
28726 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28728 PyObject
* obj0
= 0 ;
28729 char *kwnames
[] = {
28730 (char *) "self", NULL
28733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
28734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28756 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28757 PyObject
*resultobj
;
28758 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28760 PyObject
* obj0
= 0 ;
28761 char *kwnames
[] = {
28762 (char *) "self", NULL
28765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
28766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
28772 wxPyEndAllowThreads(__tstate
);
28773 if (PyErr_Occurred()) SWIG_fail
;
28777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28788 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28789 PyObject
*resultobj
;
28790 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28791 wxString
*arg2
= 0 ;
28792 bool temp2
= false ;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 char *kwnames
[] = {
28796 (char *) "self",(char *) "prefix", NULL
28799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
28800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28803 arg2
= wxString_in_helper(obj1
);
28804 if (arg2
== NULL
) SWIG_fail
;
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 Py_INCREF(Py_None
); resultobj
= Py_None
;
28829 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28830 PyObject
*resultobj
;
28831 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28833 PyObject
* obj0
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
28839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28843 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28861 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
28863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28864 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
28866 return Py_BuildValue((char *)"");
28868 static PyMethodDef SwigMethods
[] = {
28869 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28870 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28871 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28872 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28873 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28874 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28875 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
28876 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28877 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28878 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28879 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28880 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28881 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28882 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
28883 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28884 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28885 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28886 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28887 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28888 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28889 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28890 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28891 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28892 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28893 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28894 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28895 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28896 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28897 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28898 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28899 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28900 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28901 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28902 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28903 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28904 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28905 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28906 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28907 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28908 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28909 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28910 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28911 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28912 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28913 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28914 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28915 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28916 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28917 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28918 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28919 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28920 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28921 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28922 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28923 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28924 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28925 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28926 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28927 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28928 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28929 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28930 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28931 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28932 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28933 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28934 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28935 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28936 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28937 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28938 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28939 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28940 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28941 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28942 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28943 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28944 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28945 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28946 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
28947 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28948 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28949 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28950 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28951 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28952 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28953 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28954 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
28955 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28956 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28957 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28958 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28959 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28960 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28961 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28962 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28963 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28964 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28965 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28966 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28967 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28968 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28969 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28970 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
28971 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28972 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28973 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28974 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28975 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
28976 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28977 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28978 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
28979 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28980 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28981 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
28982 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28983 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28984 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28985 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28986 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28987 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
28988 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28989 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28990 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28991 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28992 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28993 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28994 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28995 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28996 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28997 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28998 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28999 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29000 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29001 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
29002 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29003 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29004 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29005 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29006 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29007 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
29008 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29009 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29010 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29011 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29012 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29013 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
29014 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29015 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29016 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
29017 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29018 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29019 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29020 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29021 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29022 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29023 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29024 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29025 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29026 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29027 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29028 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29029 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29030 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
29031 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29032 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29033 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
29034 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
29035 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29036 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29037 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
29038 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29039 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29040 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29041 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29042 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29043 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29044 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29045 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29046 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29047 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29048 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29049 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29050 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29051 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29052 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29053 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29054 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29055 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29056 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29057 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29058 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29059 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29060 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29061 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29062 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29063 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29064 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
29065 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29066 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
29067 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29068 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
29069 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29070 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
29071 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29072 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29073 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29074 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29075 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29076 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29077 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
29078 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29079 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29080 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29081 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29082 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29083 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
29084 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29085 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29086 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29087 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29088 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29089 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29090 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29091 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29092 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29093 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29094 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29095 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29096 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
29097 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29098 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29099 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29100 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29101 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
29102 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29103 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29104 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
29105 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29106 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29107 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29108 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29109 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29110 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29111 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29112 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29113 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29114 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29115 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29116 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29117 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29118 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29119 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29120 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29121 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
29122 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29123 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29124 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29125 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29126 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29127 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29128 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29129 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
29130 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29133 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29136 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29138 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29139 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29141 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29145 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29152 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29157 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29159 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29160 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29162 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29166 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29169 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29173 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29174 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
29176 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29177 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29185 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
29204 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
29214 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
29230 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29231 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29235 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
29246 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29255 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29257 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29259 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
29260 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
29269 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29272 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29284 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29285 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29287 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29288 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29289 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29290 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29291 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29292 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29296 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29301 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29303 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29312 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29315 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29318 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29320 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29322 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29324 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29329 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29331 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29355 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29358 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29367 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29370 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29373 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29375 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29377 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29379 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29382 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29383 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29391 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29392 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29393 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29394 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29400 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29401 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29402 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29412 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29413 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29414 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29415 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29416 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29417 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29418 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29419 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29420 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29421 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29422 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29423 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29424 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29428 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29429 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29430 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29431 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29432 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29435 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29436 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29437 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29440 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29446 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29447 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29448 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29449 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29450 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29451 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29458 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29459 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29465 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29467 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29468 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29470 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29471 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29472 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29473 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29474 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29475 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29476 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29477 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29478 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29479 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29480 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29483 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29485 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29490 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29499 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29513 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29514 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29522 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29523 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29528 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29531 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29535 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29537 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29541 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29544 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29547 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29550 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29555 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29558 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29562 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29565 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29569 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29571 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29573 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29574 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29577 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29578 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29580 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29583 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29590 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29592 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29599 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29601 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29602 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29605 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29609 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29610 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29612 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29613 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29615 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29617 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29619 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29620 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29624 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29629 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29631 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29633 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29635 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29637 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29647 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29653 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29658 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29666 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29667 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29671 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29674 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29676 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29677 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
29678 { NULL
, NULL
, 0, NULL
}
29682 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29684 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29685 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29687 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29688 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29690 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29691 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29693 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29694 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29696 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29697 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29699 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29700 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29702 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29703 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29705 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29706 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29708 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29711 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29712 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29714 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29717 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29718 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29720 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29721 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29723 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29724 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29726 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29727 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29729 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29730 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29732 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29733 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29735 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29736 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29738 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29739 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29741 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29742 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29744 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29745 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29747 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29748 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29750 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29753 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29754 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29756 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29757 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29759 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29760 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29762 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29763 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29765 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29766 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29768 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29769 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29771 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29774 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29775 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29777 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29778 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29780 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29781 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29783 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29784 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29786 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29787 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29789 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29790 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29792 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29793 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29795 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29796 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29798 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29799 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29801 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29802 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29804 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29805 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29807 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29808 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29810 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29811 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29813 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29814 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29816 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29817 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29819 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29820 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29822 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29823 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29825 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29826 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29828 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29829 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29831 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29832 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29834 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29835 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29837 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29838 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29840 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29841 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29843 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29844 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29846 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29847 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29849 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29850 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29852 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29853 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29855 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29856 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29858 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29859 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29861 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29862 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29864 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29865 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29867 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29868 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29870 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29871 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29873 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29874 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29876 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29879 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29880 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29882 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29883 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29885 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29886 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29888 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29889 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29891 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29892 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29894 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29895 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29897 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29898 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29900 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29901 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29903 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29904 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29906 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29907 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29909 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29910 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29912 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29915 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29916 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29918 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29919 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29921 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29922 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29924 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29925 return (void *)((wxObject
*) ((wxSizer
*) x
));
29927 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29928 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29930 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29931 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29933 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29936 static void *_p_wxEventTo_p_wxObject(void *x
) {
29937 return (void *)((wxObject
*) ((wxEvent
*) x
));
29939 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29940 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29942 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29943 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29945 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29946 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29948 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29949 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29951 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29952 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29954 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29955 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29957 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29958 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29960 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29961 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29963 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29964 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29966 static void *_p_wxControlTo_p_wxObject(void *x
) {
29967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29969 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29970 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29972 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29973 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29975 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29976 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29978 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29979 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29981 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29982 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29984 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29985 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29987 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29990 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29991 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29993 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29994 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29996 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29997 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29999 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30000 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30002 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30003 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30005 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30006 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30008 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30009 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30011 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30012 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30014 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30015 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30017 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30018 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30020 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30021 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30023 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30026 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30027 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30029 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30030 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30032 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30033 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30035 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30036 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30038 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30039 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30041 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30042 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30044 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30045 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30047 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30048 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30050 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30051 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30053 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30054 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30056 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30057 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30059 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30060 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30062 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30063 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30065 static void *_p_wxImageTo_p_wxObject(void *x
) {
30066 return (void *)((wxObject
*) ((wxImage
*) x
));
30068 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30069 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30071 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
30072 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
30074 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
30075 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
30077 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30080 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30081 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30083 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30084 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30086 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30087 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30089 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30090 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30092 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30095 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
30096 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
30098 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30099 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30101 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30104 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30105 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30107 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30108 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30110 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30111 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30113 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30114 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30116 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30117 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30119 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
30120 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
30122 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30125 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30126 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30128 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30129 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30131 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30132 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30134 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30137 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
30138 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
30140 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30143 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30146 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30147 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30149 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
30150 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
30152 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
30153 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
30155 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
30156 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
30158 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
30159 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
30161 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
30162 return (void *)((wxLog
*) ((wxLogChain
*) x
));
30164 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
30165 return (void *)((wxLog
*) ((wxLogGui
*) x
));
30167 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
30168 return (void *)((wxLog
*) ((wxPyLog
*) x
));
30170 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30171 return (void *)((wxWindow
*) ((wxControl
*) x
));
30173 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30174 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30176 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30177 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30179 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
30180 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
30182 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
30183 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
30185 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}};
30186 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}};
30187 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}};
30188 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}};
30189 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}};
30190 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}};
30191 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}};
30192 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}};
30193 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}};
30194 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}};
30195 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}};
30196 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}};
30197 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}};
30198 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}};
30199 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}};
30200 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}};
30201 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}};
30202 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}};
30203 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}};
30204 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}};
30205 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}};
30206 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}};
30207 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}};
30208 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}};
30209 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}};
30210 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}};
30211 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}};
30212 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}};
30213 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}};
30214 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}};
30215 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}};
30216 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}};
30217 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}};
30218 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}};
30219 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}};
30220 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}};
30221 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}};
30222 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}};
30223 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}};
30224 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}};
30225 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}};
30226 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}};
30227 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}};
30228 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}};
30229 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}};
30230 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}};
30231 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}};
30232 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}};
30233 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}};
30234 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}};
30235 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}};
30236 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}};
30237 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}};
30238 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}};
30239 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}};
30240 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}};
30241 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}};
30242 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}};
30243 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}};
30244 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}};
30245 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}};
30246 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}};
30247 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}};
30248 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}};
30249 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}};
30250 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}};
30251 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}};
30252 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}};
30253 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}};
30254 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}};
30255 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}};
30256 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}};
30257 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}};
30258 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}};
30259 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}};
30260 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}};
30261 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}};
30262 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}};
30263 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}};
30264 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}};
30265 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}};
30266 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}};
30267 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}};
30268 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}};
30269 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}};
30270 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}};
30272 static swig_type_info
*swig_types_initial
[] = {
30273 _swigt__p_wxLogChain
,
30274 _swigt__p_wxMutexGuiLocker
,
30275 _swigt__p_wxFileHistory
,
30277 _swigt__p_wxDateTime__TimeZone
,
30280 _swigt__p_wxConfigBase
,
30281 _swigt__p_wxDisplay
,
30282 _swigt__p_wxFileType
,
30283 _swigt__p_wxLogGui
,
30285 _swigt__p_wxDataFormat
,
30286 _swigt__p_wxTimerEvent
,
30290 _swigt__p_wxClipboard
,
30291 _swigt__p_wxStopWatch
,
30293 _swigt__p_wxClipboardLocker
,
30295 _swigt__p_wxLogStderr
,
30296 _swigt__p_wxLogTextCtrl
,
30297 _swigt__p_wxTextCtrl
,
30298 _swigt__p_wxBusyCursor
,
30299 _swigt__p_wxPyBitmapDataObject
,
30300 _swigt__p_wxPyTextDataObject
,
30301 _swigt__p_wxBitmapDataObject
,
30302 _swigt__p_wxTextDataObject
,
30303 _swigt__p_wxDataObject
,
30304 _swigt__p_wxFileDataObject
,
30305 _swigt__p_wxCustomDataObject
,
30306 _swigt__p_wxURLDataObject
,
30307 _swigt__p_wxMetafileDataObject
,
30309 _swigt__p_wxTimerRunner
,
30310 _swigt__p_wxLogWindow
,
30311 _swigt__p_wxTimeSpan
,
30312 _swigt__p_wxArrayString
,
30313 _swigt__p_wxWindowDisabler
,
30314 _swigt__p_wxToolTip
,
30315 _swigt__p_wxDataObjectComposite
,
30316 _swigt__p_wxFileConfig
,
30317 _swigt__p_wxSystemSettings
,
30318 _swigt__p_wxVideoMode
,
30319 _swigt__p_wxPyDataObjectSimple
,
30320 _swigt__p_wxDataObjectSimple
,
30321 _swigt__p_wxEvtHandler
,
30324 _swigt__p_wxSingleInstanceChecker
,
30325 _swigt__p_wxStandardPaths
,
30326 _swigt__p_wxFileTypeInfo
,
30329 _swigt__p_wxMimeTypesManager
,
30330 _swigt__p_wxPyArtProvider
,
30331 _swigt__p_wxPyTipProvider
,
30332 _swigt__p_wxTipProvider
,
30333 _swigt__p_wxJoystick
,
30334 _swigt__p_wxSystemOptions
,
30336 _swigt__p_wxJoystickEvent
,
30337 _swigt__p_wxCursor
,
30338 _swigt__p_wxObject
,
30339 _swigt__p_wxOutputStream
,
30340 _swigt__p_wxDateTime
,
30341 _swigt__p_wxPyDropSource
,
30342 _swigt__p_wxWindow
,
30343 _swigt__p_wxString
,
30344 _swigt__p_wxPyProcess
,
30345 _swigt__p_wxBitmap
,
30346 _swigt__p_wxConfig
,
30348 _swigt__p_wxBusyInfo
,
30349 _swigt__p_wxPyDropTarget
,
30350 _swigt__p_wxPyTextDropTarget
,
30351 _swigt__p_wxPyFileDropTarget
,
30352 _swigt__p_wxProcessEvent
,
30354 _swigt__p_wxLogNull
,
30355 _swigt__p_wxColour
,
30356 _swigt__p_wxConfigPathChanger
,
30357 _swigt__p_wxPyTimer
,
30358 _swigt__p_wxDateSpan
,
30363 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30365 static swig_const_info swig_const_table
[] = {
30366 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30367 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30368 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30369 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30370 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30371 {0, 0, 0, 0.0, 0, 0}};
30380 SWIGEXPORT(void) SWIG_init(void) {
30381 static PyObject
*SWIG_globals
= 0;
30382 static int typeinit
= 0;
30385 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30386 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30387 d
= PyModule_GetDict(m
);
30390 for (i
= 0; swig_types_initial
[i
]; i
++) {
30391 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30395 SWIG_InstallConstants(d
,swig_const_table
);
30397 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30398 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30399 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30400 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30401 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30402 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30403 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30404 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30405 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30406 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30407 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30408 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30409 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30410 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30411 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30412 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30413 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30414 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30415 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30416 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30417 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30418 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30419 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30420 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30421 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30422 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30423 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30424 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30425 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30426 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30427 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30428 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30429 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30430 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30431 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30432 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30433 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30434 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30435 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30436 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30437 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30438 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30439 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30440 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30441 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30442 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30443 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30444 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30445 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30446 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30447 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30448 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30449 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30450 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30451 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30452 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30453 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30454 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30455 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30456 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30457 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30458 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30459 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30460 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30461 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30462 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30463 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30464 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30465 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30466 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30467 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30468 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30469 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30470 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30471 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30472 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30473 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30474 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30475 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30476 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30477 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30478 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30479 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30480 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30481 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30482 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30483 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30484 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30485 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30486 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30487 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30488 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30489 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30490 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30491 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30492 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30493 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30494 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30495 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30496 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30497 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30499 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30501 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30502 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30503 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30504 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30505 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30506 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30507 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30508 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30509 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30510 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30511 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30512 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30513 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30514 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30515 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30516 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30517 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30518 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30519 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30520 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30521 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30522 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30523 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30524 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30525 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30526 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30527 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30528 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30529 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30530 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30531 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30532 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30533 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30534 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30535 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30536 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30537 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30538 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30539 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30540 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30541 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30542 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30543 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30544 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30545 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30546 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30547 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30548 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30549 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30550 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30552 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30554 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30555 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30556 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30557 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30558 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30559 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30560 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30561 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30562 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30563 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30564 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30565 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30566 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30567 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30568 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30569 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30570 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30571 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30572 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30573 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30574 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30575 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30576 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30577 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30578 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30579 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30580 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30581 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30582 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30583 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30584 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30585 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30586 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30587 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30588 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30589 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30590 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30591 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30592 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30593 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30594 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30595 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30596 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30597 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30598 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30599 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30600 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30601 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30602 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30603 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30604 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30605 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30606 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30607 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30608 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30609 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30610 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30611 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30612 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30614 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30616 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30617 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30618 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30619 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30620 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30621 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30622 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30623 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30624 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30625 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30626 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30627 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30628 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30629 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30630 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30631 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30632 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30633 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30634 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30635 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30636 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30637 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30638 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30639 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30640 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30641 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30642 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30643 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30644 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30645 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30646 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30647 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30648 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30649 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30650 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30651 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30652 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30653 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30654 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30655 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30656 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30657 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30658 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30659 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30660 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30661 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30662 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30663 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30664 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30665 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30666 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30667 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30668 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30669 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30670 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30671 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30672 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30673 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30674 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30675 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30676 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30677 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30678 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30679 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30680 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30681 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30682 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30683 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30684 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30685 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30686 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30687 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30688 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30689 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30690 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30691 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30692 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30693 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30694 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30695 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30696 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30697 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30698 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30699 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30700 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30701 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30702 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30703 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30704 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30705 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30706 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30707 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30708 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30709 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30710 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30711 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30712 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30713 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30714 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30715 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30716 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30717 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30718 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30719 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30720 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30721 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30722 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30723 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30724 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30725 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30726 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30727 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30728 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
30729 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
30730 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
30731 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
30732 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
30733 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
30734 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
30735 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
30736 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
30737 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
30738 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
30739 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
30740 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
30741 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
30742 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
30743 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
30744 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
30745 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
30746 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
30747 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
30748 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
30749 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
30750 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
30751 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
30752 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
30753 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
30754 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
30755 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
30756 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
30757 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
30758 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
30759 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
30760 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
30761 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
30762 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
30763 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
30764 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
30765 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
30766 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
30767 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
30768 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
30769 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
30770 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
30771 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
30772 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
30773 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
30774 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
30775 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
30776 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
30777 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
30778 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
30779 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
30780 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
30781 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
30782 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30783 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
30784 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
30785 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
30786 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
30787 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
30788 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
30789 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
30790 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
30791 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
30792 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
30793 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
30794 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
30795 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
30796 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
30797 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
30798 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
30799 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
30800 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
30801 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
30802 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
30803 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30804 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
30805 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
30806 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
30807 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
30808 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
30809 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
30810 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
30811 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
30812 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
30813 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
30814 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
30815 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
30817 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30818 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30819 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30820 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30822 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);