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>
1775 wxStandardPaths
*StandardPaths_Get(){
1776 return (wxStandardPaths
*) &wxStandardPaths::Get();
1781 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1785 PyObject
* obj0
= 0 ;
1787 (char *) "index", NULL
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1791 arg1
= (int)SWIG_As_int(obj0
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1794 if (!wxPyCheckForApp()) SWIG_fail
;
1795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1796 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1798 wxPyEndAllowThreads(__tstate
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1802 wxColour
* resultptr
;
1803 resultptr
= new wxColour((wxColour
&) result
);
1804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1812 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
*resultobj
;
1816 PyObject
* obj0
= 0 ;
1818 (char *) "index", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1822 arg1
= (int)SWIG_As_int(obj0
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 if (!wxPyCheckForApp()) SWIG_fail
;
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1834 resultptr
= new wxFont((wxFont
&) result
);
1835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1843 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
*resultobj
;
1847 PyObject
* obj0
= 0 ;
1849 (char *) "index", NULL
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1853 arg1
= (int)SWIG_As_int(obj0
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1856 if (!wxPyCheckForApp()) SWIG_fail
;
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1863 resultobj
= SWIG_From_int((int)result
);
1870 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1874 PyObject
* obj0
= 0 ;
1876 (char *) "index", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1880 arg1
= (int)SWIG_As_int(obj0
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 if (!wxPyCheckForApp()) SWIG_fail
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1899 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1908 if (!wxPyCheckForApp()) SWIG_fail
;
1909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1910 result
= (int)wxSystemSettings::GetScreenType();
1912 wxPyEndAllowThreads(__tstate
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1915 resultobj
= SWIG_From_int((int)result
);
1922 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1925 PyObject
* obj0
= 0 ;
1927 (char *) "screen", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1931 arg1
= (int)SWIG_As_int(obj0
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1934 if (!wxPyCheckForApp()) SWIG_fail
;
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) SWIG_fail
;
1941 Py_INCREF(Py_None
); resultobj
= Py_None
;
1948 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1951 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1953 return Py_BuildValue((char *)"");
1955 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
1956 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
1961 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
1966 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1968 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1975 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
*resultobj
;
1977 wxSystemOptions
*result
;
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 result
= (wxSystemOptions
*)new wxSystemOptions();
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1997 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
*resultobj
;
1999 wxString
*arg1
= 0 ;
2000 wxString
*arg2
= 0 ;
2001 bool temp1
= false ;
2002 bool temp2
= false ;
2003 PyObject
* obj0
= 0 ;
2004 PyObject
* obj1
= 0 ;
2006 (char *) "name",(char *) "value", NULL
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
2011 arg1
= wxString_in_helper(obj0
);
2012 if (arg1
== NULL
) SWIG_fail
;
2016 arg2
= wxString_in_helper(obj1
);
2017 if (arg2
== NULL
) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 Py_INCREF(Py_None
); resultobj
= Py_None
;
2050 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
*resultobj
;
2052 wxString
*arg1
= 0 ;
2054 bool temp1
= false ;
2055 PyObject
* obj0
= 0 ;
2056 PyObject
* obj1
= 0 ;
2058 (char *) "name",(char *) "value", NULL
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2063 arg1
= wxString_in_helper(obj0
);
2064 if (arg1
== NULL
) SWIG_fail
;
2067 arg2
= (int)SWIG_As_int(obj1
);
2068 if (PyErr_Occurred()) SWIG_fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2076 Py_INCREF(Py_None
); resultobj
= Py_None
;
2091 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
*resultobj
;
2093 wxString
*arg1
= 0 ;
2095 bool temp1
= false ;
2096 PyObject
* obj0
= 0 ;
2098 (char *) "name", NULL
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2103 arg1
= wxString_in_helper(obj0
);
2104 if (arg1
== NULL
) SWIG_fail
;
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2135 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
*resultobj
;
2137 wxString
*arg1
= 0 ;
2139 bool temp1
= false ;
2140 PyObject
* obj0
= 0 ;
2142 (char *) "name", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2147 arg1
= wxString_in_helper(obj0
);
2148 if (arg1
== NULL
) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 resultobj
= SWIG_From_int((int)result
);
2173 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
*resultobj
;
2175 wxString
*arg1
= 0 ;
2177 bool temp1
= false ;
2178 PyObject
* obj0
= 0 ;
2180 (char *) "name", NULL
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2185 arg1
= wxString_in_helper(obj0
);
2186 if (arg1
== NULL
) SWIG_fail
;
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2213 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2216 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2218 return Py_BuildValue((char *)"");
2220 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2221 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2226 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2231 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2233 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2240 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2241 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2246 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2251 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2253 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2260 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2261 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2266 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2271 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2273 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2280 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
*resultobj
;
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 result
= (long)wxNewId();
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 resultobj
= SWIG_From_long((long)result
);
2302 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
*resultobj
;
2305 PyObject
* obj0
= 0 ;
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2311 arg1
= (long)SWIG_As_long(obj0
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 Py_INCREF(Py_None
); resultobj
= Py_None
;
2327 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= (long)wxGetCurrentId();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 resultobj
= SWIG_From_long((long)result
);
2349 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2353 PyObject
* obj0
= 0 ;
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2359 arg1
= (int)SWIG_As_int(obj0
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2363 result
= (bool)wxIsStockID(arg1
);
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) SWIG_fail
;
2369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2377 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
;
2380 wxString
*arg2
= 0 ;
2382 bool temp2
= false ;
2383 PyObject
* obj0
= 0 ;
2384 PyObject
* obj1
= 0 ;
2386 (char *) "id",(char *) "label", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2390 arg1
= (int)SWIG_As_int(obj0
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2393 arg2
= wxString_in_helper(obj1
);
2394 if (arg2
== NULL
) SWIG_fail
;
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2421 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
*resultobj
;
2425 PyObject
* obj0
= 0 ;
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2431 arg1
= (int)SWIG_As_int(obj0
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 result
= wxGetStockLabel(arg1
);
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2453 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2461 if (!wxPyCheckForApp()) SWIG_fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 Py_INCREF(Py_None
); resultobj
= Py_None
;
2475 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2483 if (!wxPyCheckForApp()) SWIG_fail
;
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2490 Py_INCREF(Py_None
); resultobj
= Py_None
;
2497 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
*resultobj
;
2499 bool arg1
= (bool) true ;
2501 PyObject
* obj0
= 0 ;
2503 (char *) "resetTimer", NULL
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2508 arg1
= (bool)SWIG_As_bool(obj0
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 result
= (long)wxGetElapsedTime(arg1
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2518 resultobj
= SWIG_From_long((long)result
);
2525 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
*resultobj
;
2527 int *arg1
= (int *) 0 ;
2528 int *arg2
= (int *) 0 ;
2537 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2538 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2541 if (!wxPyCheckForApp()) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 wxGetMousePosition(arg1
,arg2
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2549 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2550 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2551 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2552 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2559 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 result
= (bool)wxIsBusy();
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2583 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
;
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2611 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2614 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2616 bool temp1
= false ;
2617 PyObject
* obj0
= 0 ;
2619 (char *) "command", NULL
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2625 arg1
= wxString_in_helper(obj0
);
2626 if (arg1
== NULL
) SWIG_fail
;
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 result
= (bool)wxShell((wxString
const &)*arg1
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2654 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
*resultobj
;
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2668 Py_INCREF(Py_None
); resultobj
= Py_None
;
2675 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 int *arg1
= (int *) 0 ;
2678 int *arg2
= (int *) 0 ;
2688 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2689 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= (int)wxGetOsVersion(arg1
,arg2
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2698 resultobj
= SWIG_From_int((int)result
);
2699 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2700 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2701 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2702 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2709 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= wxGetOsDescription();
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2737 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 result
= (long)wxGetFreeMemory();
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2752 resultobj
= SWIG_From_long((long)result
);
2759 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2763 PyObject
* obj0
= 0 ;
2765 (char *) "wFlags", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2769 arg1
= (int)SWIG_As_int(obj0
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2772 if (!wxPyCheckForApp()) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2788 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2791 PyObject
* obj0
= 0 ;
2793 (char *) "secs", NULL
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2797 arg1
= (int)SWIG_As_int(obj0
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2806 Py_INCREF(Py_None
); resultobj
= Py_None
;
2813 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
*resultobj
;
2815 unsigned long arg1
;
2816 PyObject
* obj0
= 0 ;
2818 (char *) "milliseconds", NULL
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2822 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 Py_INCREF(Py_None
); resultobj
= Py_None
;
2838 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 unsigned long arg1
;
2841 PyObject
* obj0
= 0 ;
2843 (char *) "microseconds", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2847 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 Py_INCREF(Py_None
); resultobj
= Py_None
;
2863 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "enable", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2872 arg1
= (bool)SWIG_As_bool(obj0
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 wxEnableTopLevelWindows(arg1
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2881 Py_INCREF(Py_None
); resultobj
= Py_None
;
2888 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
*resultobj
;
2890 wxString
*arg1
= 0 ;
2892 bool temp1
= false ;
2893 PyObject
* obj0
= 0 ;
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2900 arg1
= wxString_in_helper(obj0
);
2901 if (arg1
== NULL
) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2932 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
*resultobj
;
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 result
= wxGetEmailAddress();
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2960 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
;
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 result
= wxGetHostName();
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2988 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= wxGetFullHostName();
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3016 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
;
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 result
= wxGetUserId();
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3044 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 result
= wxGetUserName();
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) SWIG_fail
;
3061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3072 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
;
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 result
= wxGetHomeDir();
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3100 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3103 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3105 bool temp1
= false ;
3106 PyObject
* obj0
= 0 ;
3108 (char *) "user", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3114 arg1
= wxString_in_helper(obj0
);
3115 if (arg1
== NULL
) SWIG_fail
;
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 result
= wxGetUserHome((wxString
const &)*arg1
);
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3147 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
*resultobj
;
3149 unsigned long result
;
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 result
= (unsigned long)wxGetProcessId();
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3162 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3169 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 Py_INCREF(Py_None
); resultobj
= Py_None
;
3190 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3193 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3194 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3195 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3196 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3197 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3198 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3199 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3200 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3201 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3202 int arg6
= (int) 0 ;
3203 wxWindow
*arg7
= (wxWindow
*) NULL
;
3204 int arg8
= (int) -1 ;
3205 int arg9
= (int) -1 ;
3207 bool temp1
= false ;
3208 bool temp2
= false ;
3209 bool temp3
= false ;
3210 bool temp4
= false ;
3211 bool temp5
= false ;
3212 PyObject
* obj0
= 0 ;
3213 PyObject
* obj1
= 0 ;
3214 PyObject
* obj2
= 0 ;
3215 PyObject
* obj3
= 0 ;
3216 PyObject
* obj4
= 0 ;
3217 PyObject
* obj5
= 0 ;
3218 PyObject
* obj6
= 0 ;
3219 PyObject
* obj7
= 0 ;
3220 PyObject
* obj8
= 0 ;
3222 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3228 arg1
= wxString_in_helper(obj0
);
3229 if (arg1
== NULL
) SWIG_fail
;
3235 arg2
= wxString_in_helper(obj1
);
3236 if (arg2
== NULL
) SWIG_fail
;
3242 arg3
= wxString_in_helper(obj2
);
3243 if (arg3
== NULL
) SWIG_fail
;
3249 arg4
= wxString_in_helper(obj3
);
3250 if (arg4
== NULL
) SWIG_fail
;
3256 arg5
= wxString_in_helper(obj4
);
3257 if (arg5
== NULL
) SWIG_fail
;
3262 arg6
= (int)SWIG_As_int(obj5
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3266 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3270 arg8
= (int)SWIG_As_int(obj7
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3274 arg9
= (int)SWIG_As_int(obj8
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3278 if (!wxPyCheckForApp()) SWIG_fail
;
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3338 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
*resultobj
;
3340 wxString
*arg1
= 0 ;
3341 wxString
*arg2
= 0 ;
3342 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3343 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3344 wxWindow
*arg4
= (wxWindow
*) NULL
;
3346 bool temp1
= false ;
3347 bool temp2
= false ;
3348 bool temp3
= false ;
3349 PyObject
* obj0
= 0 ;
3350 PyObject
* obj1
= 0 ;
3351 PyObject
* obj2
= 0 ;
3352 PyObject
* obj3
= 0 ;
3354 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3359 arg1
= wxString_in_helper(obj0
);
3360 if (arg1
== NULL
) SWIG_fail
;
3364 arg2
= wxString_in_helper(obj1
);
3365 if (arg2
== NULL
) SWIG_fail
;
3370 arg3
= wxString_in_helper(obj2
);
3371 if (arg3
== NULL
) SWIG_fail
;
3376 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3380 if (!wxPyCheckForApp()) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3424 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxString
*arg1
= 0 ;
3427 wxString
*arg2
= 0 ;
3428 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3429 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3430 wxWindow
*arg4
= (wxWindow
*) NULL
;
3432 bool temp1
= false ;
3433 bool temp2
= false ;
3434 bool temp3
= false ;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3437 PyObject
* obj2
= 0 ;
3438 PyObject
* obj3
= 0 ;
3440 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3445 arg1
= wxString_in_helper(obj0
);
3446 if (arg1
== NULL
) SWIG_fail
;
3450 arg2
= wxString_in_helper(obj1
);
3451 if (arg2
== NULL
) SWIG_fail
;
3456 arg3
= wxString_in_helper(obj2
);
3457 if (arg3
== NULL
) SWIG_fail
;
3462 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3466 if (!wxPyCheckForApp()) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3510 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
;
3512 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3513 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3514 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3515 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3516 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3517 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3518 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3519 wxWindow
*arg5
= (wxWindow
*) NULL
;
3521 bool temp1
= false ;
3522 bool temp2
= false ;
3524 PyObject
* obj0
= 0 ;
3525 PyObject
* obj1
= 0 ;
3526 PyObject
* obj2
= 0 ;
3527 PyObject
* obj3
= 0 ;
3528 PyObject
* obj4
= 0 ;
3530 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3536 arg1
= wxString_in_helper(obj0
);
3537 if (arg1
== NULL
) SWIG_fail
;
3543 arg2
= wxString_in_helper(obj1
);
3544 if (arg2
== NULL
) SWIG_fail
;
3549 arg3
= (long)SWIG_As_long(obj2
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3559 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3563 if (!wxPyCheckForApp()) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3599 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
;
3601 wxString
*arg1
= 0 ;
3602 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3603 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3604 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3605 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3606 wxWindow
*arg4
= (wxWindow
*) NULL
;
3607 int arg5
= (int) -1 ;
3608 int arg6
= (int) -1 ;
3609 bool arg7
= (bool) true ;
3611 bool temp1
= false ;
3612 bool temp2
= false ;
3613 bool temp3
= false ;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3616 PyObject
* obj2
= 0 ;
3617 PyObject
* obj3
= 0 ;
3618 PyObject
* obj4
= 0 ;
3619 PyObject
* obj5
= 0 ;
3620 PyObject
* obj6
= 0 ;
3622 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3627 arg1
= wxString_in_helper(obj0
);
3628 if (arg1
== NULL
) SWIG_fail
;
3633 arg2
= wxString_in_helper(obj1
);
3634 if (arg2
== NULL
) SWIG_fail
;
3640 arg3
= wxString_in_helper(obj2
);
3641 if (arg3
== NULL
) SWIG_fail
;
3646 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3650 arg5
= (int)SWIG_As_int(obj4
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3654 arg6
= (int)SWIG_As_int(obj5
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3658 arg7
= (bool)SWIG_As_bool(obj6
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3662 if (!wxPyCheckForApp()) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3706 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxString
*arg1
= 0 ;
3709 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3710 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3711 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3712 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3713 wxWindow
*arg4
= (wxWindow
*) NULL
;
3715 bool temp1
= false ;
3716 bool temp2
= false ;
3717 bool temp3
= false ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3720 PyObject
* obj2
= 0 ;
3721 PyObject
* obj3
= 0 ;
3723 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3728 arg1
= wxString_in_helper(obj0
);
3729 if (arg1
== NULL
) SWIG_fail
;
3734 arg2
= wxString_in_helper(obj1
);
3735 if (arg2
== NULL
) SWIG_fail
;
3741 arg3
= wxString_in_helper(obj2
);
3742 if (arg3
== NULL
) SWIG_fail
;
3747 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3751 if (!wxPyCheckForApp()) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3795 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxString
*arg1
= 0 ;
3798 wxString
*arg2
= 0 ;
3800 wxString
*arg4
= (wxString
*) 0 ;
3801 wxWindow
*arg5
= (wxWindow
*) NULL
;
3802 int arg6
= (int) -1 ;
3803 int arg7
= (int) -1 ;
3804 bool arg8
= (bool) true ;
3805 int arg9
= (int) 150 ;
3806 int arg10
= (int) 200 ;
3808 bool temp1
= false ;
3809 bool temp2
= false ;
3810 PyObject
* obj0
= 0 ;
3811 PyObject
* obj1
= 0 ;
3812 PyObject
* obj2
= 0 ;
3813 PyObject
* obj3
= 0 ;
3814 PyObject
* obj4
= 0 ;
3815 PyObject
* obj5
= 0 ;
3816 PyObject
* obj6
= 0 ;
3817 PyObject
* obj7
= 0 ;
3818 PyObject
* obj8
= 0 ;
3820 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3825 arg1
= wxString_in_helper(obj0
);
3826 if (arg1
== NULL
) SWIG_fail
;
3830 arg2
= wxString_in_helper(obj1
);
3831 if (arg2
== NULL
) SWIG_fail
;
3835 arg3
= PyList_Size(obj2
);
3836 arg4
= wxString_LIST_helper(obj2
);
3837 if (arg4
== NULL
) SWIG_fail
;
3840 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3844 arg6
= (int)SWIG_As_int(obj4
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3848 arg7
= (int)SWIG_As_int(obj5
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3852 arg8
= (bool)SWIG_As_bool(obj6
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3856 arg9
= (int)SWIG_As_int(obj7
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3860 arg10
= (int)SWIG_As_int(obj8
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3864 if (!wxPyCheckForApp()) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3887 if (arg4
) delete [] arg4
;
3900 if (arg4
) delete [] arg4
;
3906 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
*resultobj
;
3908 wxString
*arg1
= 0 ;
3909 wxString
*arg2
= 0 ;
3911 wxString
*arg4
= (wxString
*) 0 ;
3912 wxWindow
*arg5
= (wxWindow
*) NULL
;
3913 int arg6
= (int) -1 ;
3914 int arg7
= (int) -1 ;
3915 bool arg8
= (bool) true ;
3916 int arg9
= (int) 150 ;
3917 int arg10
= (int) 200 ;
3919 bool temp1
= false ;
3920 bool temp2
= false ;
3921 PyObject
* obj0
= 0 ;
3922 PyObject
* obj1
= 0 ;
3923 PyObject
* obj2
= 0 ;
3924 PyObject
* obj3
= 0 ;
3925 PyObject
* obj4
= 0 ;
3926 PyObject
* obj5
= 0 ;
3927 PyObject
* obj6
= 0 ;
3928 PyObject
* obj7
= 0 ;
3929 PyObject
* obj8
= 0 ;
3931 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3936 arg1
= wxString_in_helper(obj0
);
3937 if (arg1
== NULL
) SWIG_fail
;
3941 arg2
= wxString_in_helper(obj1
);
3942 if (arg2
== NULL
) SWIG_fail
;
3946 arg3
= PyList_Size(obj2
);
3947 arg4
= wxString_LIST_helper(obj2
);
3948 if (arg4
== NULL
) SWIG_fail
;
3951 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3955 arg6
= (int)SWIG_As_int(obj4
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3959 arg7
= (int)SWIG_As_int(obj5
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3963 arg8
= (bool)SWIG_As_bool(obj6
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3967 arg9
= (int)SWIG_As_int(obj7
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3971 arg10
= (int)SWIG_As_int(obj8
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3975 if (!wxPyCheckForApp()) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= SWIG_From_int((int)result
);
3992 if (arg4
) delete [] arg4
;
4005 if (arg4
) delete [] arg4
;
4011 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxString
*arg1
= 0 ;
4014 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4015 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4016 int arg3
= (int) wxOK
|wxCENTRE
;
4017 wxWindow
*arg4
= (wxWindow
*) NULL
;
4018 int arg5
= (int) -1 ;
4019 int arg6
= (int) -1 ;
4021 bool temp1
= false ;
4022 bool temp2
= false ;
4023 PyObject
* obj0
= 0 ;
4024 PyObject
* obj1
= 0 ;
4025 PyObject
* obj2
= 0 ;
4026 PyObject
* obj3
= 0 ;
4027 PyObject
* obj4
= 0 ;
4028 PyObject
* obj5
= 0 ;
4030 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4035 arg1
= wxString_in_helper(obj0
);
4036 if (arg1
== NULL
) SWIG_fail
;
4041 arg2
= wxString_in_helper(obj1
);
4042 if (arg2
== NULL
) SWIG_fail
;
4047 arg3
= (int)SWIG_As_int(obj2
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4051 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4055 arg5
= (int)SWIG_As_int(obj4
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4059 arg6
= (int)SWIG_As_int(obj5
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4063 if (!wxPyCheckForApp()) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= SWIG_From_int((int)result
);
4093 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxString
*arg1
= 0 ;
4096 wxString
*arg2
= 0 ;
4097 wxString
*arg3
= 0 ;
4099 long arg5
= (long) 0 ;
4100 long arg6
= (long) 100 ;
4101 wxWindow
*arg7
= (wxWindow
*) NULL
;
4102 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4103 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4105 bool temp1
= false ;
4106 bool temp2
= false ;
4107 bool temp3
= false ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4111 PyObject
* obj2
= 0 ;
4112 PyObject
* obj3
= 0 ;
4113 PyObject
* obj4
= 0 ;
4114 PyObject
* obj5
= 0 ;
4115 PyObject
* obj6
= 0 ;
4116 PyObject
* obj7
= 0 ;
4118 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4123 arg1
= wxString_in_helper(obj0
);
4124 if (arg1
== NULL
) SWIG_fail
;
4128 arg2
= wxString_in_helper(obj1
);
4129 if (arg2
== NULL
) SWIG_fail
;
4133 arg3
= wxString_in_helper(obj2
);
4134 if (arg3
== NULL
) SWIG_fail
;
4137 arg4
= (long)SWIG_As_long(obj3
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 arg5
= (long)SWIG_As_long(obj4
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4144 arg6
= (long)SWIG_As_long(obj5
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4148 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4154 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4158 if (!wxPyCheckForApp()) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= SWIG_From_long((long)result
);
4196 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4205 if (!wxPyCheckForApp()) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= (bool)wxColourDisplay();
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4221 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4230 if (!wxPyCheckForApp()) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (int)wxDisplayDepth();
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_From_int((int)result
);
4244 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4253 if (!wxPyCheckForApp()) SWIG_fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= (int)wxGetDisplayDepth();
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4260 resultobj
= SWIG_From_int((int)result
);
4267 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 int *arg1
= (int *) 0 ;
4270 int *arg2
= (int *) 0 ;
4279 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4280 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4283 if (!wxPyCheckForApp()) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 wxDisplaySize(arg1
,arg2
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 Py_INCREF(Py_None
); resultobj
= Py_None
;
4291 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4292 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4293 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4294 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4301 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4310 if (!wxPyCheckForApp()) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= wxGetDisplaySize();
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4319 resultptr
= new wxSize((wxSize
&) result
);
4320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4328 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
;
4330 int *arg1
= (int *) 0 ;
4331 int *arg2
= (int *) 0 ;
4340 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4341 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4344 if (!wxPyCheckForApp()) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 wxDisplaySizeMM(arg1
,arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 Py_INCREF(Py_None
); resultobj
= Py_None
;
4352 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4353 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4354 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4355 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4362 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4371 if (!wxPyCheckForApp()) SWIG_fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= wxGetDisplaySizeMM();
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4380 resultptr
= new wxSize((wxSize
&) result
);
4381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4389 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 int *arg1
= (int *) 0 ;
4392 int *arg2
= (int *) 0 ;
4393 int *arg3
= (int *) 0 ;
4394 int *arg4
= (int *) 0 ;
4407 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4408 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4409 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4410 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4413 if (!wxPyCheckForApp()) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 Py_INCREF(Py_None
); resultobj
= Py_None
;
4421 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4422 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4423 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4424 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4425 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4426 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4427 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4428 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4435 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4444 if (!wxPyCheckForApp()) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= wxGetClientDisplayRect();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4453 resultptr
= new wxRect((wxRect
&) result
);
4454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4462 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
*resultobj
;
4464 wxCursor
*arg1
= 0 ;
4465 PyObject
* obj0
= 0 ;
4467 (char *) "cursor", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4475 PyErr_SetString(PyExc_TypeError
,"null reference");
4479 if (!wxPyCheckForApp()) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 Py_INCREF(Py_None
); resultobj
= Py_None
;
4493 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4495 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4496 PyObject
* obj0
= 0 ;
4498 (char *) "cursor", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4507 if (!wxPyCheckForApp()) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 wxBeginBusyCursor(arg1
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 Py_INCREF(Py_None
); resultobj
= Py_None
;
4521 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4530 if (!wxPyCheckForApp()) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (wxWindow
*)wxGetActiveWindow();
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= wxPyMake_wxObject(result
, 0);
4546 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
;
4551 PyObject
* obj0
= 0 ;
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4559 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4562 if (!wxPyCheckForApp()) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= wxPyMake_wxObject(result
, 0);
4578 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4583 PyObject
* obj0
= 0 ;
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4591 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4594 if (!wxPyCheckForApp()) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= wxPyMake_wxObject(result
, 0);
4610 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4612 wxWindow
*arg1
= (wxWindow
*) 0 ;
4614 PyObject
* obj0
= 0 ;
4616 (char *) "win", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4623 if (!wxPyCheckForApp()) SWIG_fail
;
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= wxPyMake_wxObject(result
, 0);
4639 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4643 PyObject
* obj0
= 0 ;
4645 (char *) "key", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4649 arg1
= (int)SWIG_As_int(obj0
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4668 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4676 if (!wxPyCheckForApp()) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 wxWakeUpMainThread();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 Py_INCREF(Py_None
); resultobj
= Py_None
;
4690 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4698 if (!wxPyCheckForApp()) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4720 if (!wxPyCheckForApp()) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 Py_INCREF(Py_None
); resultobj
= Py_None
;
4734 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
;
4736 wxMutexGuiLocker
*result
;
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4743 if (!wxPyCheckForApp()) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4757 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4760 PyObject
* obj0
= 0 ;
4762 (char *) "self", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 Py_INCREF(Py_None
); resultobj
= Py_None
;
4782 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4785 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4787 return Py_BuildValue((char *)"");
4789 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (bool)wxThread_IsMain();
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4813 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxString
*arg1
= 0 ;
4817 bool temp1
= false ;
4818 PyObject
* obj0
= 0 ;
4820 (char *) "tip", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4825 arg1
= wxString_in_helper(obj0
);
4826 if (arg1
== NULL
) SWIG_fail
;
4830 if (!wxPyCheckForApp()) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= wxPyMake_wxObject(result
, 1);
4854 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4857 wxString
*arg2
= 0 ;
4858 bool temp2
= false ;
4859 PyObject
* obj0
= 0 ;
4860 PyObject
* obj1
= 0 ;
4862 (char *) "self",(char *) "tip", NULL
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4869 arg2
= wxString_in_helper(obj1
);
4870 if (arg2
== NULL
) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 (arg1
)->SetTip((wxString
const &)*arg2
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 Py_INCREF(Py_None
); resultobj
= Py_None
;
4895 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "self", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (arg1
)->GetTip();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4927 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4931 PyObject
* obj0
= 0 ;
4933 (char *) "self", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 result
= (wxWindow
*)(arg1
)->GetWindow();
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= wxPyMake_wxObject(result
, 0);
4955 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "flag", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4964 arg1
= (bool)SWIG_As_bool(obj0
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 wxToolTip::Enable(arg1
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 Py_INCREF(Py_None
); resultobj
= Py_None
;
4980 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4983 PyObject
* obj0
= 0 ;
4985 (char *) "milliseconds", NULL
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4989 arg1
= (long)SWIG_As_long(obj0
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 wxToolTip::SetDelay(arg1
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4998 Py_INCREF(Py_None
); resultobj
= Py_None
;
5005 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
5007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5008 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
5010 return Py_BuildValue((char *)"");
5012 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
;
5014 wxWindow
*arg1
= (wxWindow
*) 0 ;
5018 PyObject
* obj0
= 0 ;
5019 PyObject
* obj1
= 0 ;
5021 (char *) "window",(char *) "size", NULL
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5032 if (!wxPyCheckForApp()) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5046 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxCaret
*arg1
= (wxCaret
*) 0 ;
5049 PyObject
* obj0
= 0 ;
5051 (char *) "self", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 Py_INCREF(Py_None
); resultobj
= Py_None
;
5071 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxCaret
*arg1
= (wxCaret
*) 0 ;
5075 PyObject
* obj0
= 0 ;
5077 (char *) "self", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= (bool)(arg1
)->IsOk();
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5099 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
;
5101 wxCaret
*arg1
= (wxCaret
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5105 (char *) "self", NULL
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (bool)(arg1
)->IsVisible();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5127 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxCaret
*arg1
= (wxCaret
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5133 (char *) "self", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= (arg1
)->GetPosition();
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5147 wxPoint
* resultptr
;
5148 resultptr
= new wxPoint((wxPoint
&) result
);
5149 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5157 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxCaret
*arg1
= (wxCaret
*) 0 ;
5160 int *arg2
= (int *) 0 ;
5161 int *arg3
= (int *) 0 ;
5166 PyObject
* obj0
= 0 ;
5168 (char *) "self", NULL
5171 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5172 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 (arg1
)->GetPosition(arg2
,arg3
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 Py_INCREF(Py_None
); resultobj
= Py_None
;
5184 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5185 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5186 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5187 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5194 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxCaret
*arg1
= (wxCaret
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (arg1
)->GetSize();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5215 resultptr
= new wxSize((wxSize
&) result
);
5216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5224 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxCaret
*arg1
= (wxCaret
*) 0 ;
5227 int *arg2
= (int *) 0 ;
5228 int *arg3
= (int *) 0 ;
5233 PyObject
* obj0
= 0 ;
5235 (char *) "self", NULL
5238 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5239 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 (arg1
)->GetSize(arg2
,arg3
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5251 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5252 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5253 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5254 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5261 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxCaret
*arg1
= (wxCaret
*) 0 ;
5265 PyObject
* obj0
= 0 ;
5267 (char *) "self", NULL
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (wxWindow
*)(arg1
)->GetWindow();
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= wxPyMake_wxObject(result
, 0);
5289 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxCaret
*arg1
= (wxCaret
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5296 PyObject
* obj2
= 0 ;
5298 (char *) "self",(char *) "x",(char *) "y", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5304 arg2
= (int)SWIG_As_int(obj1
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5306 arg3
= (int)SWIG_As_int(obj2
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 (arg1
)->Move(arg2
,arg3
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 Py_INCREF(Py_None
); resultobj
= Py_None
;
5322 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
;
5324 wxCaret
*arg1
= (wxCaret
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5330 (char *) "self",(char *) "pt", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 (arg1
)->Move((wxPoint
const &)*arg2
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 Py_INCREF(Py_None
); resultobj
= Py_None
;
5354 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
;
5356 wxCaret
*arg1
= (wxCaret
*) 0 ;
5359 PyObject
* obj0
= 0 ;
5360 PyObject
* obj1
= 0 ;
5361 PyObject
* obj2
= 0 ;
5363 (char *) "self",(char *) "width",(char *) "height", NULL
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5369 arg2
= (int)SWIG_As_int(obj1
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5371 arg3
= (int)SWIG_As_int(obj2
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 (arg1
)->SetSize(arg2
,arg3
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 Py_INCREF(Py_None
); resultobj
= Py_None
;
5387 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
;
5389 wxCaret
*arg1
= (wxCaret
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5393 PyObject
* obj1
= 0 ;
5395 (char *) "self",(char *) "size", NULL
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5403 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 (arg1
)->SetSize((wxSize
const &)*arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 Py_INCREF(Py_None
); resultobj
= Py_None
;
5419 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxCaret
*arg1
= (wxCaret
*) 0 ;
5422 int arg2
= (int) true ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5426 (char *) "self",(char *) "show", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5433 arg2
= (int)SWIG_As_int(obj1
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 Py_INCREF(Py_None
); resultobj
= Py_None
;
5450 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxCaret
*arg1
= (wxCaret
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5455 (char *) "self", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 Py_INCREF(Py_None
); resultobj
= Py_None
;
5475 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5478 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5480 return Py_BuildValue((char *)"");
5482 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
;
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (int)wxCaret_GetBlinkTime();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_From_int((int)result
);
5504 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "milliseconds", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5513 arg1
= (int)SWIG_As_int(obj0
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 wxCaret_SetBlinkTime(arg1
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 Py_INCREF(Py_None
); resultobj
= Py_None
;
5529 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5532 wxBusyCursor
*result
;
5533 PyObject
* obj0
= 0 ;
5535 (char *) "cursor", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 if (!wxPyCheckForApp()) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5558 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5561 PyObject
* obj0
= 0 ;
5563 (char *) "self", NULL
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 Py_INCREF(Py_None
); resultobj
= Py_None
;
5583 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5586 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5588 return Py_BuildValue((char *)"");
5590 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxWindow
*arg1
= (wxWindow
*) NULL
;
5593 wxWindowDisabler
*result
;
5594 PyObject
* obj0
= 0 ;
5596 (char *) "winToSkip", NULL
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5605 if (!wxPyCheckForApp()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5619 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5622 PyObject
* obj0
= 0 ;
5624 (char *) "self", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 Py_INCREF(Py_None
); resultobj
= Py_None
;
5644 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5647 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5649 return Py_BuildValue((char *)"");
5651 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxString
*arg1
= 0 ;
5655 bool temp1
= false ;
5656 PyObject
* obj0
= 0 ;
5658 (char *) "message", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5663 arg1
= wxString_in_helper(obj0
);
5664 if (arg1
== NULL
) SWIG_fail
;
5668 if (!wxPyCheckForApp()) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5690 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5693 PyObject
* obj0
= 0 ;
5695 (char *) "self", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 Py_INCREF(Py_None
); resultobj
= Py_None
;
5715 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5718 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5720 return Py_BuildValue((char *)"");
5722 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxStopWatch
*result
;
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (wxStopWatch
*)new wxStopWatch();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5744 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5747 long arg2
= (long) 0 ;
5748 PyObject
* obj0
= 0 ;
5749 PyObject
* obj1
= 0 ;
5751 (char *) "self",(char *) "t0", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 arg2
= (long)SWIG_As_long(obj1
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 (arg1
)->Start(arg2
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 Py_INCREF(Py_None
); resultobj
= Py_None
;
5775 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 Py_INCREF(Py_None
); resultobj
= Py_None
;
5800 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5803 PyObject
* obj0
= 0 ;
5805 (char *) "self", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5818 Py_INCREF(Py_None
); resultobj
= Py_None
;
5825 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5829 PyObject
* obj0
= 0 ;
5831 (char *) "self", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= SWIG_From_long((long)result
);
5851 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5854 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5856 return Py_BuildValue((char *)"");
5858 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 int arg1
= (int) 9 ;
5861 int arg2
= (int) wxID_FILE1
;
5862 wxFileHistory
*result
;
5863 PyObject
* obj0
= 0 ;
5864 PyObject
* obj1
= 0 ;
5866 (char *) "maxFiles",(char *) "idBase", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5871 arg1
= (int)SWIG_As_int(obj0
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5875 arg2
= (int)SWIG_As_int(obj1
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5892 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5895 PyObject
* obj0
= 0 ;
5897 (char *) "self", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 Py_INCREF(Py_None
); resultobj
= Py_None
;
5917 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5920 wxString
*arg2
= 0 ;
5921 bool temp2
= false ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5925 (char *) "self",(char *) "file", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5932 arg2
= wxString_in_helper(obj1
);
5933 if (arg2
== NULL
) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 Py_INCREF(Py_None
); resultobj
= Py_None
;
5958 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5965 (char *) "self",(char *) "i", NULL
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 arg2
= (int)SWIG_As_int(obj1
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 (arg1
)->RemoveFileFromHistory(arg2
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 Py_INCREF(Py_None
); resultobj
= Py_None
;
5987 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5991 PyObject
* obj0
= 0 ;
5993 (char *) "self", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 resultobj
= SWIG_From_int((int)result
);
6013 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6016 wxMenu
*arg2
= (wxMenu
*) 0 ;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6020 (char *) "self",(char *) "menu", NULL
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 (arg1
)->UseMenu(arg2
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 Py_INCREF(Py_None
); resultobj
= Py_None
;
6042 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6044 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6045 wxMenu
*arg2
= (wxMenu
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6047 PyObject
* obj1
= 0 ;
6049 (char *) "self",(char *) "menu", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 (arg1
)->RemoveMenu(arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 Py_INCREF(Py_None
); resultobj
= Py_None
;
6071 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
;
6073 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6074 wxConfigBase
*arg2
= 0 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "config", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6088 PyErr_SetString(PyExc_TypeError
,"null reference");
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 (arg1
)->Load(*arg2
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 Py_INCREF(Py_None
); resultobj
= Py_None
;
6105 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6108 wxConfigBase
*arg2
= 0 ;
6109 PyObject
* obj0
= 0 ;
6110 PyObject
* obj1
= 0 ;
6112 (char *) "self",(char *) "config", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6122 PyErr_SetString(PyExc_TypeError
,"null reference");
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 (arg1
)->Save(*arg2
);
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 Py_INCREF(Py_None
); resultobj
= Py_None
;
6139 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6141 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6142 PyObject
* obj0
= 0 ;
6144 (char *) "self", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 (arg1
)->AddFilesToMenu();
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 Py_INCREF(Py_None
); resultobj
= Py_None
;
6164 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6167 wxMenu
*arg2
= (wxMenu
*) 0 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6171 (char *) "self",(char *) "menu", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 (arg1
)->AddFilesToMenu(arg2
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 Py_INCREF(Py_None
); resultobj
= Py_None
;
6193 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6199 PyObject
* obj1
= 0 ;
6201 (char *) "self",(char *) "i", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6207 arg2
= (int)SWIG_As_int(obj1
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6229 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6235 (char *) "self", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_From_int((int)result
);
6255 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6258 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6260 return Py_BuildValue((char *)"");
6262 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxString
*arg1
= 0 ;
6265 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6266 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6267 wxSingleInstanceChecker
*result
;
6268 bool temp1
= false ;
6269 bool temp2
= false ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6273 (char *) "name",(char *) "path", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6278 arg1
= wxString_in_helper(obj0
);
6279 if (arg1
== NULL
) SWIG_fail
;
6284 arg2
= wxString_in_helper(obj1
);
6285 if (arg2
== NULL
) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6319 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6321 wxSingleInstanceChecker
*result
;
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6341 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
;
6343 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6346 (char *) "self", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 Py_INCREF(Py_None
); resultobj
= Py_None
;
6366 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6369 wxString
*arg2
= 0 ;
6370 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6371 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6373 bool temp2
= false ;
6374 bool temp3
= false ;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6377 PyObject
* obj2
= 0 ;
6379 (char *) "self",(char *) "name",(char *) "path", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 arg2
= wxString_in_helper(obj1
);
6387 if (arg2
== NULL
) SWIG_fail
;
6392 arg3
= wxString_in_helper(obj2
);
6393 if (arg3
== NULL
) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6429 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "self", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6460 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6462 return Py_BuildValue((char *)"");
6464 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxWindow
*arg1
= (wxWindow
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6471 PyObject
* obj2
= 0 ;
6473 (char *) "window",(char *) "dc",(char *) "method", NULL
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6483 PyErr_SetString(PyExc_TypeError
,"null reference");
6486 arg3
= (int)SWIG_As_int(obj2
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 Py_INCREF(Py_None
); resultobj
= Py_None
;
6502 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6505 PyObject
* obj0
= 0 ;
6507 (char *) "self", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 Py_INCREF(Py_None
); resultobj
= Py_None
;
6527 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
;
6529 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6531 PyObject
* obj0
= 0 ;
6533 (char *) "self", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 result
= (arg1
)->GetTip();
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6559 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6565 (char *) "self", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (size_t)(arg1
)->GetCurrentTip();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6585 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6588 wxString
*arg2
= 0 ;
6590 bool temp2
= false ;
6591 PyObject
* obj0
= 0 ;
6592 PyObject
* obj1
= 0 ;
6594 (char *) "self",(char *) "tip", NULL
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6601 arg2
= wxString_in_helper(obj1
);
6602 if (arg2
== NULL
) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6633 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6636 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6638 return Py_BuildValue((char *)"");
6640 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6643 wxPyTipProvider
*result
;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "currentTip", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6650 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6666 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6669 PyObject
*arg2
= (PyObject
*) 0 ;
6670 PyObject
*arg3
= (PyObject
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6672 PyObject
* obj1
= 0 ;
6673 PyObject
* obj2
= 0 ;
6675 (char *) "self",(char *) "self",(char *) "_class", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 Py_INCREF(Py_None
); resultobj
= Py_None
;
6697 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6700 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6702 return Py_BuildValue((char *)"");
6704 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxWindow
*arg1
= (wxWindow
*) 0 ;
6707 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6708 bool arg3
= (bool) true ;
6710 PyObject
* obj0
= 0 ;
6711 PyObject
* obj1
= 0 ;
6712 PyObject
* obj2
= 0 ;
6714 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 arg3
= (bool)SWIG_As_bool(obj2
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 if (!wxPyCheckForApp()) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6743 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxString
*arg1
= 0 ;
6747 wxTipProvider
*result
;
6748 bool temp1
= false ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6752 (char *) "filename",(char *) "currentTip", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6757 arg1
= wxString_in_helper(obj0
);
6758 if (arg1
== NULL
) SWIG_fail
;
6761 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 if (!wxPyCheckForApp()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6786 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
*resultobj
;
6788 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6789 int arg2
= (int) -1 ;
6791 PyObject
* obj0
= 0 ;
6792 PyObject
* obj1
= 0 ;
6794 (char *) "owner",(char *) "id", NULL
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6803 arg2
= (int)SWIG_As_int(obj1
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6807 if (!wxPyCheckForApp()) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6821 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6826 (char *) "self", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 Py_INCREF(Py_None
); resultobj
= Py_None
;
6846 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6849 PyObject
*arg2
= (PyObject
*) 0 ;
6850 PyObject
*arg3
= (PyObject
*) 0 ;
6851 int arg4
= (int) 1 ;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6854 PyObject
* obj2
= 0 ;
6855 PyObject
* obj3
= 0 ;
6857 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6866 arg4
= (int)SWIG_As_int(obj3
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 Py_INCREF(Py_None
); resultobj
= Py_None
;
6883 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6886 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6887 int arg3
= (int) -1 ;
6888 PyObject
* obj0
= 0 ;
6889 PyObject
* obj1
= 0 ;
6890 PyObject
* obj2
= 0 ;
6892 (char *) "self",(char *) "owner",(char *) "id", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6901 arg3
= (int)SWIG_As_int(obj2
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 (arg1
)->SetOwner(arg2
,arg3
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 Py_INCREF(Py_None
); resultobj
= Py_None
;
6918 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6921 wxEvtHandler
*result
;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "self", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= wxPyMake_wxObject(result
, 0);
6946 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6949 int arg2
= (int) -1 ;
6950 bool arg3
= (bool) false ;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6954 PyObject
* obj2
= 0 ;
6956 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6963 arg2
= (int)SWIG_As_int(obj1
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6967 arg3
= (bool)SWIG_As_bool(obj2
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6986 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6989 PyObject
* obj0
= 0 ;
6991 (char *) "self", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 Py_INCREF(Py_None
); resultobj
= Py_None
;
7011 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "self", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7039 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7045 (char *) "self", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_From_int((int)result
);
7065 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7069 PyObject
* obj0
= 0 ;
7071 (char *) "self", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7093 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7099 (char *) "self", NULL
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= SWIG_From_int((int)result
);
7119 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7122 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7124 return Py_BuildValue((char *)"");
7126 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7128 int arg1
= (int) 0 ;
7129 int arg2
= (int) 0 ;
7130 wxTimerEvent
*result
;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7134 (char *) "timerid",(char *) "interval", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7139 arg1
= (int)SWIG_As_int(obj0
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7143 arg2
= (int)SWIG_As_int(obj1
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7160 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7166 (char *) "self", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_From_int((int)result
);
7186 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7189 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7191 return Py_BuildValue((char *)"");
7193 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7194 PyObject
*resultobj
;
7196 wxTimerRunner
*result
;
7197 PyObject
* obj0
= 0 ;
7199 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7204 PyErr_SetString(PyExc_TypeError
,"null reference");
7208 if (!wxPyCheckForApp()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7222 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7223 PyObject
*resultobj
;
7226 bool arg3
= (bool) false ;
7227 wxTimerRunner
*result
;
7228 PyObject
* obj0
= 0 ;
7229 PyObject
* obj1
= 0 ;
7230 PyObject
* obj2
= 0 ;
7232 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7237 PyErr_SetString(PyExc_TypeError
,"null reference");
7240 arg2
= (int)SWIG_As_int(obj1
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 arg3
= (bool)SWIG_As_bool(obj2
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7247 if (!wxPyCheckForApp()) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7261 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7266 argc
= PyObject_Length(args
);
7267 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7268 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7274 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7282 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7285 if ((argc
>= 2) && (argc
<= 3)) {
7289 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7297 _v
= SWIG_Check_int(argv
[1]);
7300 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7302 _v
= SWIG_Check_bool(argv
[2]);
7304 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7310 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7315 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7320 (char *) "self", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 Py_INCREF(Py_None
); resultobj
= Py_None
;
7340 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7344 bool arg3
= (bool) false ;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7347 PyObject
* obj2
= 0 ;
7349 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7355 arg2
= (int)SWIG_As_int(obj1
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 arg3
= (bool)SWIG_As_bool(obj2
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 (arg1
)->Start(arg2
,arg3
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 Py_INCREF(Py_None
); resultobj
= Py_None
;
7375 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7378 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7380 return Py_BuildValue((char *)"");
7382 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= (wxLog
*)new wxLog();
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7404 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 result
= (bool)wxLog::IsEnabled();
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7428 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 bool arg1
= (bool) true ;
7432 PyObject
* obj0
= 0 ;
7434 (char *) "doIt", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7439 arg1
= (bool)SWIG_As_bool(obj0
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (bool)wxLog::EnableLogging(arg1
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7458 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7461 wxChar
*arg2
= (wxChar
*) 0 ;
7463 PyObject
* obj0
= 0 ;
7464 PyObject
* obj1
= 0 ;
7465 PyObject
* obj2
= 0 ;
7467 (char *) "level",(char *) "szString",(char *) "t", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7471 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7475 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7484 Py_INCREF(Py_None
); resultobj
= Py_None
;
7491 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxLog
*arg1
= (wxLog
*) 0 ;
7494 PyObject
* obj0
= 0 ;
7496 (char *) "self", NULL
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 Py_INCREF(Py_None
); resultobj
= Py_None
;
7516 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
;
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 wxLog::FlushActive();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 Py_INCREF(Py_None
); resultobj
= Py_None
;
7537 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (wxLog
*)wxLog::GetActiveTarget();
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7559 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
;
7561 wxLog
*arg1
= (wxLog
*) 0 ;
7563 PyObject
* obj0
= 0 ;
7565 (char *) "pLogger", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7585 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 Py_INCREF(Py_None
); resultobj
= Py_None
;
7606 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 bool arg1
= (bool) true ;
7630 PyObject
* obj0
= 0 ;
7632 (char *) "bVerbose", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7637 arg1
= (bool)SWIG_As_bool(obj0
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 wxLog::SetVerbose(arg1
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 Py_INCREF(Py_None
); resultobj
= Py_None
;
7654 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7657 PyObject
* obj0
= 0 ;
7659 (char *) "logLevel", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7663 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 wxLog::SetLogLevel(arg1
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 Py_INCREF(Py_None
); resultobj
= Py_None
;
7679 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 wxLog::DontCreateOnDemand();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 Py_INCREF(Py_None
); resultobj
= Py_None
;
7700 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7703 PyObject
* obj0
= 0 ;
7705 (char *) "ulMask", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7709 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 wxLog::SetTraceMask(arg1
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 Py_INCREF(Py_None
); resultobj
= Py_None
;
7725 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxString
*arg1
= 0 ;
7728 bool temp1
= false ;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "str", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7736 arg1
= wxString_in_helper(obj0
);
7737 if (arg1
== NULL
) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 wxLog::AddTraceMask((wxString
const &)*arg1
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 Py_INCREF(Py_None
); resultobj
= Py_None
;
7762 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxString
*arg1
= 0 ;
7765 bool temp1
= false ;
7766 PyObject
* obj0
= 0 ;
7768 (char *) "str", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7773 arg1
= wxString_in_helper(obj0
);
7774 if (arg1
== NULL
) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 Py_INCREF(Py_None
); resultobj
= Py_None
;
7799 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
;
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 wxLog::ClearTraceMasks();
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 Py_INCREF(Py_None
); resultobj
= Py_None
;
7820 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxArrayString
*result
;
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7832 result
= (wxArrayString
*) &_result_ref
;
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= wxArrayString2PyList_helper(*result
);
7847 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxChar
*arg1
= (wxChar
*) 0 ;
7850 PyObject
* obj0
= 0 ;
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 wxLog::SetTimestamp((wxChar
const *)arg1
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 Py_INCREF(Py_None
); resultobj
= Py_None
;
7872 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (bool)wxLog::GetVerbose();
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7896 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (wxTraceMask
)wxLog::GetTraceMask();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7918 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxChar
*arg1
= (wxChar
*) 0 ;
7922 PyObject
* obj0
= 0 ;
7924 (char *) "mask", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7946 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (wxLogLevel
)wxLog::GetLogLevel();
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7968 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (wxChar
*)wxLog::GetTimestamp();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7990 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 result
= Log_TimeStamp();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8018 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
;
8020 wxLog
*arg1
= (wxLog
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8023 (char *) "self", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 wxLog_Destroy(arg1
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 Py_INCREF(Py_None
); resultobj
= Py_None
;
8043 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8046 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8048 return Py_BuildValue((char *)"");
8050 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxLogStderr
*result
;
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (wxLogStderr
*)new wxLogStderr();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8072 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8075 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8077 return Py_BuildValue((char *)"");
8079 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8082 wxLogTextCtrl
*result
;
8083 PyObject
* obj0
= 0 ;
8085 (char *) "pTextCtrl", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8105 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8108 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8110 return Py_BuildValue((char *)"");
8112 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (wxLogGui
*)new wxLogGui();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8134 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8137 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8139 return Py_BuildValue((char *)"");
8141 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxFrame
*arg1
= (wxFrame
*) 0 ;
8144 wxString
*arg2
= 0 ;
8145 bool arg3
= (bool) true ;
8146 bool arg4
= (bool) true ;
8147 wxLogWindow
*result
;
8148 bool temp2
= false ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8151 PyObject
* obj2
= 0 ;
8152 PyObject
* obj3
= 0 ;
8154 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8161 arg2
= wxString_in_helper(obj1
);
8162 if (arg2
== NULL
) SWIG_fail
;
8166 arg3
= (bool)SWIG_As_bool(obj2
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8170 arg4
= (bool)SWIG_As_bool(obj3
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8195 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8198 bool arg2
= (bool) true ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8202 (char *) "self",(char *) "bShow", NULL
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8209 arg2
= (bool)SWIG_As_bool(obj1
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 Py_INCREF(Py_None
); resultobj
= Py_None
;
8226 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
;
8228 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8230 PyObject
* obj0
= 0 ;
8232 (char *) "self", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8246 resultobj
= wxPyMake_wxObject(result
, 0);
8254 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "self", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8280 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8284 PyObject
* obj0
= 0 ;
8286 (char *) "self", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8308 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8315 (char *) "self",(char *) "bDoPass", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8321 arg2
= (bool)SWIG_As_bool(obj1
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 (arg1
)->PassMessages(arg2
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 Py_INCREF(Py_None
); resultobj
= Py_None
;
8337 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8340 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8342 return Py_BuildValue((char *)"");
8344 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxLog
*arg1
= (wxLog
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "logger", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (wxLogChain
*)new wxLogChain(arg1
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8370 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8373 wxLog
*arg2
= (wxLog
*) 0 ;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8377 (char *) "self",(char *) "logger", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 (arg1
)->SetLog(arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8399 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
;
8401 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8406 (char *) "self",(char *) "bDoPass", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8412 arg2
= (bool)SWIG_As_bool(obj1
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 (arg1
)->PassMessages(arg2
);
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 Py_INCREF(Py_None
); resultobj
= Py_None
;
8428 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8432 PyObject
* obj0
= 0 ;
8434 (char *) "self", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (bool)(arg1
)->IsPassingMessages();
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8456 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8460 PyObject
* obj0
= 0 ;
8462 (char *) "self", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (wxLog
*)(arg1
)->GetOldLog();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8482 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8485 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8487 return Py_BuildValue((char *)"");
8489 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 unsigned long result
;
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= (unsigned long)wxSysErrorCode();
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8511 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 unsigned long arg1
= (unsigned long) 0 ;
8515 PyObject
* obj0
= 0 ;
8517 (char *) "nErrCode", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8522 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= wxSysErrorMsg(arg1
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8545 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxString
*arg1
= 0 ;
8548 bool temp1
= false ;
8549 PyObject
* obj0
= 0 ;
8551 (char *) "msg", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8556 arg1
= wxString_in_helper(obj0
);
8557 if (arg1
== NULL
) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 wxLogFatalError((wxString
const &)*arg1
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 Py_INCREF(Py_None
); resultobj
= Py_None
;
8582 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8584 wxString
*arg1
= 0 ;
8585 bool temp1
= false ;
8586 PyObject
* obj0
= 0 ;
8588 (char *) "msg", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8593 arg1
= wxString_in_helper(obj0
);
8594 if (arg1
== NULL
) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 wxLogError((wxString
const &)*arg1
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 Py_INCREF(Py_None
); resultobj
= Py_None
;
8619 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxString
*arg1
= 0 ;
8622 bool temp1
= false ;
8623 PyObject
* obj0
= 0 ;
8625 (char *) "msg", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8630 arg1
= wxString_in_helper(obj0
);
8631 if (arg1
== NULL
) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 wxLogWarning((wxString
const &)*arg1
);
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 Py_INCREF(Py_None
); resultobj
= Py_None
;
8656 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 wxString
*arg1
= 0 ;
8659 bool temp1
= false ;
8660 PyObject
* obj0
= 0 ;
8662 (char *) "msg", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8667 arg1
= wxString_in_helper(obj0
);
8668 if (arg1
== NULL
) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 wxLogMessage((wxString
const &)*arg1
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 Py_INCREF(Py_None
); resultobj
= Py_None
;
8693 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxString
*arg1
= 0 ;
8696 bool temp1
= false ;
8697 PyObject
* obj0
= 0 ;
8699 (char *) "msg", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8704 arg1
= wxString_in_helper(obj0
);
8705 if (arg1
== NULL
) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 wxLogInfo((wxString
const &)*arg1
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 Py_INCREF(Py_None
); resultobj
= Py_None
;
8730 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxString
*arg1
= 0 ;
8733 bool temp1
= false ;
8734 PyObject
* obj0
= 0 ;
8736 (char *) "msg", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8741 arg1
= wxString_in_helper(obj0
);
8742 if (arg1
== NULL
) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 wxLogDebug((wxString
const &)*arg1
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 Py_INCREF(Py_None
); resultobj
= Py_None
;
8767 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
;
8769 wxString
*arg1
= 0 ;
8770 bool temp1
= false ;
8771 PyObject
* obj0
= 0 ;
8773 (char *) "msg", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8778 arg1
= wxString_in_helper(obj0
);
8779 if (arg1
== NULL
) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 wxLogVerbose((wxString
const &)*arg1
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 Py_INCREF(Py_None
); resultobj
= Py_None
;
8804 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxString
*arg1
= 0 ;
8807 bool temp1
= false ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "msg", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8815 arg1
= wxString_in_helper(obj0
);
8816 if (arg1
== NULL
) SWIG_fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 wxLogStatus((wxString
const &)*arg1
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxFrame
*arg1
= (wxFrame
*) 0 ;
8844 wxString
*arg2
= 0 ;
8845 bool temp2
= false ;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8849 (char *) "pFrame",(char *) "msg", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8856 arg2
= wxString_in_helper(obj1
);
8857 if (arg2
== NULL
) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 Py_INCREF(Py_None
); resultobj
= Py_None
;
8882 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8884 wxString
*arg1
= 0 ;
8885 bool temp1
= false ;
8886 PyObject
* obj0
= 0 ;
8888 (char *) "msg", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8893 arg1
= wxString_in_helper(obj0
);
8894 if (arg1
== NULL
) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 wxLogSysError((wxString
const &)*arg1
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 Py_INCREF(Py_None
); resultobj
= Py_None
;
8919 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8920 PyObject
*resultobj
;
8921 unsigned long arg1
;
8922 wxString
*arg2
= 0 ;
8923 bool temp2
= false ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8927 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8928 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 arg2
= wxString_in_helper(obj1
);
8932 if (arg2
== NULL
) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 Py_INCREF(Py_None
); resultobj
= Py_None
;
8957 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8958 PyObject
*resultobj
;
8959 wxString
*arg1
= 0 ;
8960 wxString
*arg2
= 0 ;
8961 bool temp1
= false ;
8962 bool temp2
= false ;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8966 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8968 arg1
= wxString_in_helper(obj0
);
8969 if (arg1
== NULL
) SWIG_fail
;
8973 arg2
= wxString_in_helper(obj1
);
8974 if (arg2
== NULL
) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 Py_INCREF(Py_None
); resultobj
= Py_None
;
9007 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9012 argc
= PyObject_Length(args
);
9013 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9014 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9019 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9023 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9026 return _wrap_LogTrace__SWIG_1(self
,args
);
9032 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9035 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9038 return _wrap_LogTrace__SWIG_0(self
,args
);
9043 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9048 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 unsigned long arg1
;
9051 wxString
*arg2
= 0 ;
9052 bool temp2
= false ;
9053 PyObject
* obj0
= 0 ;
9054 PyObject
* obj1
= 0 ;
9056 (char *) "level",(char *) "msg", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9060 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 arg2
= wxString_in_helper(obj1
);
9064 if (arg2
== NULL
) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxString
*arg1
= 0 ;
9092 wxString
*arg2
= 0 ;
9093 bool temp1
= false ;
9094 bool temp2
= false ;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9098 (char *) "title",(char *) "text", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9103 arg1
= wxString_in_helper(obj0
);
9104 if (arg1
== NULL
) SWIG_fail
;
9108 arg2
= wxString_in_helper(obj1
);
9109 if (arg2
== NULL
) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 Py_INCREF(Py_None
); resultobj
= Py_None
;
9142 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (wxLogNull
*)new wxLogNull();
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9164 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9167 PyObject
* obj0
= 0 ;
9169 (char *) "self", NULL
9172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 Py_INCREF(Py_None
); resultobj
= Py_None
;
9189 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9192 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9194 return Py_BuildValue((char *)"");
9196 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (wxPyLog
*)new wxPyLog();
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9218 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9221 PyObject
*arg2
= (PyObject
*) 0 ;
9222 PyObject
*arg3
= (PyObject
*) 0 ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9225 PyObject
* obj2
= 0 ;
9227 (char *) "self",(char *) "self",(char *) "_class", NULL
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 Py_INCREF(Py_None
); resultobj
= Py_None
;
9249 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9252 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9254 return Py_BuildValue((char *)"");
9256 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9259 int arg2
= (int) wxSIGTERM
;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9264 (char *) "pid",(char *) "sig", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9268 arg1
= (int)SWIG_As_int(obj0
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 arg2
= (int)SWIG_As_int(obj1
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_From_int((int)result
);
9288 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9292 PyObject
* obj0
= 0 ;
9294 (char *) "pid", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9298 arg1
= (int)SWIG_As_int(obj0
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (bool)wxPyProcess::Exists(arg1
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9316 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxString
*arg1
= 0 ;
9319 int arg2
= (int) wxEXEC_ASYNC
;
9320 wxPyProcess
*result
;
9321 bool temp1
= false ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9325 (char *) "cmd",(char *) "flags", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9330 arg1
= wxString_in_helper(obj0
);
9331 if (arg1
== NULL
) SWIG_fail
;
9335 arg2
= (int)SWIG_As_int(obj1
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9360 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9363 int arg2
= (int) -1 ;
9364 wxPyProcess
*result
;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9368 (char *) "parent",(char *) "id", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9377 arg2
= (int)SWIG_As_int(obj1
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9394 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9396 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9397 PyObject
*arg2
= (PyObject
*) 0 ;
9398 PyObject
*arg3
= (PyObject
*) 0 ;
9399 PyObject
* obj0
= 0 ;
9400 PyObject
* obj1
= 0 ;
9401 PyObject
* obj2
= 0 ;
9403 (char *) "self",(char *) "self",(char *) "_class", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 Py_INCREF(Py_None
); resultobj
= Py_None
;
9425 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9432 PyObject
* obj2
= 0 ;
9434 (char *) "self",(char *) "pid",(char *) "status", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 arg2
= (int)SWIG_As_int(obj1
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9442 arg3
= (int)SWIG_As_int(obj2
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 (arg1
)->base_OnTerminate(arg2
,arg3
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 Py_INCREF(Py_None
); resultobj
= Py_None
;
9458 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9463 (char *) "self", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 Py_INCREF(Py_None
); resultobj
= Py_None
;
9483 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9487 PyObject
* obj0
= 0 ;
9489 (char *) "self", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (bool)(arg1
)->IsRedirected();
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9511 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "self", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 Py_INCREF(Py_None
); resultobj
= Py_None
;
9536 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9539 wxInputStream
*result
;
9540 PyObject
* obj0
= 0 ;
9542 (char *) "self", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9556 wxPyInputStream
* _ptr
= NULL
;
9559 _ptr
= new wxPyInputStream(result
);
9561 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9569 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9572 wxInputStream
*result
;
9573 PyObject
* obj0
= 0 ;
9575 (char *) "self", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9589 wxPyInputStream
* _ptr
= NULL
;
9592 _ptr
= new wxPyInputStream(result
);
9594 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9602 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9605 wxOutputStream
*result
;
9606 PyObject
* obj0
= 0 ;
9608 (char *) "self", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9628 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9633 (char *) "self", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 (arg1
)->CloseOutput();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 Py_INCREF(Py_None
); resultobj
= Py_None
;
9653 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9657 PyObject
* obj0
= 0 ;
9659 (char *) "self", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9681 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9685 PyObject
* obj0
= 0 ;
9687 (char *) "self", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9709 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9737 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9740 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9742 return Py_BuildValue((char *)"");
9744 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 int arg1
= (int) 0 ;
9747 int arg2
= (int) 0 ;
9748 int arg3
= (int) 0 ;
9749 wxProcessEvent
*result
;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9752 PyObject
* obj2
= 0 ;
9754 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9759 arg1
= (int)SWIG_As_int(obj0
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9763 arg2
= (int)SWIG_As_int(obj1
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9767 arg3
= (int)SWIG_As_int(obj2
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9784 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
*resultobj
;
9786 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9790 (char *) "self", NULL
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 result
= (int)(arg1
)->GetPid();
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= SWIG_From_int((int)result
);
9810 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9812 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9814 PyObject
* obj0
= 0 ;
9816 (char *) "self", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (int)(arg1
)->GetExitCode();
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_From_int((int)result
);
9836 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
;
9838 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9840 PyObject
* obj0
= 0 ;
9841 PyObject
* obj1
= 0 ;
9843 (char *) "self",(char *) "m_pid", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9849 arg2
= (int)SWIG_As_int(obj1
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9851 if (arg1
) (arg1
)->m_pid
= arg2
;
9853 Py_INCREF(Py_None
); resultobj
= Py_None
;
9860 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9872 result
= (int) ((arg1
)->m_pid
);
9874 resultobj
= SWIG_From_int((int)result
);
9881 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9885 PyObject
* obj0
= 0 ;
9886 PyObject
* obj1
= 0 ;
9888 (char *) "self",(char *) "m_exitcode", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 arg2
= (int)SWIG_As_int(obj1
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9896 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9898 Py_INCREF(Py_None
); resultobj
= Py_None
;
9905 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
;
9907 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9909 PyObject
* obj0
= 0 ;
9911 (char *) "self", NULL
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9917 result
= (int) ((arg1
)->m_exitcode
);
9919 resultobj
= SWIG_From_int((int)result
);
9926 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9929 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9931 return Py_BuildValue((char *)"");
9933 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxString
*arg1
= 0 ;
9936 int arg2
= (int) wxEXEC_ASYNC
;
9937 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9939 bool temp1
= false ;
9940 PyObject
* obj0
= 0 ;
9941 PyObject
* obj1
= 0 ;
9942 PyObject
* obj2
= 0 ;
9944 (char *) "command",(char *) "flags",(char *) "process", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9949 arg1
= wxString_in_helper(obj0
);
9950 if (arg1
== NULL
) SWIG_fail
;
9954 arg2
= (int)SWIG_As_int(obj1
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9958 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9962 if (!wxPyCheckForApp()) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_From_long((long)result
);
9984 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 int arg1
= (int) wxJOYSTICK1
;
9988 PyObject
* obj0
= 0 ;
9990 (char *) "joystick", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9995 arg1
= (int)SWIG_As_int(obj0
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9999 if (!wxPyCheckForApp()) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (wxJoystick
*)new wxJoystick(arg1
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10013 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 Py_INCREF(Py_None
); resultobj
= Py_None
;
10038 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (arg1
)->GetPosition();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10058 wxPoint
* resultptr
;
10059 resultptr
= new wxPoint((wxPoint
&) result
);
10060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10068 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (int)(arg1
)->GetZPosition();
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= SWIG_From_int((int)result
);
10094 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
;
10096 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10098 PyObject
* obj0
= 0 ;
10099 char *kwnames
[] = {
10100 (char *) "self", NULL
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (int)(arg1
)->GetButtonState();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= SWIG_From_int((int)result
);
10120 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10124 PyObject
* obj0
= 0 ;
10125 char *kwnames
[] = {
10126 (char *) "self", NULL
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (int)(arg1
)->GetPOVPosition();
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= SWIG_From_int((int)result
);
10146 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
;
10148 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10150 PyObject
* obj0
= 0 ;
10151 char *kwnames
[] = {
10152 (char *) "self", NULL
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 result
= (int)(arg1
)->GetPOVCTSPosition();
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= SWIG_From_int((int)result
);
10172 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (int)(arg1
)->GetRudderPosition();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= SWIG_From_int((int)result
);
10198 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "self", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (int)(arg1
)->GetUPosition();
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= SWIG_From_int((int)result
);
10224 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
;
10226 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (int)(arg1
)->GetVPosition();
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_From_int((int)result
);
10250 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (int)(arg1
)->GetMovementThreshold();
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= SWIG_From_int((int)result
);
10276 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 char *kwnames
[] = {
10283 (char *) "self",(char *) "threshold", NULL
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10289 arg2
= (int)SWIG_As_int(obj1
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 (arg1
)->SetMovementThreshold(arg2
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 Py_INCREF(Py_None
); resultobj
= Py_None
;
10305 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10309 PyObject
* obj0
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (bool)(arg1
)->IsOk();
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10333 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (int)(arg1
)->GetNumberJoysticks();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_From_int((int)result
);
10359 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (int)(arg1
)->GetManufacturerId();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_From_int((int)result
);
10385 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10389 PyObject
* obj0
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (int)(arg1
)->GetProductId();
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= SWIG_From_int((int)result
);
10411 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (arg1
)->GetProductName();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10443 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10447 PyObject
* obj0
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (int)(arg1
)->GetXMin();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= SWIG_From_int((int)result
);
10469 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
;
10471 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10473 PyObject
* obj0
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 result
= (int)(arg1
)->GetYMin();
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= SWIG_From_int((int)result
);
10495 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10499 PyObject
* obj0
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 result
= (int)(arg1
)->GetZMin();
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= SWIG_From_int((int)result
);
10521 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "self", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (int)(arg1
)->GetXMax();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_From_int((int)result
);
10547 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
;
10549 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10551 PyObject
* obj0
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= (int)(arg1
)->GetYMax();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_From_int((int)result
);
10573 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10577 PyObject
* obj0
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "self", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (int)(arg1
)->GetZMax();
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= SWIG_From_int((int)result
);
10599 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (int)(arg1
)->GetNumberButtons();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 resultobj
= SWIG_From_int((int)result
);
10625 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10629 PyObject
* obj0
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (int)(arg1
)->GetNumberAxes();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_From_int((int)result
);
10651 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (int)(arg1
)->GetMaxButtons();
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= SWIG_From_int((int)result
);
10677 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 char *kwnames
[] = {
10683 (char *) "self", NULL
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (int)(arg1
)->GetMaxAxes();
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 resultobj
= SWIG_From_int((int)result
);
10703 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 char *kwnames
[] = {
10709 (char *) "self", NULL
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (int)(arg1
)->GetPollingMin();
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= SWIG_From_int((int)result
);
10729 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (int)(arg1
)->GetPollingMax();
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= SWIG_From_int((int)result
);
10755 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10759 PyObject
* obj0
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (int)(arg1
)->GetRudderMin();
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= SWIG_From_int((int)result
);
10781 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10785 PyObject
* obj0
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 result
= (int)(arg1
)->GetRudderMax();
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_From_int((int)result
);
10807 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
;
10809 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (int)(arg1
)->GetUMin();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_From_int((int)result
);
10833 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 result
= (int)(arg1
)->GetUMax();
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 resultobj
= SWIG_From_int((int)result
);
10859 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= (int)(arg1
)->GetVMin();
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10878 resultobj
= SWIG_From_int((int)result
);
10885 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "self", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 result
= (int)(arg1
)->GetVMax();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_From_int((int)result
);
10911 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 char *kwnames
[] = {
10917 (char *) "self", NULL
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 result
= (bool)(arg1
)->HasRudder();
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10939 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10943 PyObject
* obj0
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "self", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 result
= (bool)(arg1
)->HasZ();
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10967 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= (bool)(arg1
)->HasU();
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10995 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
;
10997 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10999 PyObject
* obj0
= 0 ;
11000 char *kwnames
[] = {
11001 (char *) "self", NULL
11004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
11005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (bool)(arg1
)->HasV();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11027 PyObject
* obj0
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self", NULL
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (bool)(arg1
)->HasPOV();
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11051 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
;
11053 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11055 PyObject
* obj0
= 0 ;
11056 char *kwnames
[] = {
11057 (char *) "self", NULL
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (bool)(arg1
)->HasPOV4Dir();
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11079 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11083 PyObject
* obj0
= 0 ;
11084 char *kwnames
[] = {
11085 (char *) "self", NULL
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)(arg1
)->HasPOVCTS();
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11107 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11110 wxWindow
*arg2
= (wxWindow
*) 0 ;
11111 int arg3
= (int) 0 ;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 PyObject
* obj2
= 0 ;
11116 char *kwnames
[] = {
11117 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11126 arg3
= (int)SWIG_As_int(obj2
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11145 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
;
11147 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11149 PyObject
* obj0
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= (bool)(arg1
)->ReleaseCapture();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11176 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11178 return Py_BuildValue((char *)"");
11180 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
;
11182 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11183 wxPoint
*arg2
= (wxPoint
*) 0 ;
11184 PyObject
* obj0
= 0 ;
11185 PyObject
* obj1
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "self",(char *) "m_pos", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11195 if (arg1
) (arg1
)->m_pos
= *arg2
;
11197 Py_INCREF(Py_None
); resultobj
= Py_None
;
11204 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11216 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11225 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self",(char *) "m_zPosition", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11238 arg2
= (int)SWIG_As_int(obj1
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11240 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11242 Py_INCREF(Py_None
); resultobj
= Py_None
;
11249 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11253 PyObject
* obj0
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11261 result
= (int) ((arg1
)->m_zPosition
);
11263 resultobj
= SWIG_From_int((int)result
);
11270 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "m_buttonChange", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11283 arg2
= (int)SWIG_As_int(obj1
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11285 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11287 Py_INCREF(Py_None
); resultobj
= Py_None
;
11294 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11306 result
= (int) ((arg1
)->m_buttonChange
);
11308 resultobj
= SWIG_From_int((int)result
);
11315 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
;
11317 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11319 PyObject
* obj0
= 0 ;
11320 PyObject
* obj1
= 0 ;
11321 char *kwnames
[] = {
11322 (char *) "self",(char *) "m_buttonState", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11328 arg2
= (int)SWIG_As_int(obj1
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11330 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11332 Py_INCREF(Py_None
); resultobj
= Py_None
;
11339 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11343 PyObject
* obj0
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11351 result
= (int) ((arg1
)->m_buttonState
);
11353 resultobj
= SWIG_From_int((int)result
);
11360 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11364 PyObject
* obj0
= 0 ;
11365 PyObject
* obj1
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "m_joyStick", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11373 arg2
= (int)SWIG_As_int(obj1
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11375 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11377 Py_INCREF(Py_None
); resultobj
= Py_None
;
11384 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11396 result
= (int) ((arg1
)->m_joyStick
);
11398 resultobj
= SWIG_From_int((int)result
);
11405 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
;
11407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11408 int arg2
= (int) 0 ;
11409 int arg3
= (int) wxJOYSTICK1
;
11410 int arg4
= (int) 0 ;
11411 wxJoystickEvent
*result
;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 PyObject
* obj2
= 0 ;
11415 PyObject
* obj3
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11422 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11426 arg2
= (int)SWIG_As_int(obj1
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11430 arg3
= (int)SWIG_As_int(obj2
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11434 arg4
= (int)SWIG_As_int(obj3
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11451 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11471 wxPoint
* resultptr
;
11472 resultptr
= new wxPoint((wxPoint
&) result
);
11473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11481 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= SWIG_From_int((int)result
);
11507 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11511 PyObject
* obj0
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= SWIG_From_int((int)result
);
11533 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11537 PyObject
* obj0
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "self", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_From_int((int)result
);
11559 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11563 PyObject
* obj0
= 0 ;
11564 char *kwnames
[] = {
11565 (char *) "self", NULL
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 resultobj
= SWIG_From_int((int)result
);
11585 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11589 PyObject
* obj0
= 0 ;
11590 PyObject
* obj1
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self",(char *) "stick", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11598 arg2
= (int)SWIG_As_int(obj1
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 (arg1
)->SetJoystick(arg2
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 Py_INCREF(Py_None
); resultobj
= Py_None
;
11614 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 char *kwnames
[] = {
11621 (char *) "self",(char *) "state", NULL
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 arg2
= (int)SWIG_As_int(obj1
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 (arg1
)->SetButtonState(arg2
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 Py_INCREF(Py_None
); resultobj
= Py_None
;
11643 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11645 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11647 PyObject
* obj0
= 0 ;
11648 PyObject
* obj1
= 0 ;
11649 char *kwnames
[] = {
11650 (char *) "self",(char *) "change", NULL
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11656 arg2
= (int)SWIG_As_int(obj1
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 (arg1
)->SetButtonChange(arg2
);
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11665 Py_INCREF(Py_None
); resultobj
= Py_None
;
11672 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
;
11674 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11675 wxPoint
*arg2
= 0 ;
11677 PyObject
* obj0
= 0 ;
11678 PyObject
* obj1
= 0 ;
11679 char *kwnames
[] = {
11680 (char *) "self",(char *) "pos", NULL
11683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11688 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 Py_INCREF(Py_None
); resultobj
= Py_None
;
11704 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self",(char *) "zPos", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11717 arg2
= (int)SWIG_As_int(obj1
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 (arg1
)->SetZPosition(arg2
);
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 Py_INCREF(Py_None
); resultobj
= Py_None
;
11733 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11737 PyObject
* obj0
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11761 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11765 PyObject
* obj0
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11789 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11817 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11820 int arg2
= (int) wxJOY_BUTTON_ANY
;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "but", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11832 arg2
= (int)SWIG_As_int(obj1
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11851 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11854 int arg2
= (int) wxJOY_BUTTON_ANY
;
11856 PyObject
* obj0
= 0 ;
11857 PyObject
* obj1
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self",(char *) "but", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11866 arg2
= (int)SWIG_As_int(obj1
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11885 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11888 int arg2
= (int) wxJOY_BUTTON_ANY
;
11890 PyObject
* obj0
= 0 ;
11891 PyObject
* obj1
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "self",(char *) "but", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11900 arg2
= (int)SWIG_As_int(obj1
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11919 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11922 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11924 return Py_BuildValue((char *)"");
11926 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11929 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11931 bool temp1
= false ;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "fileName", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11940 arg1
= wxString_in_helper(obj0
);
11941 if (arg1
== NULL
) SWIG_fail
;
11946 if (!wxPyCheckForApp()) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11968 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 PyObject
*arg1
= (PyObject
*) 0 ;
11972 PyObject
* obj0
= 0 ;
11973 char *kwnames
[] = {
11974 (char *) "data", NULL
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11980 if (!wxPyCheckForApp()) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 result
= (wxSound
*)new_wxSound(arg1
);
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11994 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxSound
*arg1
= (wxSound
*) 0 ;
11997 PyObject
* obj0
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 Py_INCREF(Py_None
); resultobj
= Py_None
;
12019 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
;
12021 wxSound
*arg1
= (wxSound
*) 0 ;
12022 wxString
*arg2
= 0 ;
12024 bool temp2
= false ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self",(char *) "fileName", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12035 arg2
= wxString_in_helper(obj1
);
12036 if (arg2
== NULL
) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12063 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxSound
*arg1
= (wxSound
*) 0 ;
12066 PyObject
*arg2
= (PyObject
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self",(char *) "data", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12094 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxSound
*arg1
= (wxSound
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (bool)(arg1
)->IsOk();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12122 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxSound
*arg1
= (wxSound
*) 0 ;
12125 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12127 PyObject
* obj0
= 0 ;
12128 PyObject
* obj1
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self",(char *) "flags", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12137 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12141 if (!wxPyCheckForApp()) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12157 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
;
12159 wxString
*arg1
= 0 ;
12160 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12162 bool temp1
= false ;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "filename",(char *) "flags", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12171 arg1
= wxString_in_helper(obj0
);
12172 if (arg1
== NULL
) SWIG_fail
;
12176 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12180 if (!wxPyCheckForApp()) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12204 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 char *kwnames
[] = {
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12212 if (!wxPyCheckForApp()) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 Py_INCREF(Py_None
); resultobj
= Py_None
;
12226 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12229 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12231 return Py_BuildValue((char *)"");
12233 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxString
*arg1
= 0 ;
12236 wxString
*arg2
= 0 ;
12237 wxString
*arg3
= 0 ;
12238 wxString
*arg4
= 0 ;
12239 wxFileTypeInfo
*result
;
12240 bool temp1
= false ;
12241 bool temp2
= false ;
12242 bool temp3
= false ;
12243 bool temp4
= false ;
12244 PyObject
* obj0
= 0 ;
12245 PyObject
* obj1
= 0 ;
12246 PyObject
* obj2
= 0 ;
12247 PyObject
* obj3
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12254 arg1
= wxString_in_helper(obj0
);
12255 if (arg1
== NULL
) SWIG_fail
;
12259 arg2
= wxString_in_helper(obj1
);
12260 if (arg2
== NULL
) SWIG_fail
;
12264 arg3
= wxString_in_helper(obj2
);
12265 if (arg3
== NULL
) SWIG_fail
;
12269 arg4
= wxString_in_helper(obj3
);
12270 if (arg4
== NULL
) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12319 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxArrayString
*arg1
= 0 ;
12322 wxFileTypeInfo
*result
;
12323 bool temp1
= false ;
12324 PyObject
* obj0
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "sArray", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12331 if (! PySequence_Check(obj0
)) {
12332 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12335 arg1
= new wxArrayString
;
12337 int i
, len
=PySequence_Length(obj0
);
12338 for (i
=0; i
<len
; i
++) {
12339 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12341 PyObject
* str
= PyObject_Unicode(item
);
12343 PyObject
* str
= PyObject_Str(item
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12346 arg1
->Add(Py2wxString(str
));
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12360 if (temp1
) delete arg1
;
12365 if (temp1
) delete arg1
;
12371 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxFileTypeInfo
*result
;
12374 char *kwnames
[] = {
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12393 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
;
12395 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12397 PyObject
* obj0
= 0 ;
12398 char *kwnames
[] = {
12399 (char *) "self", NULL
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12421 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12424 wxString
*arg2
= 0 ;
12425 int arg3
= (int) 0 ;
12426 bool temp2
= false ;
12427 PyObject
* obj0
= 0 ;
12428 PyObject
* obj1
= 0 ;
12429 PyObject
* obj2
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12438 arg2
= wxString_in_helper(obj1
);
12439 if (arg2
== NULL
) SWIG_fail
;
12443 arg3
= (int)SWIG_As_int(obj2
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12468 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12471 wxString
*arg2
= 0 ;
12472 bool temp2
= false ;
12473 PyObject
* obj0
= 0 ;
12474 PyObject
* obj1
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self",(char *) "shortDesc", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12483 arg2
= wxString_in_helper(obj1
);
12484 if (arg2
== NULL
) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 Py_INCREF(Py_None
); resultobj
= Py_None
;
12509 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12525 result
= (wxString
*) &_result_ref
;
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12533 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12535 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12544 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12548 PyObject
* obj0
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12560 result
= (wxString
*) &_result_ref
;
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12570 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12579 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12595 result
= (wxString
*) &_result_ref
;
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12605 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12614 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12630 result
= (wxString
*) &_result_ref
;
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12640 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12649 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
;
12651 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12653 PyObject
* obj0
= 0 ;
12654 char *kwnames
[] = {
12655 (char *) "self", NULL
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12665 result
= (wxString
*) &_result_ref
;
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12675 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12684 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12687 wxArrayString
*result
;
12688 PyObject
* obj0
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12700 result
= (wxArrayString
*) &_result_ref
;
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= wxArrayString2PyList_helper(*result
);
12715 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12719 PyObject
* obj0
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= SWIG_From_int((int)result
);
12741 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12757 result
= (wxString
*) &_result_ref
;
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12767 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12776 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
;
12778 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12780 PyObject
* obj0
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_From_int((int)result
);
12802 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12805 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12807 return Py_BuildValue((char *)"");
12809 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxFileTypeInfo
*arg1
= 0 ;
12812 wxFileType
*result
;
12813 PyObject
* obj0
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "ftInfo", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12822 if (arg1
== NULL
) {
12823 PyErr_SetString(PyExc_TypeError
,"null reference");
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12840 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxFileType
*arg1
= (wxFileType
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12858 Py_INCREF(Py_None
); resultobj
= Py_None
;
12865 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxFileType
*arg1
= (wxFileType
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= result
;
12891 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxFileType
*arg1
= (wxFileType
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= result
;
12917 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxFileType
*arg1
= (wxFileType
*) 0 ;
12921 PyObject
* obj0
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= result
;
12943 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxFileType
*arg1
= (wxFileType
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12969 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxFileType
*arg1
= (wxFileType
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= result
;
12995 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxFileType
*arg1
= (wxFileType
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= result
;
13021 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
;
13023 wxFileType
*arg1
= (wxFileType
*) 0 ;
13024 wxString
*arg2
= 0 ;
13025 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13026 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13028 bool temp2
= false ;
13029 bool temp3
= false ;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 PyObject
* obj2
= 0 ;
13033 char *kwnames
[] = {
13034 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13041 arg2
= wxString_in_helper(obj1
);
13042 if (arg2
== NULL
) SWIG_fail
;
13047 arg3
= wxString_in_helper(obj2
);
13048 if (arg3
== NULL
) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= result
;
13082 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxFileType
*arg1
= (wxFileType
*) 0 ;
13085 wxString
*arg2
= 0 ;
13086 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13087 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13089 bool temp2
= false ;
13090 bool temp3
= false ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 PyObject
* obj2
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13102 arg2
= wxString_in_helper(obj1
);
13103 if (arg2
== NULL
) SWIG_fail
;
13108 arg3
= wxString_in_helper(obj2
);
13109 if (arg3
== NULL
) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= result
;
13143 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxFileType
*arg1
= (wxFileType
*) 0 ;
13146 wxString
*arg2
= 0 ;
13147 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13148 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13150 bool temp2
= false ;
13151 bool temp3
= false ;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 PyObject
* obj2
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13163 arg2
= wxString_in_helper(obj1
);
13164 if (arg2
== NULL
) SWIG_fail
;
13169 arg3
= wxString_in_helper(obj2
);
13170 if (arg3
== NULL
) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= result
;
13204 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxFileType
*arg1
= (wxFileType
*) 0 ;
13207 wxString
*arg2
= 0 ;
13208 wxString
*arg3
= 0 ;
13209 bool arg4
= (bool) true ;
13211 bool temp2
= false ;
13212 bool temp3
= false ;
13213 PyObject
* obj0
= 0 ;
13214 PyObject
* obj1
= 0 ;
13215 PyObject
* obj2
= 0 ;
13216 PyObject
* obj3
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13225 arg2
= wxString_in_helper(obj1
);
13226 if (arg2
== NULL
) SWIG_fail
;
13230 arg3
= wxString_in_helper(obj2
);
13231 if (arg3
== NULL
) SWIG_fail
;
13235 arg4
= (bool)SWIG_As_bool(obj3
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13270 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxFileType
*arg1
= (wxFileType
*) 0 ;
13273 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13274 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13275 int arg3
= (int) 0 ;
13277 bool temp2
= false ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 PyObject
* obj2
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self",(char *) "cmd",(char *) "index", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13290 arg2
= wxString_in_helper(obj1
);
13291 if (arg2
== NULL
) SWIG_fail
;
13296 arg3
= (int)SWIG_As_int(obj2
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13323 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxFileType
*arg1
= (wxFileType
*) 0 ;
13327 PyObject
* obj0
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (bool)(arg1
)->Unassociate();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13351 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxString
*arg1
= 0 ;
13354 wxString
*arg2
= 0 ;
13355 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13356 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13358 bool temp1
= false ;
13359 bool temp2
= false ;
13360 bool temp3
= false ;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 PyObject
* obj2
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13370 arg1
= wxString_in_helper(obj0
);
13371 if (arg1
== NULL
) SWIG_fail
;
13375 arg2
= wxString_in_helper(obj1
);
13376 if (arg2
== NULL
) SWIG_fail
;
13381 arg3
= wxString_in_helper(obj2
);
13382 if (arg3
== NULL
) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13430 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13433 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13435 return Py_BuildValue((char *)"");
13437 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13438 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13443 static PyObject
*_wrap_TheMimeTypesManager_get() {
13446 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13451 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxString
*arg1
= 0 ;
13454 wxString
*arg2
= 0 ;
13456 bool temp1
= false ;
13457 bool temp2
= false ;
13458 PyObject
* obj0
= 0 ;
13459 PyObject
* obj1
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "mimeType",(char *) "wildcard", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13466 arg1
= wxString_in_helper(obj0
);
13467 if (arg1
== NULL
) SWIG_fail
;
13471 arg2
= wxString_in_helper(obj1
);
13472 if (arg2
== NULL
) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13507 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxMimeTypesManager
*result
;
13510 char *kwnames
[] = {
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13529 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13532 int arg2
= (int) wxMAILCAP_ALL
;
13533 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13535 bool temp3
= false ;
13536 PyObject
* obj0
= 0 ;
13537 PyObject
* obj1
= 0 ;
13538 PyObject
* obj2
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 arg2
= (int)SWIG_As_int(obj1
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13552 arg3
= wxString_in_helper(obj2
);
13553 if (arg3
== NULL
) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 Py_INCREF(Py_None
); resultobj
= Py_None
;
13579 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13582 PyObject
* obj0
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 (arg1
)->ClearData();
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 Py_INCREF(Py_None
); resultobj
= Py_None
;
13604 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
;
13606 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13607 wxString
*arg2
= 0 ;
13608 wxFileType
*result
;
13609 bool temp2
= false ;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self",(char *) "ext", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 arg2
= wxString_in_helper(obj1
);
13621 if (arg2
== NULL
) SWIG_fail
;
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13646 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13649 wxString
*arg2
= 0 ;
13650 wxFileType
*result
;
13651 bool temp2
= false ;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self",(char *) "mimeType", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13662 arg2
= wxString_in_helper(obj1
);
13663 if (arg2
== NULL
) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13688 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13691 wxString
*arg2
= 0 ;
13692 bool arg3
= (bool) false ;
13694 bool temp2
= false ;
13695 PyObject
* obj0
= 0 ;
13696 PyObject
* obj1
= 0 ;
13697 PyObject
* obj2
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13706 arg2
= wxString_in_helper(obj1
);
13707 if (arg2
== NULL
) SWIG_fail
;
13711 arg3
= (bool)SWIG_As_bool(obj2
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13738 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
;
13740 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13741 wxString
*arg2
= 0 ;
13743 bool temp2
= false ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 char *kwnames
[] = {
13747 (char *) "self",(char *) "filename", NULL
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13754 arg2
= wxString_in_helper(obj1
);
13755 if (arg2
== NULL
) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13782 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13786 PyObject
* obj0
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "self", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= result
;
13808 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
;
13810 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13811 wxFileTypeInfo
*arg2
= 0 ;
13812 PyObject
* obj0
= 0 ;
13813 PyObject
* obj1
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "self",(char *) "ft", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13824 if (arg2
== NULL
) {
13825 PyErr_SetString(PyExc_TypeError
,"null reference");
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 Py_INCREF(Py_None
); resultobj
= Py_None
;
13842 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13845 wxFileTypeInfo
*arg2
= 0 ;
13846 wxFileType
*result
;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self",(char *) "ftInfo", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13859 if (arg2
== NULL
) {
13860 PyErr_SetString(PyExc_TypeError
,"null reference");
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13877 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13880 wxFileType
*arg2
= (wxFileType
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self",(char *) "ft", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (bool)(arg1
)->Unassociate(arg2
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13909 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 char *kwnames
[] = {
13914 (char *) "self", NULL
13917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 Py_INCREF(Py_None
); resultobj
= Py_None
;
13934 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13937 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13939 return Py_BuildValue((char *)"");
13941 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13942 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13947 static PyObject
*_wrap_ART_TOOLBAR_get() {
13952 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13954 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13961 static int _wrap_ART_MENU_set(PyObject
*) {
13962 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13967 static PyObject
*_wrap_ART_MENU_get() {
13972 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13974 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13981 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13982 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13987 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13992 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13994 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
14001 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
14002 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
14007 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14012 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14014 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14021 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14022 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14027 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14032 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14034 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14041 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14042 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14047 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14052 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14054 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14061 static int _wrap_ART_BUTTON_set(PyObject
*) {
14062 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14067 static PyObject
*_wrap_ART_BUTTON_get() {
14072 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14074 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14081 static int _wrap_ART_OTHER_set(PyObject
*) {
14082 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14087 static PyObject
*_wrap_ART_OTHER_get() {
14092 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14094 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14101 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14102 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14107 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14112 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14114 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14121 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14122 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14127 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14132 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14134 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14141 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14142 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14147 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14152 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14154 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14161 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14162 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14167 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14172 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14174 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14181 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14182 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14187 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14192 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14194 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14201 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14202 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14207 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14212 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14214 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14221 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14222 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14227 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14232 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14234 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14241 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14242 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14247 static PyObject
*_wrap_ART_GO_BACK_get() {
14252 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14254 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14261 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14262 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14267 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14272 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14274 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14281 static int _wrap_ART_GO_UP_set(PyObject
*) {
14282 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14287 static PyObject
*_wrap_ART_GO_UP_get() {
14292 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14294 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14301 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14302 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14307 static PyObject
*_wrap_ART_GO_DOWN_get() {
14312 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14314 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14321 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14322 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14327 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14332 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14334 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14341 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14342 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14347 static PyObject
*_wrap_ART_GO_HOME_get() {
14352 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14354 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14361 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14362 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14367 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14372 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14374 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14381 static int _wrap_ART_PRINT_set(PyObject
*) {
14382 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14387 static PyObject
*_wrap_ART_PRINT_get() {
14392 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14394 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14401 static int _wrap_ART_HELP_set(PyObject
*) {
14402 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14407 static PyObject
*_wrap_ART_HELP_get() {
14412 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14414 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14421 static int _wrap_ART_TIP_set(PyObject
*) {
14422 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14427 static PyObject
*_wrap_ART_TIP_get() {
14432 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14434 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14441 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14442 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14447 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14452 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14454 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14461 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14462 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14467 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14472 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14474 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14481 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14482 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14487 static PyObject
*_wrap_ART_NEW_DIR_get() {
14492 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14494 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14501 static int _wrap_ART_FOLDER_set(PyObject
*) {
14502 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14507 static PyObject
*_wrap_ART_FOLDER_get() {
14512 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14514 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14521 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14522 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14527 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14532 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14534 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14541 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14542 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14547 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14552 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14554 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14561 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14562 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14567 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14572 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14574 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14581 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14582 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14587 static PyObject
*_wrap_ART_TICK_MARK_get() {
14592 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14594 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14601 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14602 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14607 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14612 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14614 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14621 static int _wrap_ART_ERROR_set(PyObject
*) {
14622 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14627 static PyObject
*_wrap_ART_ERROR_get() {
14632 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14634 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14641 static int _wrap_ART_QUESTION_set(PyObject
*) {
14642 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14647 static PyObject
*_wrap_ART_QUESTION_get() {
14652 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14654 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14661 static int _wrap_ART_WARNING_set(PyObject
*) {
14662 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14667 static PyObject
*_wrap_ART_WARNING_get() {
14672 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14674 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14681 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14682 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14687 static PyObject
*_wrap_ART_INFORMATION_get() {
14692 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14694 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14701 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14702 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14707 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14712 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14714 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14721 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxPyArtProvider
*result
;
14724 char *kwnames
[] = {
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14730 if (!wxPyCheckForApp()) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14744 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14747 PyObject
*arg2
= (PyObject
*) 0 ;
14748 PyObject
*arg3
= (PyObject
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 PyObject
* obj2
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self",(char *) "self",(char *) "_class", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 Py_INCREF(Py_None
); resultobj
= Py_None
;
14775 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "provider", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 wxPyArtProvider::PushProvider(arg1
);
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 Py_INCREF(Py_None
); resultobj
= Py_None
;
14800 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
;
14803 char *kwnames
[] = {
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= (bool)wxPyArtProvider::PopProvider();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14824 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14826 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14828 PyObject
* obj0
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "provider", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14852 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxString
*arg1
= 0 ;
14855 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14856 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14857 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14858 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14860 bool temp1
= false ;
14861 bool temp2
= false ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 PyObject
* obj2
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "id",(char *) "client",(char *) "size", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14872 arg1
= wxString_in_helper(obj0
);
14873 if (arg1
== NULL
) SWIG_fail
;
14878 arg2
= wxString_in_helper(obj1
);
14879 if (arg2
== NULL
) SWIG_fail
;
14886 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14890 if (!wxPyCheckForApp()) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14898 wxBitmap
* resultptr
;
14899 resultptr
= new wxBitmap((wxBitmap
&) result
);
14900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14924 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxString
*arg1
= 0 ;
14927 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14928 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14929 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14930 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14932 bool temp1
= false ;
14933 bool temp2
= false ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 PyObject
* obj2
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "id",(char *) "client",(char *) "size", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14944 arg1
= wxString_in_helper(obj0
);
14945 if (arg1
== NULL
) SWIG_fail
;
14950 arg2
= wxString_in_helper(obj1
);
14951 if (arg2
== NULL
) SWIG_fail
;
14958 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14962 if (!wxPyCheckForApp()) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14970 wxIcon
* resultptr
;
14971 resultptr
= new wxIcon((wxIcon
&) result
);
14972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14996 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
15006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 wxPyArtProvider_Destroy(arg1
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 Py_INCREF(Py_None
); resultobj
= Py_None
;
15021 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15024 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15026 return Py_BuildValue((char *)"");
15028 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15056 wxConfigBase
*result
;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "config", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15079 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 bool arg1
= (bool) true ;
15082 wxConfigBase
*result
;
15083 PyObject
* obj0
= 0 ;
15084 char *kwnames
[] = {
15085 (char *) "createOnDemand", NULL
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15090 arg1
= (bool)SWIG_As_bool(obj0
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15107 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15108 PyObject
*resultobj
;
15109 wxConfigBase
*result
;
15110 char *kwnames
[] = {
15114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (wxConfigBase
*)wxConfigBase::Create();
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15129 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 char *kwnames
[] = {
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 wxConfigBase::DontCreateOnDemand();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 Py_INCREF(Py_None
); resultobj
= Py_None
;
15150 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15153 wxString
*arg2
= 0 ;
15154 bool temp2
= false ;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "self",(char *) "path", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15165 arg2
= wxString_in_helper(obj1
);
15166 if (arg2
== NULL
) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 (arg1
)->SetPath((wxString
const &)*arg2
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 Py_INCREF(Py_None
); resultobj
= Py_None
;
15191 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15207 result
= (wxString
*) &_result_ref
;
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15217 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15226 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= result
;
15252 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15257 PyObject
* obj0
= 0 ;
15258 PyObject
* obj1
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "self",(char *) "index", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15266 arg2
= (long)SWIG_As_long(obj1
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= result
;
15282 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= result
;
15308 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15309 PyObject
*resultobj
;
15310 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self",(char *) "index", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15322 arg2
= (long)SWIG_As_long(obj1
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= result
;
15338 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15341 bool arg2
= (bool) false ;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "recursive", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15353 arg2
= (bool)SWIG_As_bool(obj1
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15370 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15373 bool arg2
= (bool) false ;
15375 PyObject
* obj0
= 0 ;
15376 PyObject
* obj1
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self",(char *) "recursive", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15385 arg2
= (bool)SWIG_As_bool(obj1
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15402 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15404 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15405 wxString
*arg2
= 0 ;
15407 bool temp2
= false ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self",(char *) "name", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 arg2
= wxString_in_helper(obj1
);
15419 if (arg2
== NULL
) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15446 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
;
15448 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15449 wxString
*arg2
= 0 ;
15451 bool temp2
= false ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self",(char *) "name", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15462 arg2
= wxString_in_helper(obj1
);
15463 if (arg2
== NULL
) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15490 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15493 wxString
*arg2
= 0 ;
15495 bool temp2
= false ;
15496 PyObject
* obj0
= 0 ;
15497 PyObject
* obj1
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self",(char *) "name", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 arg2
= wxString_in_helper(obj1
);
15507 if (arg2
== NULL
) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15534 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15537 wxString
*arg2
= 0 ;
15539 bool temp2
= false ;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 char *kwnames
[] = {
15543 (char *) "self",(char *) "name", NULL
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15550 arg2
= wxString_in_helper(obj1
);
15551 if (arg2
== NULL
) SWIG_fail
;
15555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15556 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_From_int((int)result
);
15576 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15579 wxString
*arg2
= 0 ;
15580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15583 bool temp2
= false ;
15584 bool temp3
= false ;
15585 PyObject
* obj0
= 0 ;
15586 PyObject
* obj1
= 0 ;
15587 PyObject
* obj2
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15596 arg2
= wxString_in_helper(obj1
);
15597 if (arg2
== NULL
) SWIG_fail
;
15602 arg3
= wxString_in_helper(obj2
);
15603 if (arg3
== NULL
) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15643 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15646 wxString
*arg2
= 0 ;
15647 long arg3
= (long) 0 ;
15649 bool temp2
= false ;
15650 PyObject
* obj0
= 0 ;
15651 PyObject
* obj1
= 0 ;
15652 PyObject
* obj2
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15661 arg2
= wxString_in_helper(obj1
);
15662 if (arg2
== NULL
) SWIG_fail
;
15666 arg3
= (long)SWIG_As_long(obj2
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= SWIG_From_long((long)result
);
15691 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15694 wxString
*arg2
= 0 ;
15695 double arg3
= (double) 0.0 ;
15697 bool temp2
= false ;
15698 PyObject
* obj0
= 0 ;
15699 PyObject
* obj1
= 0 ;
15700 PyObject
* obj2
= 0 ;
15701 char *kwnames
[] = {
15702 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15709 arg2
= wxString_in_helper(obj1
);
15710 if (arg2
== NULL
) SWIG_fail
;
15714 arg3
= (double)SWIG_As_double(obj2
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= SWIG_From_double((double)result
);
15739 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15742 wxString
*arg2
= 0 ;
15743 bool arg3
= (bool) false ;
15745 bool temp2
= false ;
15746 PyObject
* obj0
= 0 ;
15747 PyObject
* obj1
= 0 ;
15748 PyObject
* obj2
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15757 arg2
= wxString_in_helper(obj1
);
15758 if (arg2
== NULL
) SWIG_fail
;
15762 arg3
= (bool)SWIG_As_bool(obj2
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15789 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15792 wxString
*arg2
= 0 ;
15793 wxString
*arg3
= 0 ;
15795 bool temp2
= false ;
15796 bool temp3
= false ;
15797 PyObject
* obj0
= 0 ;
15798 PyObject
* obj1
= 0 ;
15799 PyObject
* obj2
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self",(char *) "key",(char *) "value", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15808 arg2
= wxString_in_helper(obj1
);
15809 if (arg2
== NULL
) SWIG_fail
;
15813 arg3
= wxString_in_helper(obj2
);
15814 if (arg3
== NULL
) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15849 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15852 wxString
*arg2
= 0 ;
15855 bool temp2
= false ;
15856 PyObject
* obj0
= 0 ;
15857 PyObject
* obj1
= 0 ;
15858 PyObject
* obj2
= 0 ;
15859 char *kwnames
[] = {
15860 (char *) "self",(char *) "key",(char *) "value", NULL
15863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 arg2
= wxString_in_helper(obj1
);
15868 if (arg2
== NULL
) SWIG_fail
;
15871 arg3
= (long)SWIG_As_long(obj2
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15897 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15900 wxString
*arg2
= 0 ;
15903 bool temp2
= false ;
15904 PyObject
* obj0
= 0 ;
15905 PyObject
* obj1
= 0 ;
15906 PyObject
* obj2
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self",(char *) "key",(char *) "value", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 arg2
= wxString_in_helper(obj1
);
15916 if (arg2
== NULL
) SWIG_fail
;
15919 arg3
= (double)SWIG_As_double(obj2
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15945 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15948 wxString
*arg2
= 0 ;
15951 bool temp2
= false ;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 PyObject
* obj2
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self",(char *) "key",(char *) "value", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15963 arg2
= wxString_in_helper(obj1
);
15964 if (arg2
== NULL
) SWIG_fail
;
15967 arg3
= (bool)SWIG_As_bool(obj2
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15993 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15996 bool arg2
= (bool) false ;
15998 PyObject
* obj0
= 0 ;
15999 PyObject
* obj1
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self",(char *) "currentOnly", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16008 arg2
= (bool)SWIG_As_bool(obj1
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (bool)(arg1
)->Flush(arg2
);
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16027 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16030 wxString
*arg2
= 0 ;
16031 wxString
*arg3
= 0 ;
16033 bool temp2
= false ;
16034 bool temp3
= false ;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 PyObject
* obj2
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16046 arg2
= wxString_in_helper(obj1
);
16047 if (arg2
== NULL
) SWIG_fail
;
16051 arg3
= wxString_in_helper(obj2
);
16052 if (arg3
== NULL
) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16087 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16090 wxString
*arg2
= 0 ;
16091 wxString
*arg3
= 0 ;
16093 bool temp2
= false ;
16094 bool temp3
= false ;
16095 PyObject
* obj0
= 0 ;
16096 PyObject
* obj1
= 0 ;
16097 PyObject
* obj2
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 arg2
= wxString_in_helper(obj1
);
16107 if (arg2
== NULL
) SWIG_fail
;
16111 arg3
= wxString_in_helper(obj2
);
16112 if (arg3
== NULL
) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16147 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16150 wxString
*arg2
= 0 ;
16151 bool arg3
= (bool) true ;
16153 bool temp2
= false ;
16154 PyObject
* obj0
= 0 ;
16155 PyObject
* obj1
= 0 ;
16156 PyObject
* obj2
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16165 arg2
= wxString_in_helper(obj1
);
16166 if (arg2
== NULL
) SWIG_fail
;
16170 arg3
= (bool)SWIG_As_bool(obj2
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16197 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16200 wxString
*arg2
= 0 ;
16202 bool temp2
= false ;
16203 PyObject
* obj0
= 0 ;
16204 PyObject
* obj1
= 0 ;
16205 char *kwnames
[] = {
16206 (char *) "self",(char *) "key", NULL
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16213 arg2
= wxString_in_helper(obj1
);
16214 if (arg2
== NULL
) SWIG_fail
;
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16221 wxPyEndAllowThreads(__tstate
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16241 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (bool)(arg1
)->DeleteAll();
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16269 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16272 bool arg2
= (bool) true ;
16273 PyObject
* obj0
= 0 ;
16274 PyObject
* obj1
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self",(char *) "doIt", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16283 arg2
= (bool)SWIG_As_bool(obj1
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 (arg1
)->SetExpandEnvVars(arg2
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 Py_INCREF(Py_None
); resultobj
= Py_None
;
16300 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16328 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16331 bool arg2
= (bool) true ;
16332 PyObject
* obj0
= 0 ;
16333 PyObject
* obj1
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self",(char *) "doIt", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 arg2
= (bool)SWIG_As_bool(obj1
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 (arg1
)->SetRecordDefaults(arg2
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16352 Py_INCREF(Py_None
); resultobj
= Py_None
;
16359 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16387 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16390 wxString
*arg2
= 0 ;
16392 bool temp2
= false ;
16393 PyObject
* obj0
= 0 ;
16394 PyObject
* obj1
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self",(char *) "str", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16403 arg2
= wxString_in_helper(obj1
);
16404 if (arg2
== NULL
) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16435 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16467 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 char *kwnames
[] = {
16473 (char *) "self", NULL
16476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16499 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16502 wxString
*arg2
= 0 ;
16503 bool temp2
= false ;
16504 PyObject
* obj0
= 0 ;
16505 PyObject
* obj1
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self",(char *) "appName", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 arg2
= wxString_in_helper(obj1
);
16515 if (arg2
== NULL
) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 (arg1
)->SetAppName((wxString
const &)*arg2
);
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 Py_INCREF(Py_None
); resultobj
= Py_None
;
16540 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16543 wxString
*arg2
= 0 ;
16544 bool temp2
= false ;
16545 PyObject
* obj0
= 0 ;
16546 PyObject
* obj1
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self",(char *) "vendorName", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16555 arg2
= wxString_in_helper(obj1
);
16556 if (arg2
== NULL
) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16585 PyObject
* obj0
= 0 ;
16586 PyObject
* obj1
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self",(char *) "style", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16594 arg2
= (long)SWIG_As_long(obj1
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 (arg1
)->SetStyle(arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 Py_INCREF(Py_None
); resultobj
= Py_None
;
16610 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_From_long((long)result
);
16636 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16639 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16641 return Py_BuildValue((char *)"");
16643 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
;
16645 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16646 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16647 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16648 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16649 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16650 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16651 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16652 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16653 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16655 bool temp1
= false ;
16656 bool temp2
= false ;
16657 bool temp3
= false ;
16658 bool temp4
= false ;
16659 PyObject
* obj0
= 0 ;
16660 PyObject
* obj1
= 0 ;
16661 PyObject
* obj2
= 0 ;
16662 PyObject
* obj3
= 0 ;
16663 PyObject
* obj4
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16671 arg1
= wxString_in_helper(obj0
);
16672 if (arg1
== NULL
) SWIG_fail
;
16678 arg2
= wxString_in_helper(obj1
);
16679 if (arg2
== NULL
) SWIG_fail
;
16685 arg3
= wxString_in_helper(obj2
);
16686 if (arg3
== NULL
) SWIG_fail
;
16692 arg4
= wxString_in_helper(obj3
);
16693 if (arg4
== NULL
) SWIG_fail
;
16698 arg5
= (long)SWIG_As_long(obj4
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16747 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxConfig
*arg1
= (wxConfig
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "self", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 Py_INCREF(Py_None
); resultobj
= Py_None
;
16772 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16775 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16777 return Py_BuildValue((char *)"");
16779 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16782 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16783 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16784 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16785 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16787 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16788 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16789 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16790 wxFileConfig
*result
;
16791 bool temp1
= false ;
16792 bool temp2
= false ;
16793 bool temp3
= false ;
16794 bool temp4
= false ;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 PyObject
* obj2
= 0 ;
16798 PyObject
* obj3
= 0 ;
16799 PyObject
* obj4
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16807 arg1
= wxString_in_helper(obj0
);
16808 if (arg1
== NULL
) SWIG_fail
;
16814 arg2
= wxString_in_helper(obj1
);
16815 if (arg2
== NULL
) SWIG_fail
;
16821 arg3
= wxString_in_helper(obj2
);
16822 if (arg3
== NULL
) SWIG_fail
;
16828 arg4
= wxString_in_helper(obj3
);
16829 if (arg4
== NULL
) SWIG_fail
;
16834 arg5
= (long)SWIG_As_long(obj4
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16883 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16885 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 Py_INCREF(Py_None
); resultobj
= Py_None
;
16908 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16911 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16913 return Py_BuildValue((char *)"");
16915 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16918 wxString
*arg2
= 0 ;
16919 wxConfigPathChanger
*result
;
16920 bool temp2
= false ;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "config",(char *) "entry", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16931 arg2
= wxString_in_helper(obj1
);
16932 if (arg2
== NULL
) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16957 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16960 PyObject
* obj0
= 0 ;
16961 char *kwnames
[] = {
16962 (char *) "self", NULL
16965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 Py_INCREF(Py_None
); resultobj
= Py_None
;
16982 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16998 result
= (wxString
*) &_result_ref
;
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17008 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17017 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17020 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17022 return Py_BuildValue((char *)"");
17024 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxString
*arg1
= 0 ;
17028 bool temp1
= false ;
17029 PyObject
* obj0
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "sz", NULL
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17036 arg1
= wxString_in_helper(obj0
);
17037 if (arg1
== NULL
) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17068 static int _wrap_DateFormatStr_set(PyObject
*) {
17069 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17074 static PyObject
*_wrap_DateFormatStr_get() {
17079 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17081 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17088 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17089 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17094 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17099 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17101 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17108 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "country", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17117 arg1
= (int)SWIG_As_int(obj0
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 Py_INCREF(Py_None
); resultobj
= Py_None
;
17133 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17136 char *kwnames
[] = {
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (int)wxDateTime::GetCountry();
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= SWIG_From_int((int)result
);
17155 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 int arg1
= (int) wxDateTime::Country_Default
;
17159 PyObject
* obj0
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "country", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17166 arg1
= (int)SWIG_As_int(obj0
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17185 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 int arg1
= (int) wxDateTime::Gregorian
;
17189 PyObject
* obj0
= 0 ;
17190 char *kwnames
[] = {
17191 (char *) "cal", NULL
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17196 arg1
= (int)SWIG_As_int(obj0
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_From_int((int)result
);
17213 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17217 PyObject
* obj0
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "year", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17223 arg1
= (int)SWIG_As_int(obj0
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= SWIG_From_int((int)result
);
17239 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
;
17241 int arg1
= (int) wxDateTime::Gregorian
;
17243 PyObject
* obj0
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "cal", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17250 arg1
= (int)SWIG_As_int(obj0
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= SWIG_From_int((int)result
);
17267 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 int arg1
= (int) wxDateTime::Inv_Year
;
17270 int arg2
= (int) wxDateTime::Gregorian
;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "year",(char *) "cal", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17280 arg1
= (int)SWIG_As_int(obj0
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17284 arg2
= (int)SWIG_As_int(obj1
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17303 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 int arg1
= (int) wxDateTime::Inv_Year
;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "year", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17314 arg1
= (int)SWIG_As_int(obj0
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= (int)wxDateTime::GetCentury(arg1
);
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 resultobj
= SWIG_From_int((int)result
);
17331 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
;
17334 int arg2
= (int) wxDateTime::Gregorian
;
17336 PyObject
* obj0
= 0 ;
17337 PyObject
* obj1
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "year",(char *) "cal", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17343 arg1
= (int)SWIG_As_int(obj0
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 arg2
= (int)SWIG_As_int(obj1
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= SWIG_From_int((int)result
);
17363 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17366 int arg2
= (int) wxDateTime::Inv_Year
;
17367 int arg3
= (int) wxDateTime::Gregorian
;
17369 PyObject
* obj0
= 0 ;
17370 PyObject
* obj1
= 0 ;
17371 PyObject
* obj2
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "month",(char *) "year",(char *) "cal", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17377 arg1
= (int)SWIG_As_int(obj0
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 arg2
= (int)SWIG_As_int(obj1
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17384 arg3
= (int)SWIG_As_int(obj2
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= SWIG_From_int((int)result
);
17401 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17404 int arg2
= (int) wxDateTime::Name_Full
;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "month",(char *) "flags", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17413 arg1
= (int)SWIG_As_int(obj0
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 arg2
= (int)SWIG_As_int(obj1
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17439 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17442 int arg2
= (int) wxDateTime::Name_Full
;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "weekday",(char *) "flags", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17451 arg1
= (int)SWIG_As_int(obj0
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 arg2
= (int)SWIG_As_int(obj1
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17477 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxString
*arg1
= (wxString
*) 0 ;
17480 wxString
*arg2
= (wxString
*) 0 ;
17481 bool temp1
= false ;
17482 bool temp2
= false ;
17483 PyObject
* obj0
= 0 ;
17484 PyObject
* obj1
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17491 arg1
= wxString_in_helper(obj0
);
17492 if (arg1
== NULL
) SWIG_fail
;
17496 arg2
= wxString_in_helper(obj1
);
17497 if (arg2
== NULL
) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 Py_INCREF(Py_None
); resultobj
= Py_None
;
17530 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 int arg1
= (int) wxDateTime::Inv_Year
;
17533 int arg2
= (int) wxDateTime::Country_Default
;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "year",(char *) "country", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17543 arg1
= (int)SWIG_As_int(obj0
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17547 arg2
= (int)SWIG_As_int(obj1
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17566 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 int arg1
= (int) wxDateTime::Inv_Year
;
17569 int arg2
= (int) wxDateTime::Country_Default
;
17571 PyObject
* obj0
= 0 ;
17572 PyObject
* obj1
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "year",(char *) "country", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17579 arg1
= (int)SWIG_As_int(obj0
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 arg2
= (int)SWIG_As_int(obj1
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 wxDateTime
* resultptr
;
17595 resultptr
= new wxDateTime((wxDateTime
&) result
);
17596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17604 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 int arg1
= (int) wxDateTime::Inv_Year
;
17607 int arg2
= (int) wxDateTime::Country_Default
;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "year",(char *) "country", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17617 arg1
= (int)SWIG_As_int(obj0
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17621 arg2
= (int)SWIG_As_int(obj1
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 wxDateTime
* resultptr
;
17633 resultptr
= new wxDateTime((wxDateTime
&) result
);
17634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17642 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17645 char *kwnames
[] = {
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= wxDateTime::Now();
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17658 wxDateTime
* resultptr
;
17659 resultptr
= new wxDateTime((wxDateTime
&) result
);
17660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17668 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17671 char *kwnames
[] = {
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 result
= wxDateTime::UNow();
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17684 wxDateTime
* resultptr
;
17685 resultptr
= new wxDateTime((wxDateTime
&) result
);
17686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17694 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17697 char *kwnames
[] = {
17701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= wxDateTime::Today();
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 wxDateTime
* resultptr
;
17711 resultptr
= new wxDateTime((wxDateTime
&) result
);
17712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17720 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxDateTime
*result
;
17723 char *kwnames
[] = {
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 result
= (wxDateTime
*)new wxDateTime();
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17742 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17745 wxDateTime
*result
;
17746 PyObject
* obj0
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "timet", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17752 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= (wxDateTime
*)new wxDateTime(arg1
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17768 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17771 wxDateTime
*result
;
17772 PyObject
* obj0
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "jdn", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17778 arg1
= (double)SWIG_As_double(obj0
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (wxDateTime
*)new wxDateTime(arg1
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17794 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17797 int arg2
= (int) 0 ;
17798 int arg3
= (int) 0 ;
17799 int arg4
= (int) 0 ;
17800 wxDateTime
*result
;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 PyObject
* obj2
= 0 ;
17804 PyObject
* obj3
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17810 arg1
= (int)SWIG_As_int(obj0
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 arg2
= (int)SWIG_As_int(obj1
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17817 arg3
= (int)SWIG_As_int(obj2
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17821 arg4
= (int)SWIG_As_int(obj3
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17838 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17841 int arg2
= (int) wxDateTime::Inv_Month
;
17842 int arg3
= (int) wxDateTime::Inv_Year
;
17843 int arg4
= (int) 0 ;
17844 int arg5
= (int) 0 ;
17845 int arg6
= (int) 0 ;
17846 int arg7
= (int) 0 ;
17847 wxDateTime
*result
;
17848 PyObject
* obj0
= 0 ;
17849 PyObject
* obj1
= 0 ;
17850 PyObject
* obj2
= 0 ;
17851 PyObject
* obj3
= 0 ;
17852 PyObject
* obj4
= 0 ;
17853 PyObject
* obj5
= 0 ;
17854 PyObject
* obj6
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17860 arg1
= (int)SWIG_As_int(obj0
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 arg2
= (int)SWIG_As_int(obj1
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 arg3
= (int)SWIG_As_int(obj2
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 arg4
= (int)SWIG_As_int(obj3
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17875 arg5
= (int)SWIG_As_int(obj4
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17879 arg6
= (int)SWIG_As_int(obj5
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17883 arg7
= (int)SWIG_As_int(obj6
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17900 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17903 PyObject
* obj0
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 Py_INCREF(Py_None
); resultobj
= Py_None
;
17925 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17928 wxDateTime
*result
;
17929 PyObject
* obj0
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17941 result
= (wxDateTime
*) &_result_ref
;
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17954 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17958 wxDateTime
*result
;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "timet", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17968 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17974 result
= (wxDateTime
*) &_result_ref
;
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17987 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17991 wxDateTime
*result
;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self",(char *) "jdn", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18001 arg2
= (double)SWIG_As_double(obj1
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
18007 result
= (wxDateTime
*) &_result_ref
;
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18020 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18024 int arg3
= (int) 0 ;
18025 int arg4
= (int) 0 ;
18026 int arg5
= (int) 0 ;
18027 wxDateTime
*result
;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 PyObject
* obj2
= 0 ;
18031 PyObject
* obj3
= 0 ;
18032 PyObject
* obj4
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18040 arg2
= (int)SWIG_As_int(obj1
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 arg3
= (int)SWIG_As_int(obj2
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 arg4
= (int)SWIG_As_int(obj3
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 arg5
= (int)SWIG_As_int(obj4
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18058 result
= (wxDateTime
*) &_result_ref
;
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18071 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18072 PyObject
*resultobj
;
18073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18075 int arg3
= (int) wxDateTime::Inv_Month
;
18076 int arg4
= (int) wxDateTime::Inv_Year
;
18077 int arg5
= (int) 0 ;
18078 int arg6
= (int) 0 ;
18079 int arg7
= (int) 0 ;
18080 int arg8
= (int) 0 ;
18081 wxDateTime
*result
;
18082 PyObject
* obj0
= 0 ;
18083 PyObject
* obj1
= 0 ;
18084 PyObject
* obj2
= 0 ;
18085 PyObject
* obj3
= 0 ;
18086 PyObject
* obj4
= 0 ;
18087 PyObject
* obj5
= 0 ;
18088 PyObject
* obj6
= 0 ;
18089 PyObject
* obj7
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18097 arg2
= (int)SWIG_As_int(obj1
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 arg3
= (int)SWIG_As_int(obj2
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 arg4
= (int)SWIG_As_int(obj3
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 arg5
= (int)SWIG_As_int(obj4
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18112 arg6
= (int)SWIG_As_int(obj5
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18116 arg7
= (int)SWIG_As_int(obj6
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18120 arg8
= (int)SWIG_As_int(obj7
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18127 result
= (wxDateTime
*) &_result_ref
;
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18140 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18143 wxDateTime
*result
;
18144 PyObject
* obj0
= 0 ;
18145 char *kwnames
[] = {
18146 (char *) "self", NULL
18149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18156 result
= (wxDateTime
*) &_result_ref
;
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18169 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18173 wxDateTime
*result
;
18174 PyObject
* obj0
= 0 ;
18175 PyObject
* obj1
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self",(char *) "year", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18183 arg2
= (int)SWIG_As_int(obj1
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18189 result
= (wxDateTime
*) &_result_ref
;
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18202 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
;
18204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18206 wxDateTime
*result
;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self",(char *) "month", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18216 arg2
= (int)SWIG_As_int(obj1
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18222 result
= (wxDateTime
*) &_result_ref
;
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18235 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18239 wxDateTime
*result
;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self",(char *) "day", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18249 arg2
= (int)SWIG_As_int(obj1
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18255 result
= (wxDateTime
*) &_result_ref
;
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18268 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18272 wxDateTime
*result
;
18273 PyObject
* obj0
= 0 ;
18274 PyObject
* obj1
= 0 ;
18275 char *kwnames
[] = {
18276 (char *) "self",(char *) "hour", NULL
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18282 arg2
= (int)SWIG_As_int(obj1
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18288 result
= (wxDateTime
*) &_result_ref
;
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18301 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18302 PyObject
*resultobj
;
18303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18305 wxDateTime
*result
;
18306 PyObject
* obj0
= 0 ;
18307 PyObject
* obj1
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "self",(char *) "minute", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18315 arg2
= (int)SWIG_As_int(obj1
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18321 result
= (wxDateTime
*) &_result_ref
;
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18334 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18338 wxDateTime
*result
;
18339 PyObject
* obj0
= 0 ;
18340 PyObject
* obj1
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self",(char *) "second", NULL
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18348 arg2
= (int)SWIG_As_int(obj1
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18354 result
= (wxDateTime
*) &_result_ref
;
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18367 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18371 wxDateTime
*result
;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self",(char *) "millisecond", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18381 arg2
= (int)SWIG_As_int(obj1
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18387 result
= (wxDateTime
*) &_result_ref
;
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18400 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18404 int arg3
= (int) wxDateTime::Monday_First
;
18405 wxDateTime
*result
;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 PyObject
* obj2
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18416 arg2
= (int)SWIG_As_int(obj1
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 arg3
= (int)SWIG_As_int(obj2
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18426 result
= (wxDateTime
*) &_result_ref
;
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18439 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18443 int arg3
= (int) wxDateTime::Monday_First
;
18445 PyObject
* obj0
= 0 ;
18446 PyObject
* obj1
= 0 ;
18447 PyObject
* obj2
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18455 arg2
= (int)SWIG_As_int(obj1
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 arg3
= (int)SWIG_As_int(obj2
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18469 wxDateTime
* resultptr
;
18470 resultptr
= new wxDateTime((wxDateTime
&) result
);
18471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18479 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
;
18481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18483 wxDateTime
*result
;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self",(char *) "weekday", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18493 arg2
= (int)SWIG_As_int(obj1
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18499 result
= (wxDateTime
*) &_result_ref
;
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18512 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
;
18514 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 char *kwnames
[] = {
18520 (char *) "self",(char *) "weekday", NULL
18523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18526 arg2
= (int)SWIG_As_int(obj1
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18536 wxDateTime
* resultptr
;
18537 resultptr
= new wxDateTime((wxDateTime
&) result
);
18538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18546 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18550 wxDateTime
*result
;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self",(char *) "weekday", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18560 arg2
= (int)SWIG_As_int(obj1
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18566 result
= (wxDateTime
*) &_result_ref
;
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18579 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "weekday", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18593 arg2
= (int)SWIG_As_int(obj1
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18603 wxDateTime
* resultptr
;
18604 resultptr
= new wxDateTime((wxDateTime
&) result
);
18605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18613 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18617 int arg3
= (int) 1 ;
18618 int arg4
= (int) wxDateTime::Inv_Month
;
18619 int arg5
= (int) wxDateTime::Inv_Year
;
18621 PyObject
* obj0
= 0 ;
18622 PyObject
* obj1
= 0 ;
18623 PyObject
* obj2
= 0 ;
18624 PyObject
* obj3
= 0 ;
18625 PyObject
* obj4
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 arg2
= (int)SWIG_As_int(obj1
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 arg3
= (int)SWIG_As_int(obj2
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18640 arg4
= (int)SWIG_As_int(obj3
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18644 arg5
= (int)SWIG_As_int(obj4
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18663 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18667 int arg3
= (int) wxDateTime::Inv_Month
;
18668 int arg4
= (int) wxDateTime::Inv_Year
;
18670 PyObject
* obj0
= 0 ;
18671 PyObject
* obj1
= 0 ;
18672 PyObject
* obj2
= 0 ;
18673 PyObject
* obj3
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 arg2
= (int)SWIG_As_int(obj1
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 arg3
= (int)SWIG_As_int(obj2
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18688 arg4
= (int)SWIG_As_int(obj3
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18707 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18711 int arg3
= (int) wxDateTime::Inv_Month
;
18712 int arg4
= (int) wxDateTime::Inv_Year
;
18714 PyObject
* obj0
= 0 ;
18715 PyObject
* obj1
= 0 ;
18716 PyObject
* obj2
= 0 ;
18717 PyObject
* obj3
= 0 ;
18718 char *kwnames
[] = {
18719 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18725 arg2
= (int)SWIG_As_int(obj1
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18728 arg3
= (int)SWIG_As_int(obj2
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18732 arg4
= (int)SWIG_As_int(obj3
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18743 wxDateTime
* resultptr
;
18744 resultptr
= new wxDateTime((wxDateTime
&) result
);
18745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18753 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18757 int arg3
= (int) wxDateTime::Mon
;
18758 int arg4
= (int) wxDateTime::Monday_First
;
18760 PyObject
* obj0
= 0 ;
18761 PyObject
* obj1
= 0 ;
18762 PyObject
* obj2
= 0 ;
18763 PyObject
* obj3
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18771 arg2
= (int)SWIG_As_int(obj1
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 arg3
= (int)SWIG_As_int(obj2
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18778 arg4
= (int)SWIG_As_int(obj3
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18797 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18801 int arg3
= (int) wxDateTime::Mon
;
18802 int arg4
= (int) wxDateTime::Monday_First
;
18804 PyObject
* obj0
= 0 ;
18805 PyObject
* obj1
= 0 ;
18806 PyObject
* obj2
= 0 ;
18807 PyObject
* obj3
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18815 arg2
= (int)SWIG_As_int(obj1
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 arg3
= (int)SWIG_As_int(obj2
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18822 arg4
= (int)SWIG_As_int(obj3
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18833 wxDateTime
* resultptr
;
18834 resultptr
= new wxDateTime((wxDateTime
&) result
);
18835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18843 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18847 int arg3
= (int) wxDateTime::Mon
;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 PyObject
* obj2
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18857 arg1
= (int)SWIG_As_int(obj0
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18859 arg2
= (int)SWIG_As_int(obj1
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 arg3
= (int)SWIG_As_int(obj2
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18873 wxDateTime
* resultptr
;
18874 resultptr
= new wxDateTime((wxDateTime
&) result
);
18875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18883 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18886 int arg2
= (int) wxDateTime::Inv_Month
;
18887 int arg3
= (int) wxDateTime::Inv_Year
;
18888 wxDateTime
*result
;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 PyObject
* obj2
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self",(char *) "month",(char *) "year", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18900 arg2
= (int)SWIG_As_int(obj1
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18904 arg3
= (int)SWIG_As_int(obj2
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18911 result
= (wxDateTime
*) &_result_ref
;
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18924 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18927 int arg2
= (int) wxDateTime::Inv_Month
;
18928 int arg3
= (int) wxDateTime::Inv_Year
;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 PyObject
* obj2
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self",(char *) "month",(char *) "year", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18941 arg2
= (int)SWIG_As_int(obj1
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18945 arg3
= (int)SWIG_As_int(obj2
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18956 wxDateTime
* resultptr
;
18957 resultptr
= new wxDateTime((wxDateTime
&) result
);
18958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18966 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
;
18968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18970 wxDateTime
*result
;
18971 PyObject
* obj0
= 0 ;
18972 PyObject
* obj1
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "self",(char *) "yday", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18980 arg2
= (int)SWIG_As_int(obj1
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18985 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18986 result
= (wxDateTime
*) &_result_ref
;
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18999 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 PyObject
* obj1
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self",(char *) "yday", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19013 arg2
= (int)SWIG_As_int(obj1
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 result
= (arg1
)->GetYearDay(arg2
);
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19023 wxDateTime
* resultptr
;
19024 resultptr
= new wxDateTime((wxDateTime
&) result
);
19025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19033 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "self", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (double)(arg1
)->GetJulianDayNumber();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 resultobj
= SWIG_From_double((double)result
);
19059 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 result
= (double)(arg1
)->GetJDN();
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19078 resultobj
= SWIG_From_double((double)result
);
19085 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
;
19087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19089 PyObject
* obj0
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= SWIG_From_double((double)result
);
19111 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
;
19113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19115 PyObject
* obj0
= 0 ;
19116 char *kwnames
[] = {
19117 (char *) "self", NULL
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (double)(arg1
)->GetMJD();
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_From_double((double)result
);
19137 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 result
= (double)(arg1
)->GetRataDie();
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= SWIG_From_double((double)result
);
19163 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19166 wxDateTime::TimeZone
*arg2
= 0 ;
19167 bool arg3
= (bool) false ;
19169 bool temp2
= false ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 PyObject
* obj2
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19181 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19185 arg3
= (bool)SWIG_As_bool(obj2
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19196 wxDateTime
* resultptr
;
19197 resultptr
= new wxDateTime((wxDateTime
&) result
);
19198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19201 if (temp2
) delete arg2
;
19206 if (temp2
) delete arg2
;
19212 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19215 wxDateTime::TimeZone
*arg2
= 0 ;
19216 bool arg3
= (bool) false ;
19217 wxDateTime
*result
;
19218 bool temp2
= false ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 PyObject
* obj2
= 0 ;
19222 char *kwnames
[] = {
19223 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19230 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19234 arg3
= (bool)SWIG_As_bool(obj2
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19241 result
= (wxDateTime
*) &_result_ref
;
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19249 if (temp2
) delete arg2
;
19254 if (temp2
) delete arg2
;
19260 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19263 bool arg2
= (bool) false ;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self",(char *) "noDST", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19275 arg2
= (bool)SWIG_As_bool(obj1
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= (arg1
)->ToGMT(arg2
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19286 wxDateTime
* resultptr
;
19287 resultptr
= new wxDateTime((wxDateTime
&) result
);
19288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19296 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19299 bool arg2
= (bool) false ;
19300 wxDateTime
*result
;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self",(char *) "noDST", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 arg2
= (bool)SWIG_As_bool(obj1
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19318 result
= (wxDateTime
*) &_result_ref
;
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19331 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19334 int arg2
= (int) wxDateTime::Country_Default
;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self",(char *) "country", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19346 arg2
= (int)SWIG_As_int(obj1
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_From_int((int)result
);
19363 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19367 PyObject
* obj0
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19391 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
;
19393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19395 PyObject
* obj0
= 0 ;
19396 char *kwnames
[] = {
19397 (char *) "self", NULL
19400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19417 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
;
19419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19420 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19421 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19423 bool temp2
= false ;
19424 PyObject
* obj0
= 0 ;
19425 PyObject
* obj1
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self",(char *) "tz", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19435 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= SWIG_From_int((int)result
);
19448 if (temp2
) delete arg2
;
19453 if (temp2
) delete arg2
;
19459 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19462 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19463 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19465 bool temp2
= false ;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "tz", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19477 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19483 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 resultobj
= SWIG_From_int((int)result
);
19490 if (temp2
) delete arg2
;
19495 if (temp2
) delete arg2
;
19501 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19504 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19505 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19507 bool temp2
= false ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "tz", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19519 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= SWIG_From_int((int)result
);
19532 if (temp2
) delete arg2
;
19537 if (temp2
) delete arg2
;
19543 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19546 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19547 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19549 bool temp2
= false ;
19550 PyObject
* obj0
= 0 ;
19551 PyObject
* obj1
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self",(char *) "tz", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19561 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= SWIG_From_int((int)result
);
19574 if (temp2
) delete arg2
;
19579 if (temp2
) delete arg2
;
19585 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19588 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19589 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19591 bool temp2
= false ;
19592 PyObject
* obj0
= 0 ;
19593 PyObject
* obj1
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self",(char *) "tz", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19603 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= SWIG_From_int((int)result
);
19616 if (temp2
) delete arg2
;
19621 if (temp2
) delete arg2
;
19627 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19630 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19631 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19633 bool temp2
= false ;
19634 PyObject
* obj0
= 0 ;
19635 PyObject
* obj1
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self",(char *) "tz", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19645 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_From_int((int)result
);
19658 if (temp2
) delete arg2
;
19663 if (temp2
) delete arg2
;
19669 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
;
19671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19672 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19673 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19675 bool temp2
= false ;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self",(char *) "tz", NULL
19682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19687 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_From_int((int)result
);
19700 if (temp2
) delete arg2
;
19705 if (temp2
) delete arg2
;
19711 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19714 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19715 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19717 bool temp2
= false ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self",(char *) "tz", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19729 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= SWIG_From_int((int)result
);
19742 if (temp2
) delete arg2
;
19747 if (temp2
) delete arg2
;
19753 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19756 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19757 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19759 bool temp2
= false ;
19760 PyObject
* obj0
= 0 ;
19761 PyObject
* obj1
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self",(char *) "tz", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19771 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= SWIG_From_int((int)result
);
19784 if (temp2
) delete arg2
;
19789 if (temp2
) delete arg2
;
19795 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19798 int arg2
= (int) wxDateTime::Monday_First
;
19799 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19800 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19802 bool temp3
= false ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 PyObject
* obj2
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self",(char *) "flags",(char *) "tz", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 arg2
= (int)SWIG_As_int(obj1
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19819 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= SWIG_From_int((int)result
);
19832 if (temp3
) delete arg3
;
19837 if (temp3
) delete arg3
;
19843 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19846 int arg2
= (int) wxDateTime::Monday_First
;
19847 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19848 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19850 bool temp3
= false ;
19851 PyObject
* obj0
= 0 ;
19852 PyObject
* obj1
= 0 ;
19853 PyObject
* obj2
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self",(char *) "flags",(char *) "tz", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19862 arg2
= (int)SWIG_As_int(obj1
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19867 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 resultobj
= SWIG_From_int((int)result
);
19880 if (temp3
) delete arg3
;
19885 if (temp3
) delete arg3
;
19891 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19894 int arg2
= (int) wxDateTime::Country_Default
;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "country", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19906 arg2
= (int)SWIG_As_int(obj1
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19925 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19928 wxDateTime
*arg2
= 0 ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self",(char *) "datetime", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19942 if (arg2
== NULL
) {
19943 PyErr_SetString(PyExc_TypeError
,"null reference");
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19962 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19965 wxDateTime
*arg2
= 0 ;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self",(char *) "datetime", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19979 if (arg2
== NULL
) {
19980 PyErr_SetString(PyExc_TypeError
,"null reference");
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19999 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20002 wxDateTime
*arg2
= 0 ;
20004 PyObject
* obj0
= 0 ;
20005 PyObject
* obj1
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "self",(char *) "datetime", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20016 if (arg2
== NULL
) {
20017 PyErr_SetString(PyExc_TypeError
,"null reference");
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20036 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20039 wxDateTime
*arg2
= 0 ;
20040 wxDateTime
*arg3
= 0 ;
20042 PyObject
* obj0
= 0 ;
20043 PyObject
* obj1
= 0 ;
20044 PyObject
* obj2
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self",(char *) "t1",(char *) "t2", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20055 if (arg2
== NULL
) {
20056 PyErr_SetString(PyExc_TypeError
,"null reference");
20059 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20062 if (arg3
== NULL
) {
20063 PyErr_SetString(PyExc_TypeError
,"null reference");
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20082 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20085 wxDateTime
*arg2
= 0 ;
20086 wxDateTime
*arg3
= 0 ;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20090 PyObject
* obj2
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self",(char *) "t1",(char *) "t2", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20101 if (arg2
== NULL
) {
20102 PyErr_SetString(PyExc_TypeError
,"null reference");
20105 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20108 if (arg3
== NULL
) {
20109 PyErr_SetString(PyExc_TypeError
,"null reference");
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20128 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20131 wxDateTime
*arg2
= 0 ;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self",(char *) "dt", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20145 if (arg2
== NULL
) {
20146 PyErr_SetString(PyExc_TypeError
,"null reference");
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20165 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20168 wxDateTime
*arg2
= 0 ;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self",(char *) "dt", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20182 if (arg2
== NULL
) {
20183 PyErr_SetString(PyExc_TypeError
,"null reference");
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20202 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20205 wxDateTime
*arg2
= 0 ;
20206 wxTimeSpan
*arg3
= 0 ;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 PyObject
* obj2
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self",(char *) "dt",(char *) "ts", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20221 if (arg2
== NULL
) {
20222 PyErr_SetString(PyExc_TypeError
,"null reference");
20225 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20228 if (arg3
== NULL
) {
20229 PyErr_SetString(PyExc_TypeError
,"null reference");
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20248 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20251 wxTimeSpan
*arg2
= 0 ;
20252 wxDateTime
*result
;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self",(char *) "diff", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20265 if (arg2
== NULL
) {
20266 PyErr_SetString(PyExc_TypeError
,"null reference");
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20273 result
= (wxDateTime
*) &_result_ref
;
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20286 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
;
20288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20289 wxDateSpan
*arg2
= 0 ;
20290 wxDateTime
*result
;
20291 PyObject
* obj0
= 0 ;
20292 PyObject
* obj1
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self",(char *) "diff", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20303 if (arg2
== NULL
) {
20304 PyErr_SetString(PyExc_TypeError
,"null reference");
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20311 result
= (wxDateTime
*) &_result_ref
;
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20324 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20327 wxTimeSpan
*arg2
= 0 ;
20328 wxDateTime
*result
;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self",(char *) "diff", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20341 if (arg2
== NULL
) {
20342 PyErr_SetString(PyExc_TypeError
,"null reference");
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20349 result
= (wxDateTime
*) &_result_ref
;
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20362 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
;
20364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20365 wxDateSpan
*arg2
= 0 ;
20366 wxDateTime
*result
;
20367 PyObject
* obj0
= 0 ;
20368 PyObject
* obj1
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self",(char *) "diff", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20379 if (arg2
== NULL
) {
20380 PyErr_SetString(PyExc_TypeError
,"null reference");
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20387 result
= (wxDateTime
*) &_result_ref
;
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20400 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20403 wxDateTime
*arg2
= 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self",(char *) "dt", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20417 if (arg2
== NULL
) {
20418 PyErr_SetString(PyExc_TypeError
,"null reference");
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20429 wxTimeSpan
* resultptr
;
20430 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20439 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20440 PyObject
*resultobj
;
20441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20442 wxTimeSpan
*arg2
= 0 ;
20443 wxDateTime
*result
;
20444 PyObject
* obj0
= 0 ;
20445 PyObject
* obj1
= 0 ;
20447 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20449 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20453 if (arg2
== NULL
) {
20454 PyErr_SetString(PyExc_TypeError
,"null reference");
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20461 result
= (wxDateTime
*) &_result_ref
;
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20474 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20475 PyObject
*resultobj
;
20476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20477 wxDateSpan
*arg2
= 0 ;
20478 wxDateTime
*result
;
20479 PyObject
* obj0
= 0 ;
20480 PyObject
* obj1
= 0 ;
20482 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20484 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20488 if (arg2
== NULL
) {
20489 PyErr_SetString(PyExc_TypeError
,"null reference");
20493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20496 result
= (wxDateTime
*) &_result_ref
;
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20509 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20514 argc
= PyObject_Length(args
);
20515 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20516 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20522 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20532 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20540 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20548 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20558 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20566 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20571 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20576 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20577 PyObject
*resultobj
;
20578 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20579 wxTimeSpan
*arg2
= 0 ;
20580 wxDateTime
*result
;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20584 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20586 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20590 if (arg2
== NULL
) {
20591 PyErr_SetString(PyExc_TypeError
,"null reference");
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20598 result
= (wxDateTime
*) &_result_ref
;
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20611 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20612 PyObject
*resultobj
;
20613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20614 wxDateSpan
*arg2
= 0 ;
20615 wxDateTime
*result
;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20619 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20621 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20625 if (arg2
== NULL
) {
20626 PyErr_SetString(PyExc_TypeError
,"null reference");
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20633 result
= (wxDateTime
*) &_result_ref
;
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20646 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20651 argc
= PyObject_Length(args
);
20652 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20653 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20659 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20669 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20677 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20685 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20695 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20703 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20708 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20713 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20714 PyObject
*resultobj
;
20715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20716 wxTimeSpan
*arg2
= 0 ;
20718 PyObject
* obj0
= 0 ;
20719 PyObject
* obj1
= 0 ;
20721 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20727 if (arg2
== NULL
) {
20728 PyErr_SetString(PyExc_TypeError
,"null reference");
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20739 wxDateTime
* resultptr
;
20740 resultptr
= new wxDateTime((wxDateTime
&) result
);
20741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20749 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20750 PyObject
*resultobj
;
20751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20752 wxDateSpan
*arg2
= 0 ;
20754 PyObject
* obj0
= 0 ;
20755 PyObject
* obj1
= 0 ;
20757 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20763 if (arg2
== NULL
) {
20764 PyErr_SetString(PyExc_TypeError
,"null reference");
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20775 wxDateTime
* resultptr
;
20776 resultptr
= new wxDateTime((wxDateTime
&) result
);
20777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20785 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20790 argc
= PyObject_Length(args
);
20791 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20792 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20798 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20808 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20816 return _wrap_DateTime___add____SWIG_0(self
,args
);
20824 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20834 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20842 return _wrap_DateTime___add____SWIG_1(self
,args
);
20847 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20852 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20853 PyObject
*resultobj
;
20854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20855 wxDateTime
*arg2
= 0 ;
20857 PyObject
* obj0
= 0 ;
20858 PyObject
* obj1
= 0 ;
20860 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20864 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20866 if (arg2
== NULL
) {
20867 PyErr_SetString(PyExc_TypeError
,"null reference");
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20878 wxTimeSpan
* resultptr
;
20879 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20888 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20889 PyObject
*resultobj
;
20890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20891 wxTimeSpan
*arg2
= 0 ;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20896 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20902 if (arg2
== NULL
) {
20903 PyErr_SetString(PyExc_TypeError
,"null reference");
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20914 wxDateTime
* resultptr
;
20915 resultptr
= new wxDateTime((wxDateTime
&) result
);
20916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20924 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20925 PyObject
*resultobj
;
20926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20927 wxDateSpan
*arg2
= 0 ;
20929 PyObject
* obj0
= 0 ;
20930 PyObject
* obj1
= 0 ;
20932 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20938 if (arg2
== NULL
) {
20939 PyErr_SetString(PyExc_TypeError
,"null reference");
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20950 wxDateTime
* resultptr
;
20951 resultptr
= new wxDateTime((wxDateTime
&) result
);
20952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20960 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20965 argc
= PyObject_Length(args
);
20966 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20967 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20973 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20983 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20991 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20999 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21009 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21017 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21025 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21035 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21043 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21048 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21053 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21054 PyObject
*resultobj
;
21055 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21056 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21061 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21082 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21083 PyObject
*resultobj
;
21084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21085 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21087 PyObject
* obj0
= 0 ;
21088 PyObject
* obj1
= 0 ;
21090 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21111 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21112 PyObject
*resultobj
;
21113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21114 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21116 PyObject
* obj0
= 0 ;
21117 PyObject
* obj1
= 0 ;
21119 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21140 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21141 PyObject
*resultobj
;
21142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21143 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21145 PyObject
* obj0
= 0 ;
21146 PyObject
* obj1
= 0 ;
21148 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21169 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21170 PyObject
*resultobj
;
21171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21172 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21177 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21198 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21199 PyObject
*resultobj
;
21200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21201 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21203 PyObject
* obj0
= 0 ;
21204 PyObject
* obj1
= 0 ;
21206 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21227 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21230 wxString
*arg2
= 0 ;
21232 bool temp2
= false ;
21233 PyObject
* obj0
= 0 ;
21234 PyObject
* obj1
= 0 ;
21235 char *kwnames
[] = {
21236 (char *) "self",(char *) "date", NULL
21239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21243 arg2
= wxString_in_helper(obj1
);
21244 if (arg2
== NULL
) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= SWIG_From_int((int)result
);
21269 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21272 wxString
*arg2
= 0 ;
21273 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21274 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21275 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21276 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21278 bool temp2
= false ;
21279 bool temp3
= false ;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 PyObject
* obj2
= 0 ;
21283 PyObject
* obj3
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21292 arg2
= wxString_in_helper(obj1
);
21293 if (arg2
== NULL
) SWIG_fail
;
21298 arg3
= wxString_in_helper(obj2
);
21299 if (arg3
== NULL
) SWIG_fail
;
21304 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21307 if (arg4
== NULL
) {
21308 PyErr_SetString(PyExc_TypeError
,"null reference");
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= SWIG_From_int((int)result
);
21342 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21345 wxString
*arg2
= 0 ;
21347 bool temp2
= false ;
21348 PyObject
* obj0
= 0 ;
21349 PyObject
* obj1
= 0 ;
21350 char *kwnames
[] = {
21351 (char *) "self",(char *) "datetime", NULL
21354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21358 arg2
= wxString_in_helper(obj1
);
21359 if (arg2
== NULL
) SWIG_fail
;
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21369 resultobj
= SWIG_From_int((int)result
);
21384 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
;
21386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21387 wxString
*arg2
= 0 ;
21389 bool temp2
= false ;
21390 PyObject
* obj0
= 0 ;
21391 PyObject
* obj1
= 0 ;
21392 char *kwnames
[] = {
21393 (char *) "self",(char *) "date", NULL
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21400 arg2
= wxString_in_helper(obj1
);
21401 if (arg2
== NULL
) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 resultobj
= SWIG_From_int((int)result
);
21426 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21429 wxString
*arg2
= 0 ;
21431 bool temp2
= false ;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self",(char *) "time", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21442 arg2
= wxString_in_helper(obj1
);
21443 if (arg2
== NULL
) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= SWIG_From_int((int)result
);
21468 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21471 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21472 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21473 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21474 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21476 bool temp2
= false ;
21477 bool temp3
= false ;
21478 PyObject
* obj0
= 0 ;
21479 PyObject
* obj1
= 0 ;
21480 PyObject
* obj2
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "self",(char *) "format",(char *) "tz", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21490 arg2
= wxString_in_helper(obj1
);
21491 if (arg2
== NULL
) SWIG_fail
;
21497 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21520 if (temp3
) delete arg3
;
21529 if (temp3
) delete arg3
;
21535 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21567 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21571 PyObject
* obj0
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21599 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21631 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21633 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21635 PyObject
* obj0
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21663 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21666 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21668 return Py_BuildValue((char *)"");
21670 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "sec", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21680 arg1
= (long)SWIG_As_long(obj0
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= wxTimeSpan::Seconds(arg1
);
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21690 wxTimeSpan
* resultptr
;
21691 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21700 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21703 char *kwnames
[] = {
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= wxTimeSpan::Second();
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21716 wxTimeSpan
* resultptr
;
21717 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21726 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21730 PyObject
* obj0
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "min", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21736 arg1
= (long)SWIG_As_long(obj0
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= wxTimeSpan::Minutes(arg1
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21746 wxTimeSpan
* resultptr
;
21747 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21756 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21759 char *kwnames
[] = {
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= wxTimeSpan::Minute();
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21772 wxTimeSpan
* resultptr
;
21773 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21782 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
;
21786 PyObject
* obj0
= 0 ;
21787 char *kwnames
[] = {
21788 (char *) "hours", NULL
21791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21792 arg1
= (long)SWIG_As_long(obj0
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 result
= wxTimeSpan::Hours(arg1
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21802 wxTimeSpan
* resultptr
;
21803 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21812 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
;
21815 char *kwnames
[] = {
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 result
= wxTimeSpan::Hour();
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21828 wxTimeSpan
* resultptr
;
21829 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21838 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21842 PyObject
* obj0
= 0 ;
21843 char *kwnames
[] = {
21844 (char *) "days", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21848 arg1
= (long)SWIG_As_long(obj0
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= wxTimeSpan::Days(arg1
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21858 wxTimeSpan
* resultptr
;
21859 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21868 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21871 char *kwnames
[] = {
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= wxTimeSpan::Day();
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21884 wxTimeSpan
* resultptr
;
21885 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21894 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
;
21898 PyObject
* obj0
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "days", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21904 arg1
= (long)SWIG_As_long(obj0
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= wxTimeSpan::Weeks(arg1
);
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21914 wxTimeSpan
* resultptr
;
21915 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21924 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
;
21927 char *kwnames
[] = {
21931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= wxTimeSpan::Week();
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21940 wxTimeSpan
* resultptr
;
21941 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21950 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
;
21952 long arg1
= (long) 0 ;
21953 long arg2
= (long) 0 ;
21954 long arg3
= (long) 0 ;
21955 long arg4
= (long) 0 ;
21956 wxTimeSpan
*result
;
21957 PyObject
* obj0
= 0 ;
21958 PyObject
* obj1
= 0 ;
21959 PyObject
* obj2
= 0 ;
21960 PyObject
* obj3
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21967 arg1
= (long)SWIG_As_long(obj0
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 arg2
= (long)SWIG_As_long(obj1
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 arg3
= (long)SWIG_As_long(obj2
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 arg4
= (long)SWIG_As_long(obj3
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21996 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 Py_INCREF(Py_None
); resultobj
= Py_None
;
22021 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22024 wxTimeSpan
*arg2
= 0 ;
22025 wxTimeSpan
*result
;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self",(char *) "diff", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22038 if (arg2
== NULL
) {
22039 PyErr_SetString(PyExc_TypeError
,"null reference");
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22046 result
= (wxTimeSpan
*) &_result_ref
;
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22059 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
;
22061 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22062 wxTimeSpan
*arg2
= 0 ;
22063 wxTimeSpan
*result
;
22064 PyObject
* obj0
= 0 ;
22065 PyObject
* obj1
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self",(char *) "diff", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22076 if (arg2
== NULL
) {
22077 PyErr_SetString(PyExc_TypeError
,"null reference");
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22084 result
= (wxTimeSpan
*) &_result_ref
;
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22097 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22101 wxTimeSpan
*result
;
22102 PyObject
* obj0
= 0 ;
22103 PyObject
* obj1
= 0 ;
22104 char *kwnames
[] = {
22105 (char *) "self",(char *) "n", NULL
22108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22111 arg2
= (int)SWIG_As_int(obj1
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22117 result
= (wxTimeSpan
*) &_result_ref
;
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22130 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22131 PyObject
*resultobj
;
22132 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22133 wxTimeSpan
*result
;
22134 PyObject
* obj0
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22146 result
= (wxTimeSpan
*) &_result_ref
;
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22159 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 char *kwnames
[] = {
22165 (char *) "self", NULL
22168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22179 wxTimeSpan
* resultptr
;
22180 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22189 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22191 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22192 wxTimeSpan
*arg2
= 0 ;
22193 wxTimeSpan
*result
;
22194 PyObject
* obj0
= 0 ;
22195 PyObject
* obj1
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "diff", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22202 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22206 if (arg2
== NULL
) {
22207 PyErr_SetString(PyExc_TypeError
,"null reference");
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22214 result
= (wxTimeSpan
*) &_result_ref
;
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22227 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22230 wxTimeSpan
*arg2
= 0 ;
22231 wxTimeSpan
*result
;
22232 PyObject
* obj0
= 0 ;
22233 PyObject
* obj1
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self",(char *) "diff", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22240 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22244 if (arg2
== NULL
) {
22245 PyErr_SetString(PyExc_TypeError
,"null reference");
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22252 result
= (wxTimeSpan
*) &_result_ref
;
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22265 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22269 wxTimeSpan
*result
;
22270 PyObject
* obj0
= 0 ;
22271 PyObject
* obj1
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self",(char *) "n", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22278 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22279 arg2
= (int)SWIG_As_int(obj1
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22285 result
= (wxTimeSpan
*) &_result_ref
;
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22298 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22301 wxTimeSpan
*result
;
22302 PyObject
* obj0
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22314 result
= (wxTimeSpan
*) &_result_ref
;
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22327 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22330 wxTimeSpan
*arg2
= 0 ;
22332 PyObject
* obj0
= 0 ;
22333 PyObject
* obj1
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self",(char *) "other", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22344 if (arg2
== NULL
) {
22345 PyErr_SetString(PyExc_TypeError
,"null reference");
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22356 wxTimeSpan
* resultptr
;
22357 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22366 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22369 wxTimeSpan
*arg2
= 0 ;
22371 PyObject
* obj0
= 0 ;
22372 PyObject
* obj1
= 0 ;
22373 char *kwnames
[] = {
22374 (char *) "self",(char *) "other", NULL
22377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22383 if (arg2
== NULL
) {
22384 PyErr_SetString(PyExc_TypeError
,"null reference");
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22395 wxTimeSpan
* resultptr
;
22396 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22405 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 PyObject
* obj1
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self",(char *) "n", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22419 arg2
= (int)SWIG_As_int(obj1
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= wxTimeSpan___mul__(arg1
,arg2
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22429 wxTimeSpan
* resultptr
;
22430 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22439 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 char *kwnames
[] = {
22447 (char *) "self",(char *) "n", NULL
22450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22453 arg2
= (int)SWIG_As_int(obj1
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 wxTimeSpan
* resultptr
;
22464 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22473 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22476 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 PyObject
* obj1
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self",(char *) "other", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22505 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
;
22507 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22508 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 PyObject
* obj1
= 0 ;
22512 char *kwnames
[] = {
22513 (char *) "self",(char *) "other", NULL
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22537 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22540 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22542 PyObject
* obj0
= 0 ;
22543 PyObject
* obj1
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "self",(char *) "other", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22569 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22572 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 PyObject
* obj1
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self",(char *) "other", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22601 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22604 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 PyObject
* obj1
= 0 ;
22608 char *kwnames
[] = {
22609 (char *) "self",(char *) "other", NULL
22612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22633 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22636 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 PyObject
* obj1
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self",(char *) "other", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22665 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22693 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
;
22695 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22721 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22725 PyObject
* obj0
= 0 ;
22726 char *kwnames
[] = {
22727 (char *) "self", NULL
22730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22749 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22752 wxTimeSpan
*arg2
= 0 ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self",(char *) "ts", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22766 if (arg2
== NULL
) {
22767 PyErr_SetString(PyExc_TypeError
,"null reference");
22771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22774 wxPyEndAllowThreads(__tstate
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22786 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22789 wxTimeSpan
*arg2
= 0 ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self",(char *) "ts", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22803 if (arg2
== NULL
) {
22804 PyErr_SetString(PyExc_TypeError
,"null reference");
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22823 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22826 wxTimeSpan
*arg2
= 0 ;
22828 PyObject
* obj0
= 0 ;
22829 PyObject
* obj1
= 0 ;
22830 char *kwnames
[] = {
22831 (char *) "self",(char *) "t", NULL
22834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22840 if (arg2
== NULL
) {
22841 PyErr_SetString(PyExc_TypeError
,"null reference");
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22860 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
;
22862 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22864 PyObject
* obj0
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= SWIG_From_int((int)result
);
22886 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22890 PyObject
* obj0
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= SWIG_From_int((int)result
);
22912 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22916 PyObject
* obj0
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= SWIG_From_int((int)result
);
22938 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
;
22940 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22942 PyObject
* obj0
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "self", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 resultobj
= SWIG_From_int((int)result
);
22964 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22965 PyObject
*resultobj
;
22966 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22968 PyObject
* obj0
= 0 ;
22969 char *kwnames
[] = {
22970 (char *) "self", NULL
22973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22980 wxPyEndAllowThreads(__tstate
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22984 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22985 hi
= PyLong_FromLong( (&result
)->GetHi() );
22986 lo
= PyLong_FromLong( (&result
)->GetLo() );
22987 shifter
= PyLong_FromLong(32);
22988 shifted
= PyNumber_Lshift(hi
, shifter
);
22989 resultobj
= PyNumber_Or(shifted
, lo
);
22992 Py_DECREF(shifter
);
22993 Py_DECREF(shifted
);
23001 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23005 PyObject
* obj0
= 0 ;
23006 char *kwnames
[] = {
23007 (char *) "self", NULL
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
23011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23021 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23022 hi
= PyLong_FromLong( (&result
)->GetHi() );
23023 lo
= PyLong_FromLong( (&result
)->GetLo() );
23024 shifter
= PyLong_FromLong(32);
23025 shifted
= PyNumber_Lshift(hi
, shifter
);
23026 resultobj
= PyNumber_Or(shifted
, lo
);
23029 Py_DECREF(shifter
);
23030 Py_DECREF(shifted
);
23038 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23041 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23042 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23044 bool temp2
= false ;
23045 PyObject
* obj0
= 0 ;
23046 PyObject
* obj1
= 0 ;
23047 char *kwnames
[] = {
23048 (char *) "self",(char *) "format", NULL
23051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23056 arg2
= wxString_in_helper(obj1
);
23057 if (arg2
== NULL
) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23089 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23092 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23094 return Py_BuildValue((char *)"");
23096 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 int arg1
= (int) 0 ;
23099 int arg2
= (int) 0 ;
23100 int arg3
= (int) 0 ;
23101 int arg4
= (int) 0 ;
23102 wxDateSpan
*result
;
23103 PyObject
* obj0
= 0 ;
23104 PyObject
* obj1
= 0 ;
23105 PyObject
* obj2
= 0 ;
23106 PyObject
* obj3
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23113 arg1
= (int)SWIG_As_int(obj0
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23117 arg2
= (int)SWIG_As_int(obj1
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23121 arg3
= (int)SWIG_As_int(obj2
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23125 arg4
= (int)SWIG_As_int(obj3
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23142 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
;
23144 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23145 PyObject
* obj0
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 Py_INCREF(Py_None
); resultobj
= Py_None
;
23167 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
;
23171 PyObject
* obj0
= 0 ;
23172 char *kwnames
[] = {
23173 (char *) "days", NULL
23176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23177 arg1
= (int)SWIG_As_int(obj0
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= wxDateSpan::Days(arg1
);
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23187 wxDateSpan
* resultptr
;
23188 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23197 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
;
23200 char *kwnames
[] = {
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 result
= wxDateSpan::Day();
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23213 wxDateSpan
* resultptr
;
23214 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23223 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "weeks", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23233 arg1
= (int)SWIG_As_int(obj0
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= wxDateSpan::Weeks(arg1
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23243 wxDateSpan
* resultptr
;
23244 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23253 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
;
23256 char *kwnames
[] = {
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= wxDateSpan::Week();
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23269 wxDateSpan
* resultptr
;
23270 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23279 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "mon", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23289 arg1
= (int)SWIG_As_int(obj0
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= wxDateSpan::Months(arg1
);
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 wxDateSpan
* resultptr
;
23300 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23309 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23312 char *kwnames
[] = {
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= wxDateSpan::Month();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23325 wxDateSpan
* resultptr
;
23326 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23335 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23339 PyObject
* obj0
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "years", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23345 arg1
= (int)SWIG_As_int(obj0
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= wxDateSpan::Years(arg1
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23355 wxDateSpan
* resultptr
;
23356 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23365 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23368 char *kwnames
[] = {
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= wxDateSpan::Year();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23381 wxDateSpan
* resultptr
;
23382 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23391 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23395 wxDateSpan
*result
;
23396 PyObject
* obj0
= 0 ;
23397 PyObject
* obj1
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self",(char *) "n", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23405 arg2
= (int)SWIG_As_int(obj1
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23411 result
= (wxDateSpan
*) &_result_ref
;
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23424 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23425 PyObject
*resultobj
;
23426 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23428 wxDateSpan
*result
;
23429 PyObject
* obj0
= 0 ;
23430 PyObject
* obj1
= 0 ;
23431 char *kwnames
[] = {
23432 (char *) "self",(char *) "n", NULL
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 arg2
= (int)SWIG_As_int(obj1
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23444 result
= (wxDateSpan
*) &_result_ref
;
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23457 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23459 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23461 wxDateSpan
*result
;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 char *kwnames
[] = {
23465 (char *) "self",(char *) "n", NULL
23468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23471 arg2
= (int)SWIG_As_int(obj1
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23477 result
= (wxDateSpan
*) &_result_ref
;
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23490 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23494 wxDateSpan
*result
;
23495 PyObject
* obj0
= 0 ;
23496 PyObject
* obj1
= 0 ;
23497 char *kwnames
[] = {
23498 (char *) "self",(char *) "n", NULL
23501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23504 arg2
= (int)SWIG_As_int(obj1
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23510 result
= (wxDateSpan
*) &_result_ref
;
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23523 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_From_int((int)result
);
23549 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "self", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= SWIG_From_int((int)result
);
23575 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_From_int((int)result
);
23601 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23605 PyObject
* obj0
= 0 ;
23606 char *kwnames
[] = {
23607 (char *) "self", NULL
23610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= SWIG_From_int((int)result
);
23627 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23631 PyObject
* obj0
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= SWIG_From_int((int)result
);
23653 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23656 wxDateSpan
*arg2
= 0 ;
23657 wxDateSpan
*result
;
23658 PyObject
* obj0
= 0 ;
23659 PyObject
* obj1
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self",(char *) "other", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23670 if (arg2
== NULL
) {
23671 PyErr_SetString(PyExc_TypeError
,"null reference");
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23678 result
= (wxDateSpan
*) &_result_ref
;
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23691 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23694 wxDateSpan
*arg2
= 0 ;
23695 wxDateSpan
*result
;
23696 PyObject
* obj0
= 0 ;
23697 PyObject
* obj1
= 0 ;
23698 char *kwnames
[] = {
23699 (char *) "self",(char *) "other", NULL
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23708 if (arg2
== NULL
) {
23709 PyErr_SetString(PyExc_TypeError
,"null reference");
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23716 result
= (wxDateSpan
*) &_result_ref
;
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23729 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23732 wxDateSpan
*result
;
23733 PyObject
* obj0
= 0 ;
23734 char *kwnames
[] = {
23735 (char *) "self", NULL
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23745 result
= (wxDateSpan
*) &_result_ref
;
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23758 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23762 wxDateSpan
*result
;
23763 PyObject
* obj0
= 0 ;
23764 PyObject
* obj1
= 0 ;
23765 char *kwnames
[] = {
23766 (char *) "self",(char *) "factor", NULL
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23772 arg2
= (int)SWIG_As_int(obj1
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23778 result
= (wxDateSpan
*) &_result_ref
;
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23791 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
;
23793 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23794 wxDateSpan
*arg2
= 0 ;
23795 wxDateSpan
*result
;
23796 PyObject
* obj0
= 0 ;
23797 PyObject
* obj1
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self",(char *) "other", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23804 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23808 if (arg2
== NULL
) {
23809 PyErr_SetString(PyExc_TypeError
,"null reference");
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23816 result
= (wxDateSpan
*) &_result_ref
;
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23829 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23832 wxDateSpan
*arg2
= 0 ;
23833 wxDateSpan
*result
;
23834 PyObject
* obj0
= 0 ;
23835 PyObject
* obj1
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self",(char *) "other", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23842 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23846 if (arg2
== NULL
) {
23847 PyErr_SetString(PyExc_TypeError
,"null reference");
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23854 result
= (wxDateSpan
*) &_result_ref
;
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23867 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23870 wxDateSpan
*result
;
23871 PyObject
* obj0
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23883 result
= (wxDateSpan
*) &_result_ref
;
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23896 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
;
23898 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23900 wxDateSpan
*result
;
23901 PyObject
* obj0
= 0 ;
23902 PyObject
* obj1
= 0 ;
23903 char *kwnames
[] = {
23904 (char *) "self",(char *) "factor", NULL
23907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23909 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23910 arg2
= (int)SWIG_As_int(obj1
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23916 result
= (wxDateSpan
*) &_result_ref
;
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23929 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
;
23931 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23932 wxDateSpan
*arg2
= 0 ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "self",(char *) "other", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23946 if (arg2
== NULL
) {
23947 PyErr_SetString(PyExc_TypeError
,"null reference");
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23958 wxDateSpan
* resultptr
;
23959 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23968 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23971 wxDateSpan
*arg2
= 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 char *kwnames
[] = {
23976 (char *) "self",(char *) "other", NULL
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23985 if (arg2
== NULL
) {
23986 PyErr_SetString(PyExc_TypeError
,"null reference");
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23997 wxDateSpan
* resultptr
;
23998 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24007 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
;
24009 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self",(char *) "n", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24021 arg2
= (int)SWIG_As_int(obj1
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= wxDateSpan___mul__(arg1
,arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24031 wxDateSpan
* resultptr
;
24032 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24041 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
;
24043 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 PyObject
* obj1
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self",(char *) "n", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 arg2
= (int)SWIG_As_int(obj1
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= wxDateSpan___rmul__(arg1
,arg2
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24065 wxDateSpan
* resultptr
;
24066 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24075 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24078 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 PyObject
* obj1
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self",(char *) "other", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24107 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
;
24109 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24110 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24112 PyObject
* obj0
= 0 ;
24113 PyObject
* obj1
= 0 ;
24114 char *kwnames
[] = {
24115 (char *) "self",(char *) "other", NULL
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24139 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24142 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24144 return Py_BuildValue((char *)"");
24146 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24149 char *kwnames
[] = {
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (long)wxGetLocalTime();
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= SWIG_From_long((long)result
);
24168 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24171 char *kwnames
[] = {
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (long)wxGetUTCTime();
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_From_long((long)result
);
24190 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24193 char *kwnames
[] = {
24197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (long)wxGetCurrentTime();
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_From_long((long)result
);
24212 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24215 char *kwnames
[] = {
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= wxGetLocalTimeMillis();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24228 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24229 hi
= PyLong_FromLong( (&result
)->GetHi() );
24230 lo
= PyLong_FromLong( (&result
)->GetLo() );
24231 shifter
= PyLong_FromLong(32);
24232 shifted
= PyNumber_Lshift(hi
, shifter
);
24233 resultobj
= PyNumber_Or(shifted
, lo
);
24236 Py_DECREF(shifter
);
24237 Py_DECREF(shifted
);
24245 static int _wrap_DefaultDateTime_set(PyObject
*) {
24246 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24251 static PyObject
*_wrap_DefaultDateTime_get() {
24254 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24259 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24262 wxDataFormat
*result
;
24263 PyObject
* obj0
= 0 ;
24264 char *kwnames
[] = {
24265 (char *) "type", NULL
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24269 arg1
= (int)SWIG_As_int(obj0
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24285 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxString
*arg1
= 0 ;
24288 wxDataFormat
*result
;
24289 bool temp1
= false ;
24290 PyObject
* obj0
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "format", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24297 arg1
= wxString_in_helper(obj0
);
24298 if (arg1
== NULL
) SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24323 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
;
24325 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 char *kwnames
[] = {
24328 (char *) "self", NULL
24331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 Py_INCREF(Py_None
); resultobj
= Py_None
;
24348 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24349 PyObject
*resultobj
;
24350 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24353 PyObject
* obj0
= 0 ;
24354 PyObject
* obj1
= 0 ;
24356 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 arg2
= (int)SWIG_As_int(obj1
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24377 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24378 PyObject
*resultobj
;
24379 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24385 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 arg2
= (int)SWIG_As_int(obj1
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24406 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24407 PyObject
*resultobj
;
24408 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24409 wxDataFormat
*arg2
= 0 ;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24414 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24418 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24420 if (arg2
== NULL
) {
24421 PyErr_SetString(PyExc_TypeError
,"null reference");
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24440 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24445 argc
= PyObject_Length(args
);
24446 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24447 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24453 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24463 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24471 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24479 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24487 _v
= SWIG_Check_int(argv
[1]);
24489 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24494 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24499 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24500 PyObject
*resultobj
;
24501 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24502 wxDataFormat
*arg2
= 0 ;
24504 PyObject
* obj0
= 0 ;
24505 PyObject
* obj1
= 0 ;
24507 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24513 if (arg2
== NULL
) {
24514 PyErr_SetString(PyExc_TypeError
,"null reference");
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24533 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24538 argc
= PyObject_Length(args
);
24539 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24540 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24546 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24556 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24564 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24572 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24580 _v
= SWIG_Check_int(argv
[1]);
24582 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24587 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24592 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
;
24594 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24596 PyObject
* obj0
= 0 ;
24597 PyObject
* obj1
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self",(char *) "format", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24605 arg2
= (int)SWIG_As_int(obj1
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 (arg1
)->SetType((wxDataFormatId
)arg2
);
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 Py_INCREF(Py_None
); resultobj
= Py_None
;
24621 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24623 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24625 PyObject
* obj0
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 resultobj
= SWIG_From_int((int)result
);
24647 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 char *kwnames
[] = {
24653 (char *) "self", NULL
24656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= ((wxDataFormat
const *)arg1
)->GetId();
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24679 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
;
24681 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24682 wxString
*arg2
= 0 ;
24683 bool temp2
= false ;
24684 PyObject
* obj0
= 0 ;
24685 PyObject
* obj1
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self",(char *) "format", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24694 arg2
= wxString_in_helper(obj1
);
24695 if (arg2
== NULL
) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 (arg1
)->SetId((wxString
const &)*arg2
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 Py_INCREF(Py_None
); resultobj
= Py_None
;
24720 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24723 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24725 return Py_BuildValue((char *)"");
24727 static int _wrap_FormatInvalid_set(PyObject
*) {
24728 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24733 static PyObject
*_wrap_FormatInvalid_get() {
24736 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24741 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
;
24743 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "self", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 Py_INCREF(Py_None
); resultobj
= Py_None
;
24766 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
;
24768 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24769 int arg2
= (int) wxDataObject::Get
;
24770 SwigValueWrapper
< wxDataFormat
> result
;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 char *kwnames
[] = {
24774 (char *) "self",(char *) "dir", NULL
24777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24781 arg2
= (int)SWIG_As_int(obj1
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24792 wxDataFormat
* resultptr
;
24793 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24802 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
;
24804 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24805 int arg2
= (int) wxDataObject::Get
;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self",(char *) "dir", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 arg2
= (int)SWIG_As_int(obj1
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24834 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24837 wxDataFormat
*arg2
= 0 ;
24838 int arg3
= (int) wxDataObject::Get
;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 PyObject
* obj2
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self",(char *) "format",(char *) "dir", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24853 if (arg2
== NULL
) {
24854 PyErr_SetString(PyExc_TypeError
,"null reference");
24858 arg3
= (int)SWIG_As_int(obj2
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24877 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24880 wxDataFormat
*arg2
= 0 ;
24882 PyObject
* obj0
= 0 ;
24883 PyObject
* obj1
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self",(char *) "format", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24894 if (arg2
== NULL
) {
24895 PyErr_SetString(PyExc_TypeError
,"null reference");
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24905 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24912 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24914 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24915 int arg2
= (int) wxDataObject::Get
;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj1
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self",(char *) "dir", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24927 arg2
= (int)SWIG_As_int(obj1
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= result
;
24944 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24947 wxDataFormat
*arg2
= 0 ;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj1
= 0 ;
24951 char *kwnames
[] = {
24952 (char *) "self",(char *) "format", NULL
24955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24961 if (arg2
== NULL
) {
24962 PyErr_SetString(PyExc_TypeError
,"null reference");
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= result
;
24979 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24982 wxDataFormat
*arg2
= 0 ;
24983 PyObject
*arg3
= (PyObject
*) 0 ;
24985 PyObject
* obj0
= 0 ;
24986 PyObject
* obj1
= 0 ;
24987 PyObject
* obj2
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self",(char *) "format",(char *) "data", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24998 if (arg2
== NULL
) {
24999 PyErr_SetString(PyExc_TypeError
,"null reference");
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25019 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25022 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25024 return Py_BuildValue((char *)"");
25026 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
;
25028 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25029 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25030 wxDataObjectSimple
*result
;
25031 PyObject
* obj0
= 0 ;
25032 char *kwnames
[] = {
25033 (char *) "format", NULL
25036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25041 if (arg1
== NULL
) {
25042 PyErr_SetString(PyExc_TypeError
,"null reference");
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25060 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25061 PyObject
*resultobj
;
25062 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25063 wxDataFormat
*result
;
25064 PyObject
* obj0
= 0 ;
25065 char *kwnames
[] = {
25066 (char *) "self", NULL
25069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25076 result
= (wxDataFormat
*) &_result_ref
;
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25089 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25092 wxDataFormat
*arg2
= 0 ;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self",(char *) "format", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25105 if (arg2
== NULL
) {
25106 PyErr_SetString(PyExc_TypeError
,"null reference");
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 Py_INCREF(Py_None
); resultobj
= Py_None
;
25123 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25127 PyObject
* obj0
= 0 ;
25128 char *kwnames
[] = {
25129 (char *) "self", NULL
25132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25142 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25149 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25153 PyObject
* obj0
= 0 ;
25154 char *kwnames
[] = {
25155 (char *) "self", NULL
25158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25168 resultobj
= result
;
25175 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
;
25177 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25178 PyObject
*arg2
= (PyObject
*) 0 ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 char *kwnames
[] = {
25183 (char *) "self",(char *) "data", NULL
25186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25192 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25206 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25209 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25211 return Py_BuildValue((char *)"");
25213 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25216 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25217 wxPyDataObjectSimple
*result
;
25218 PyObject
* obj0
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "format", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25228 if (arg1
== NULL
) {
25229 PyErr_SetString(PyExc_TypeError
,"null reference");
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25247 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25250 PyObject
*arg2
= (PyObject
*) 0 ;
25251 PyObject
*arg3
= (PyObject
*) 0 ;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 PyObject
* obj2
= 0 ;
25255 char *kwnames
[] = {
25256 (char *) "self",(char *) "self",(char *) "_class", NULL
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 Py_INCREF(Py_None
); resultobj
= Py_None
;
25278 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25281 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25283 return Py_BuildValue((char *)"");
25285 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxDataObjectComposite
*result
;
25288 char *kwnames
[] = {
25292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25307 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25308 PyObject
*resultobj
;
25309 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25310 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25311 bool arg3
= (bool) false ;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 PyObject
* obj2
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25323 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25325 arg3
= (bool)SWIG_As_bool(obj2
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 (arg1
)->Add(arg2
,arg3
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 Py_INCREF(Py_None
); resultobj
= Py_None
;
25342 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25345 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25347 return Py_BuildValue((char *)"");
25349 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
;
25351 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25352 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25353 wxTextDataObject
*result
;
25354 bool temp1
= false ;
25355 PyObject
* obj0
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "text", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25363 arg1
= wxString_in_helper(obj0
);
25364 if (arg1
== NULL
) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25390 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
;
25392 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25394 PyObject
* obj0
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "self", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (size_t)(arg1
)->GetTextLength();
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25416 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
;
25418 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25420 PyObject
* obj0
= 0 ;
25421 char *kwnames
[] = {
25422 (char *) "self", NULL
25425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (arg1
)->GetText();
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25448 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25451 wxString
*arg2
= 0 ;
25452 bool temp2
= false ;
25453 PyObject
* obj0
= 0 ;
25454 PyObject
* obj1
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "self",(char *) "text", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25463 arg2
= wxString_in_helper(obj1
);
25464 if (arg2
== NULL
) SWIG_fail
;
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 (arg1
)->SetText((wxString
const &)*arg2
);
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 Py_INCREF(Py_None
); resultobj
= Py_None
;
25489 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25492 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25494 return Py_BuildValue((char *)"");
25496 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25499 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25500 wxPyTextDataObject
*result
;
25501 bool temp1
= false ;
25502 PyObject
* obj0
= 0 ;
25503 char *kwnames
[] = {
25504 (char *) "text", NULL
25507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25510 arg1
= wxString_in_helper(obj0
);
25511 if (arg1
== NULL
) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25537 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25538 PyObject
*resultobj
;
25539 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25540 PyObject
*arg2
= (PyObject
*) 0 ;
25541 PyObject
*arg3
= (PyObject
*) 0 ;
25542 PyObject
* obj0
= 0 ;
25543 PyObject
* obj1
= 0 ;
25544 PyObject
* obj2
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self",(char *) "self",(char *) "_class", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25558 wxPyEndAllowThreads(__tstate
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 Py_INCREF(Py_None
); resultobj
= Py_None
;
25568 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25571 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25573 return Py_BuildValue((char *)"");
25575 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25578 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25579 wxBitmapDataObject
*result
;
25580 PyObject
* obj0
= 0 ;
25581 char *kwnames
[] = {
25582 (char *) "bitmap", NULL
25585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25590 if (arg1
== NULL
) {
25591 PyErr_SetString(PyExc_TypeError
,"null reference");
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25609 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
;
25611 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25613 PyObject
* obj0
= 0 ;
25614 char *kwnames
[] = {
25615 (char *) "self", NULL
25618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25629 wxBitmap
* resultptr
;
25630 resultptr
= new wxBitmap((wxBitmap
&) result
);
25631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25639 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
;
25641 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25642 wxBitmap
*arg2
= 0 ;
25643 PyObject
* obj0
= 0 ;
25644 PyObject
* obj1
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "self",(char *) "bitmap", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25655 if (arg2
== NULL
) {
25656 PyErr_SetString(PyExc_TypeError
,"null reference");
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 Py_INCREF(Py_None
); resultobj
= Py_None
;
25673 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25676 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25678 return Py_BuildValue((char *)"");
25680 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
;
25682 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25683 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25684 wxPyBitmapDataObject
*result
;
25685 PyObject
* obj0
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "bitmap", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25695 if (arg1
== NULL
) {
25696 PyErr_SetString(PyExc_TypeError
,"null reference");
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25704 wxPyEndAllowThreads(__tstate
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25714 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25715 PyObject
*resultobj
;
25716 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25717 PyObject
*arg2
= (PyObject
*) 0 ;
25718 PyObject
*arg3
= (PyObject
*) 0 ;
25719 PyObject
* obj0
= 0 ;
25720 PyObject
* obj1
= 0 ;
25721 PyObject
* obj2
= 0 ;
25722 char *kwnames
[] = {
25723 (char *) "self",(char *) "self",(char *) "_class", NULL
25726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 Py_INCREF(Py_None
); resultobj
= Py_None
;
25745 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25748 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25750 return Py_BuildValue((char *)"");
25752 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxFileDataObject
*result
;
25755 char *kwnames
[] = {
25759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= (wxFileDataObject
*)new wxFileDataObject();
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25774 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25777 wxArrayString
*result
;
25778 PyObject
* obj0
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25790 result
= (wxArrayString
*) &_result_ref
;
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25797 resultobj
= wxArrayString2PyList_helper(*result
);
25805 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
;
25807 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25808 wxString
*arg2
= 0 ;
25809 bool temp2
= false ;
25810 PyObject
* obj0
= 0 ;
25811 PyObject
* obj1
= 0 ;
25812 char *kwnames
[] = {
25813 (char *) "self",(char *) "filename", NULL
25816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25820 arg2
= wxString_in_helper(obj1
);
25821 if (arg2
== NULL
) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 (arg1
)->AddFile((wxString
const &)*arg2
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 Py_INCREF(Py_None
); resultobj
= Py_None
;
25846 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25849 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25851 return Py_BuildValue((char *)"");
25853 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
;
25855 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25856 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25857 wxCustomDataObject
*result
;
25858 PyObject
* obj0
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "format", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25868 if (arg1
== NULL
) {
25869 PyErr_SetString(PyExc_TypeError
,"null reference");
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25887 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25888 PyObject
*resultobj
;
25889 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25890 PyObject
*arg2
= (PyObject
*) 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 char *kwnames
[] = {
25895 (char *) "self",(char *) "data", NULL
25898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25918 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25922 PyObject
* obj0
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "self", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 result
= (size_t)(arg1
)->GetSize();
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25944 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25946 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25948 PyObject
* obj0
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= result
;
25970 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25973 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25975 return Py_BuildValue((char *)"");
25977 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25978 PyObject
*resultobj
;
25979 wxURLDataObject
*result
;
25980 char *kwnames
[] = {
25984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 result
= (wxURLDataObject
*)new wxURLDataObject();
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25999 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26000 PyObject
*resultobj
;
26001 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26003 PyObject
* obj0
= 0 ;
26004 char *kwnames
[] = {
26005 (char *) "self", NULL
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
26009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 result
= (arg1
)->GetURL();
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26031 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
;
26033 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26034 wxString
*arg2
= 0 ;
26035 bool temp2
= false ;
26036 PyObject
* obj0
= 0 ;
26037 PyObject
* obj1
= 0 ;
26038 char *kwnames
[] = {
26039 (char *) "self",(char *) "url", NULL
26042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26046 arg2
= wxString_in_helper(obj1
);
26047 if (arg2
== NULL
) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 (arg1
)->SetURL((wxString
const &)*arg2
);
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 Py_INCREF(Py_None
); resultobj
= Py_None
;
26072 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26075 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26077 return Py_BuildValue((char *)"");
26079 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26080 PyObject
*resultobj
;
26081 wxMetafileDataObject
*result
;
26082 char *kwnames
[] = {
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26101 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26104 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26106 return Py_BuildValue((char *)"");
26108 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
;
26112 PyObject
* obj0
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "res", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26118 arg1
= (int)SWIG_As_int(obj0
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26136 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
;
26138 wxWindow
*arg1
= (wxWindow
*) 0 ;
26139 wxIcon
const &arg2_defvalue
= wxNullIcon
;
26140 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
26141 wxIcon
const &arg3_defvalue
= wxNullIcon
;
26142 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
26143 wxIcon
const &arg4_defvalue
= wxNullIcon
;
26144 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
26145 wxPyDropSource
*result
;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 PyObject
* obj2
= 0 ;
26149 PyObject
* obj3
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26161 if (arg2
== NULL
) {
26162 PyErr_SetString(PyExc_TypeError
,"null reference");
26167 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
26168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26170 if (arg3
== NULL
) {
26171 PyErr_SetString(PyExc_TypeError
,"null reference");
26176 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
26177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26179 if (arg4
== NULL
) {
26180 PyErr_SetString(PyExc_TypeError
,"null reference");
26185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26186 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26198 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26199 PyObject
*resultobj
;
26200 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26201 PyObject
*arg2
= (PyObject
*) 0 ;
26202 PyObject
*arg3
= (PyObject
*) 0 ;
26204 PyObject
* obj0
= 0 ;
26205 PyObject
* obj1
= 0 ;
26206 PyObject
* obj2
= 0 ;
26207 PyObject
* obj3
= 0 ;
26208 char *kwnames
[] = {
26209 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26217 arg4
= (int)SWIG_As_int(obj3
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26226 Py_INCREF(Py_None
); resultobj
= Py_None
;
26233 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
;
26235 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26236 PyObject
* obj0
= 0 ;
26237 char *kwnames
[] = {
26238 (char *) "self", NULL
26241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 Py_INCREF(Py_None
); resultobj
= Py_None
;
26258 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
;
26260 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26261 wxDataObject
*arg2
= 0 ;
26262 PyObject
* obj0
= 0 ;
26263 PyObject
* obj1
= 0 ;
26264 char *kwnames
[] = {
26265 (char *) "self",(char *) "data", NULL
26268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26274 if (arg2
== NULL
) {
26275 PyErr_SetString(PyExc_TypeError
,"null reference");
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 (arg1
)->SetData(*arg2
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 Py_INCREF(Py_None
); resultobj
= Py_None
;
26292 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26295 wxDataObject
*result
;
26296 PyObject
* obj0
= 0 ;
26297 char *kwnames
[] = {
26298 (char *) "self", NULL
26301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26318 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
;
26320 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26322 wxCursor
*arg3
= 0 ;
26323 PyObject
* obj0
= 0 ;
26324 PyObject
* obj1
= 0 ;
26325 PyObject
* obj2
= 0 ;
26326 char *kwnames
[] = {
26327 (char *) "self",(char *) "res",(char *) "cursor", NULL
26330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26333 arg2
= (int)SWIG_As_int(obj1
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26335 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26338 if (arg3
== NULL
) {
26339 PyErr_SetString(PyExc_TypeError
,"null reference");
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 Py_INCREF(Py_None
); resultobj
= Py_None
;
26356 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26359 int arg2
= (int) wxDrag_CopyOnly
;
26361 PyObject
* obj0
= 0 ;
26362 PyObject
* obj1
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "self",(char *) "flags", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26371 arg2
= (int)SWIG_As_int(obj1
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 result
= (int)(arg1
)->DoDragDrop(arg2
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_From_int((int)result
);
26388 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
;
26390 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26393 PyObject
* obj0
= 0 ;
26394 PyObject
* obj1
= 0 ;
26395 char *kwnames
[] = {
26396 (char *) "self",(char *) "effect", NULL
26399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26402 arg2
= (int)SWIG_As_int(obj1
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26420 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26423 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26425 return Py_BuildValue((char *)"");
26427 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
;
26429 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26430 wxPyDropTarget
*result
;
26431 PyObject
* obj0
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "dataObject", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26439 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26455 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26458 PyObject
*arg2
= (PyObject
*) 0 ;
26459 PyObject
*arg3
= (PyObject
*) 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 PyObject
* obj2
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self",(char *) "self",(char *) "_class", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 Py_INCREF(Py_None
); resultobj
= Py_None
;
26486 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
;
26488 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 Py_INCREF(Py_None
); resultobj
= Py_None
;
26511 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
;
26513 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26514 wxDataObject
*result
;
26515 PyObject
* obj0
= 0 ;
26516 char *kwnames
[] = {
26517 (char *) "self", NULL
26520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26525 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26537 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26540 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 PyObject
* obj1
= 0 ;
26543 char *kwnames
[] = {
26544 (char *) "self",(char *) "dataObject", NULL
26547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26551 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 (arg1
)->SetDataObject(arg2
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 Py_INCREF(Py_None
); resultobj
= Py_None
;
26566 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26567 PyObject
*resultobj
;
26568 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 PyObject
* obj2
= 0 ;
26576 PyObject
* obj3
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26584 arg2
= (int)SWIG_As_int(obj1
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26586 arg3
= (int)SWIG_As_int(obj2
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26588 arg4
= (int)SWIG_As_int(obj3
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 resultobj
= SWIG_From_int((int)result
);
26604 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26611 PyObject
* obj0
= 0 ;
26612 PyObject
* obj1
= 0 ;
26613 PyObject
* obj2
= 0 ;
26614 PyObject
* obj3
= 0 ;
26615 char *kwnames
[] = {
26616 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26622 arg2
= (int)SWIG_As_int(obj1
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26624 arg3
= (int)SWIG_As_int(obj2
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26626 arg4
= (int)SWIG_As_int(obj3
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26632 wxPyEndAllowThreads(__tstate
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26635 resultobj
= SWIG_From_int((int)result
);
26642 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26643 PyObject
*resultobj
;
26644 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26645 PyObject
* obj0
= 0 ;
26646 char *kwnames
[] = {
26647 (char *) "self", NULL
26650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 (arg1
)->base_OnLeave();
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 Py_INCREF(Py_None
); resultobj
= Py_None
;
26667 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
;
26669 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 PyObject
* obj2
= 0 ;
26676 char *kwnames
[] = {
26677 (char *) "self",(char *) "x",(char *) "y", NULL
26680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26683 arg2
= (int)SWIG_As_int(obj1
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26685 arg3
= (int)SWIG_As_int(obj2
);
26686 if (PyErr_Occurred()) SWIG_fail
;
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26703 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 char *kwnames
[] = {
26709 (char *) "self", NULL
26712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= (bool)(arg1
)->GetData();
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26731 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26734 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26736 return Py_BuildValue((char *)"");
26738 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxPyTextDropTarget
*result
;
26741 char *kwnames
[] = {
26745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26760 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
;
26762 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26763 PyObject
*arg2
= (PyObject
*) 0 ;
26764 PyObject
*arg3
= (PyObject
*) 0 ;
26765 PyObject
* obj0
= 0 ;
26766 PyObject
* obj1
= 0 ;
26767 PyObject
* obj2
= 0 ;
26768 char *kwnames
[] = {
26769 (char *) "self",(char *) "self",(char *) "_class", NULL
26772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 Py_INCREF(Py_None
); resultobj
= Py_None
;
26791 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
;
26793 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26798 PyObject
* obj0
= 0 ;
26799 PyObject
* obj1
= 0 ;
26800 PyObject
* obj2
= 0 ;
26801 PyObject
* obj3
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26809 arg2
= (int)SWIG_As_int(obj1
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26811 arg3
= (int)SWIG_As_int(obj2
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26813 arg4
= (int)SWIG_As_int(obj3
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 resultobj
= SWIG_From_int((int)result
);
26829 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
;
26831 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 PyObject
* obj2
= 0 ;
26839 PyObject
* obj3
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26847 arg2
= (int)SWIG_As_int(obj1
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26849 arg3
= (int)SWIG_As_int(obj2
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26851 arg4
= (int)SWIG_As_int(obj3
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26860 resultobj
= SWIG_From_int((int)result
);
26867 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26868 PyObject
*resultobj
;
26869 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26870 PyObject
* obj0
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 (arg1
)->base_OnLeave();
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26885 Py_INCREF(Py_None
); resultobj
= Py_None
;
26892 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 PyObject
* obj2
= 0 ;
26901 char *kwnames
[] = {
26902 (char *) "self",(char *) "x",(char *) "y", NULL
26905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26908 arg2
= (int)SWIG_As_int(obj1
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26910 arg3
= (int)SWIG_As_int(obj2
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26928 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
;
26930 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26935 PyObject
* obj0
= 0 ;
26936 PyObject
* obj1
= 0 ;
26937 PyObject
* obj2
= 0 ;
26938 PyObject
* obj3
= 0 ;
26939 char *kwnames
[] = {
26940 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26946 arg2
= (int)SWIG_As_int(obj1
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26948 arg3
= (int)SWIG_As_int(obj2
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26950 arg4
= (int)SWIG_As_int(obj3
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_From_int((int)result
);
26966 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26969 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26971 return Py_BuildValue((char *)"");
26973 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
;
26975 wxPyFileDropTarget
*result
;
26976 char *kwnames
[] = {
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26995 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26996 PyObject
*resultobj
;
26997 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26998 PyObject
*arg2
= (PyObject
*) 0 ;
26999 PyObject
*arg3
= (PyObject
*) 0 ;
27000 PyObject
* obj0
= 0 ;
27001 PyObject
* obj1
= 0 ;
27002 PyObject
* obj2
= 0 ;
27003 char *kwnames
[] = {
27004 (char *) "self",(char *) "self",(char *) "_class", NULL
27007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27016 wxPyEndAllowThreads(__tstate
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27019 Py_INCREF(Py_None
); resultobj
= Py_None
;
27026 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27027 PyObject
*resultobj
;
27028 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27033 PyObject
* obj0
= 0 ;
27034 PyObject
* obj1
= 0 ;
27035 PyObject
* obj2
= 0 ;
27036 PyObject
* obj3
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27044 arg2
= (int)SWIG_As_int(obj1
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27046 arg3
= (int)SWIG_As_int(obj2
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27048 arg4
= (int)SWIG_As_int(obj3
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27054 wxPyEndAllowThreads(__tstate
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= SWIG_From_int((int)result
);
27064 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
;
27066 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27071 PyObject
* obj0
= 0 ;
27072 PyObject
* obj1
= 0 ;
27073 PyObject
* obj2
= 0 ;
27074 PyObject
* obj3
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27082 arg2
= (int)SWIG_As_int(obj1
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27084 arg3
= (int)SWIG_As_int(obj2
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27086 arg4
= (int)SWIG_As_int(obj3
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= SWIG_From_int((int)result
);
27102 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27103 PyObject
*resultobj
;
27104 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27105 PyObject
* obj0
= 0 ;
27106 char *kwnames
[] = {
27107 (char *) "self", NULL
27110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27115 (arg1
)->base_OnLeave();
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 Py_INCREF(Py_None
); resultobj
= Py_None
;
27127 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
;
27129 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 PyObject
* obj2
= 0 ;
27136 char *kwnames
[] = {
27137 (char *) "self",(char *) "x",(char *) "y", NULL
27140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27143 arg2
= (int)SWIG_As_int(obj1
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27145 arg3
= (int)SWIG_As_int(obj2
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27163 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
;
27165 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27170 PyObject
* obj0
= 0 ;
27171 PyObject
* obj1
= 0 ;
27172 PyObject
* obj2
= 0 ;
27173 PyObject
* obj3
= 0 ;
27174 char *kwnames
[] = {
27175 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27181 arg2
= (int)SWIG_As_int(obj1
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27183 arg3
= (int)SWIG_As_int(obj2
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27185 arg4
= (int)SWIG_As_int(obj3
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27191 wxPyEndAllowThreads(__tstate
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= SWIG_From_int((int)result
);
27201 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27204 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27206 return Py_BuildValue((char *)"");
27208 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxClipboard
*result
;
27211 char *kwnames
[] = {
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (wxClipboard
*)new wxClipboard();
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27230 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27233 PyObject
* obj0
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 Py_INCREF(Py_None
); resultobj
= Py_None
;
27255 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27259 PyObject
* obj0
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 result
= (bool)(arg1
)->Open();
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27283 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 Py_INCREF(Py_None
); resultobj
= Py_None
;
27308 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27309 PyObject
*resultobj
;
27310 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27312 PyObject
* obj0
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self", NULL
27317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27336 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
;
27338 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27339 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27341 PyObject
* obj0
= 0 ;
27342 PyObject
* obj1
= 0 ;
27343 char *kwnames
[] = {
27344 (char *) "self",(char *) "data", NULL
27347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27351 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= (bool)(arg1
)->AddData(arg2
);
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27368 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27371 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27373 PyObject
* obj0
= 0 ;
27374 PyObject
* obj1
= 0 ;
27375 char *kwnames
[] = {
27376 (char *) "self",(char *) "data", NULL
27379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27383 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 result
= (bool)(arg1
)->SetData(arg2
);
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27400 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
;
27402 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27403 wxDataFormat
*arg2
= 0 ;
27405 PyObject
* obj0
= 0 ;
27406 PyObject
* obj1
= 0 ;
27407 char *kwnames
[] = {
27408 (char *) "self",(char *) "format", NULL
27411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27417 if (arg2
== NULL
) {
27418 PyErr_SetString(PyExc_TypeError
,"null reference");
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27425 wxPyEndAllowThreads(__tstate
);
27426 if (PyErr_Occurred()) SWIG_fail
;
27429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27437 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27440 wxDataObject
*arg2
= 0 ;
27442 PyObject
* obj0
= 0 ;
27443 PyObject
* obj1
= 0 ;
27444 char *kwnames
[] = {
27445 (char *) "self",(char *) "data", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27454 if (arg2
== NULL
) {
27455 PyErr_SetString(PyExc_TypeError
,"null reference");
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (bool)(arg1
)->GetData(*arg2
);
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27474 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27477 PyObject
* obj0
= 0 ;
27478 char *kwnames
[] = {
27479 (char *) "self", NULL
27482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 Py_INCREF(Py_None
); resultobj
= Py_None
;
27499 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27503 PyObject
* obj0
= 0 ;
27504 char *kwnames
[] = {
27505 (char *) "self", NULL
27508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27513 result
= (bool)(arg1
)->Flush();
27515 wxPyEndAllowThreads(__tstate
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27527 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
;
27529 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27530 bool arg2
= (bool) true ;
27531 PyObject
* obj0
= 0 ;
27532 PyObject
* obj1
= 0 ;
27533 char *kwnames
[] = {
27534 (char *) "self",(char *) "primary", NULL
27537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27541 arg2
= (bool)SWIG_As_bool(obj1
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 (arg1
)->UsePrimarySelection(arg2
);
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 Py_INCREF(Py_None
); resultobj
= Py_None
;
27558 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
;
27560 wxClipboard
*result
;
27561 char *kwnames
[] = {
27565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27568 result
= (wxClipboard
*)wxClipboard::Get();
27570 wxPyEndAllowThreads(__tstate
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27580 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27583 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27585 return Py_BuildValue((char *)"");
27587 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
;
27589 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27590 wxClipboardLocker
*result
;
27591 PyObject
* obj0
= 0 ;
27592 char *kwnames
[] = {
27593 (char *) "clipboard", NULL
27596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27615 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
;
27617 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27618 PyObject
* obj0
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27633 Py_INCREF(Py_None
); resultobj
= Py_None
;
27640 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27641 PyObject
*resultobj
;
27642 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27644 PyObject
* obj0
= 0 ;
27645 char *kwnames
[] = {
27646 (char *) "self", NULL
27649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27656 wxPyEndAllowThreads(__tstate
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27668 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27671 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27673 return Py_BuildValue((char *)"");
27675 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 int arg1
= (int) 0 ;
27678 int arg2
= (int) 0 ;
27679 int arg3
= (int) 0 ;
27680 int arg4
= (int) 0 ;
27681 wxVideoMode
*result
;
27682 PyObject
* obj0
= 0 ;
27683 PyObject
* obj1
= 0 ;
27684 PyObject
* obj2
= 0 ;
27685 PyObject
* obj3
= 0 ;
27686 char *kwnames
[] = {
27687 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27692 arg1
= (int)SWIG_As_int(obj0
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27696 arg2
= (int)SWIG_As_int(obj1
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27700 arg3
= (int)SWIG_As_int(obj2
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27704 arg4
= (int)SWIG_As_int(obj3
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27721 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27724 PyObject
* obj0
= 0 ;
27725 char *kwnames
[] = {
27726 (char *) "self", NULL
27729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27739 Py_INCREF(Py_None
); resultobj
= Py_None
;
27746 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27747 PyObject
*resultobj
;
27748 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27749 wxVideoMode
*arg2
= 0 ;
27751 PyObject
* obj0
= 0 ;
27752 PyObject
* obj1
= 0 ;
27753 char *kwnames
[] = {
27754 (char *) "self",(char *) "other", NULL
27757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27763 if (arg2
== NULL
) {
27764 PyErr_SetString(PyExc_TypeError
,"null reference");
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27771 wxPyEndAllowThreads(__tstate
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27783 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27787 PyObject
* obj0
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27797 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27799 wxPyEndAllowThreads(__tstate
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27802 resultobj
= SWIG_From_int((int)result
);
27809 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27813 PyObject
* obj0
= 0 ;
27814 char *kwnames
[] = {
27815 (char *) "self", NULL
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 resultobj
= SWIG_From_int((int)result
);
27835 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27836 PyObject
*resultobj
;
27837 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27839 PyObject
* obj0
= 0 ;
27840 char *kwnames
[] = {
27841 (char *) "self", NULL
27844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 resultobj
= SWIG_From_int((int)result
);
27861 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27865 PyObject
* obj0
= 0 ;
27866 char *kwnames
[] = {
27867 (char *) "self", NULL
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27889 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27890 PyObject
*resultobj
;
27891 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27892 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27894 PyObject
* obj0
= 0 ;
27895 PyObject
* obj1
= 0 ;
27896 char *kwnames
[] = {
27897 (char *) "self",(char *) "other", NULL
27900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27921 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
;
27923 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27924 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27926 PyObject
* obj0
= 0 ;
27927 PyObject
* obj1
= 0 ;
27928 char *kwnames
[] = {
27929 (char *) "self",(char *) "other", NULL
27932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27939 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27953 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27954 PyObject
*resultobj
;
27955 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27957 PyObject
* obj0
= 0 ;
27958 PyObject
* obj1
= 0 ;
27959 char *kwnames
[] = {
27960 (char *) "self",(char *) "w", NULL
27963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27966 arg2
= (int)SWIG_As_int(obj1
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27968 if (arg1
) (arg1
)->w
= arg2
;
27970 Py_INCREF(Py_None
); resultobj
= Py_None
;
27977 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27989 result
= (int) ((arg1
)->w
);
27991 resultobj
= SWIG_From_int((int)result
);
27998 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27999 PyObject
*resultobj
;
28000 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28002 PyObject
* obj0
= 0 ;
28003 PyObject
* obj1
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "self",(char *) "h", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28011 arg2
= (int)SWIG_As_int(obj1
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28013 if (arg1
) (arg1
)->h
= arg2
;
28015 Py_INCREF(Py_None
); resultobj
= Py_None
;
28022 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28023 PyObject
*resultobj
;
28024 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 char *kwnames
[] = {
28028 (char *) "self", NULL
28031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28034 result
= (int) ((arg1
)->h
);
28036 resultobj
= SWIG_From_int((int)result
);
28043 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
;
28045 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28047 PyObject
* obj0
= 0 ;
28048 PyObject
* obj1
= 0 ;
28049 char *kwnames
[] = {
28050 (char *) "self",(char *) "bpp", NULL
28053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28056 arg2
= (int)SWIG_As_int(obj1
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28058 if (arg1
) (arg1
)->bpp
= arg2
;
28060 Py_INCREF(Py_None
); resultobj
= Py_None
;
28067 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28068 PyObject
*resultobj
;
28069 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28071 PyObject
* obj0
= 0 ;
28072 char *kwnames
[] = {
28073 (char *) "self", NULL
28076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28079 result
= (int) ((arg1
)->bpp
);
28081 resultobj
= SWIG_From_int((int)result
);
28088 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
;
28090 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self",(char *) "refresh", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28101 arg2
= (int)SWIG_As_int(obj1
);
28102 if (PyErr_Occurred()) SWIG_fail
;
28103 if (arg1
) (arg1
)->refresh
= arg2
;
28105 Py_INCREF(Py_None
); resultobj
= Py_None
;
28112 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28113 PyObject
*resultobj
;
28114 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28116 PyObject
* obj0
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28124 result
= (int) ((arg1
)->refresh
);
28126 resultobj
= SWIG_From_int((int)result
);
28133 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28136 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28138 return Py_BuildValue((char *)"");
28140 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28141 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28146 static PyObject
*_wrap_DefaultVideoMode_get() {
28149 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28154 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
;
28156 size_t arg1
= (size_t) 0 ;
28158 PyObject
* obj0
= 0 ;
28159 char *kwnames
[] = {
28160 (char *) "index", NULL
28163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28165 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28170 result
= (wxDisplay
*)new wxDisplay(arg1
);
28172 wxPyEndAllowThreads(__tstate
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28182 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28183 PyObject
*resultobj
;
28184 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28185 PyObject
* obj0
= 0 ;
28186 char *kwnames
[] = {
28187 (char *) "self", NULL
28190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 Py_INCREF(Py_None
); resultobj
= Py_None
;
28207 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28210 char *kwnames
[] = {
28214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (size_t)wxDisplay::GetCount();
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28229 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
;
28231 wxPoint
*arg1
= 0 ;
28234 PyObject
* obj0
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "pt", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28242 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28251 resultobj
= SWIG_From_int((int)result
);
28258 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxWindow
*arg1
= (wxWindow
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "window", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (int)Display_GetFromWindow(arg1
);
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= SWIG_From_int((int)result
);
28284 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28288 PyObject
* obj0
= 0 ;
28289 char *kwnames
[] = {
28290 (char *) "self", NULL
28293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28312 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28313 PyObject
*resultobj
;
28314 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28316 PyObject
* obj0
= 0 ;
28317 char *kwnames
[] = {
28318 (char *) "self", NULL
28321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28332 wxRect
* resultptr
;
28333 resultptr
= new wxRect((wxRect
&) result
);
28334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28342 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28343 PyObject
*resultobj
;
28344 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28346 PyObject
* obj0
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 result
= ((wxDisplay
const *)arg1
)->GetName();
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28374 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28375 PyObject
*resultobj
;
28376 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28378 PyObject
* obj0
= 0 ;
28379 char *kwnames
[] = {
28380 (char *) "self", NULL
28383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28402 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
;
28404 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28405 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28406 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28408 PyObject
* obj0
= 0 ;
28409 PyObject
* obj1
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self",(char *) "mode", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28421 if (arg2
== NULL
) {
28422 PyErr_SetString(PyExc_TypeError
,"null reference");
28427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28428 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28430 wxPyEndAllowThreads(__tstate
);
28431 if (PyErr_Occurred()) SWIG_fail
;
28433 resultobj
= result
;
28440 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28441 PyObject
*resultobj
;
28442 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28443 wxVideoMode result
;
28444 PyObject
* obj0
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28460 wxVideoMode
* resultptr
;
28461 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28470 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28471 PyObject
*resultobj
;
28472 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28473 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28474 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28476 PyObject
* obj0
= 0 ;
28477 PyObject
* obj1
= 0 ;
28478 char *kwnames
[] = {
28479 (char *) "self",(char *) "mode", NULL
28482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28489 if (arg2
== NULL
) {
28490 PyErr_SetString(PyExc_TypeError
,"null reference");
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28510 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
;
28512 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28513 PyObject
* obj0
= 0 ;
28514 char *kwnames
[] = {
28515 (char *) "self", NULL
28518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 (arg1
)->ResetMode();
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28528 Py_INCREF(Py_None
); resultobj
= Py_None
;
28535 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28538 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28540 return Py_BuildValue((char *)"");
28542 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28543 PyObject
*resultobj
;
28544 wxStandardPaths
*result
;
28545 char *kwnames
[] = {
28549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28552 result
= (wxStandardPaths
*)StandardPaths_Get();
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
);