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_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxFileHistory swig_types[2]
212 #define SWIGTYPE_p_wxLog swig_types[3]
213 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
214 #define SWIGTYPE_p_wxMenu swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxConfigBase swig_types[7]
217 #define SWIGTYPE_p_wxDisplay swig_types[8]
218 #define SWIGTYPE_p_wxFileType swig_types[9]
219 #define SWIGTYPE_p_wxLogGui swig_types[10]
220 #define SWIGTYPE_p_wxFont swig_types[11]
221 #define SWIGTYPE_p_wxDataFormat swig_types[12]
222 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
223 #define SWIGTYPE_p_wxCaret swig_types[14]
224 #define SWIGTYPE_p_int swig_types[15]
225 #define SWIGTYPE_p_wxSize swig_types[16]
226 #define SWIGTYPE_p_wxClipboard swig_types[17]
227 #define SWIGTYPE_p_wxStopWatch swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
230 #define SWIGTYPE_p_wxIcon swig_types[21]
231 #define SWIGTYPE_p_wxLogStderr swig_types[22]
232 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
233 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
235 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
241 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
242 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
243 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
244 #define SWIGTYPE_p_wxSound swig_types[35]
245 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
246 #define SWIGTYPE_p_wxLogWindow swig_types[37]
247 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
248 #define SWIGTYPE_p_wxArrayString swig_types[39]
249 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
250 #define SWIGTYPE_p_wxToolTip swig_types[41]
251 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
252 #define SWIGTYPE_p_wxFileConfig swig_types[43]
253 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
254 #define SWIGTYPE_p_wxVideoMode swig_types[45]
255 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
256 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_char swig_types[50]
260 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
261 #define SWIGTYPE_p_wxFileTypeInfo swig_types[52]
262 #define SWIGTYPE_p_wxFrame swig_types[53]
263 #define SWIGTYPE_p_wxTimer swig_types[54]
264 #define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
265 #define SWIGTYPE_p_wxPyArtProvider swig_types[56]
266 #define SWIGTYPE_p_wxPyTipProvider swig_types[57]
267 #define SWIGTYPE_p_wxTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxJoystick swig_types[59]
269 #define SWIGTYPE_p_wxSystemOptions swig_types[60]
270 #define SWIGTYPE_p_wxPoint swig_types[61]
271 #define SWIGTYPE_p_wxJoystickEvent swig_types[62]
272 #define SWIGTYPE_p_wxCursor swig_types[63]
273 #define SWIGTYPE_p_wxObject swig_types[64]
274 #define SWIGTYPE_p_wxOutputStream swig_types[65]
275 #define SWIGTYPE_p_wxDateTime swig_types[66]
276 #define SWIGTYPE_p_wxPyDropSource swig_types[67]
277 #define SWIGTYPE_p_wxWindow swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyProcess swig_types[70]
280 #define SWIGTYPE_p_wxBitmap swig_types[71]
281 #define SWIGTYPE_p_wxConfig swig_types[72]
282 #define SWIGTYPE_p_wxChar swig_types[73]
283 #define SWIGTYPE_p_wxBusyInfo swig_types[74]
284 #define SWIGTYPE_p_wxPyDropTarget swig_types[75]
285 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxProcessEvent swig_types[78]
288 #define SWIGTYPE_p_wxPyLog swig_types[79]
289 #define SWIGTYPE_p_wxLogNull swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
292 #define SWIGTYPE_p_wxPyTimer swig_types[83]
293 #define SWIGTYPE_p_wxDateSpan swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _misc_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_misc_
304 #define SWIG_name "_misc_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351 #include "wx/wxPython/pyistream.h"
353 static const wxString
wxPyEmptyString(wxEmptyString
);
360 SWIGSTATICINLINE(long)
361 SWIG_CheckLongInRange(long value
, const char* type
,
362 long min_value
, long max_value
)
364 if (!PyErr_Occurred()) {
365 if (value
< min_value
) {
367 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
368 value
, type
, min_value
);
370 PyErr_SetObject(PyExc_OverflowError
, err
);
372 } else if (value
> max_value
) {
374 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
375 value
, type
, max_value
);
376 PyErr_SetObject(PyExc_OverflowError
, err
);
384 SWIGSTATICINLINE(long)
385 SWIG_AsLong(PyObject
* obj
)
387 if (PyNumber_Check(obj
))
388 return PyInt_AsLong(obj
);
390 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
391 obj
->ob_type
->tp_name
);
392 PyErr_SetObject(PyExc_TypeError
, errmsg
);
399 #if INT_MAX != LONG_MAX
400 SWIGSTATICINLINE(int)
401 SWIG_AsInt(PyObject
*obj
)
403 return swig_numeric_cast(int,
404 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
405 "int", INT_MIN
, INT_MAX
));
408 #define SWIG_AsInt SWIG_AsLong
412 SWIGSTATICINLINE(int)
413 SWIG_CheckInt(PyObject
* obj
)
416 if (PyErr_Occurred()) {
425 #include <wx/stockitem.h>
427 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
428 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
429 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
431 SWIGSTATICINLINE(int)
432 SWIG_CheckLong(PyObject
* obj
)
435 if (PyErr_Occurred()) {
444 SWIGSTATICINLINE(bool)
445 SWIG_AsBool(PyObject
*obj
)
447 return PyObject_IsTrue(obj
) ? true : false;
451 SWIGSTATICINLINE(int)
452 SWIG_CheckBool(PyObject
* obj
)
455 if (PyErr_Occurred()) {
464 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
470 } else if (target
== Py_None
) {
474 if (!PyTuple_Check(target
)) {
476 target
= PyTuple_New(1);
477 PyTuple_SetItem(target
, 0, o2
);
480 PyTuple_SetItem(o3
, 0, o
);
483 target
= PySequence_Concat(o2
, o3
);
491 long wxGetFreeMemory()
492 { wxPyRaiseNotImplemented(); return 0; }
495 SWIGSTATICINLINE(unsigned long)
496 SWIG_AsUnsignedLong(PyObject
* obj
)
498 if (PyLong_Check(obj
)) {
499 return PyLong_AsUnsignedLong(obj
);
501 long i
= SWIG_AsLong(obj
);
502 if ( !PyErr_Occurred() && (i
< 0)) {
503 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
510 SWIGSTATICINLINE(int)
511 SWIG_CheckUnsignedLong(PyObject
* obj
)
513 SWIG_AsUnsignedLong(obj
);
514 if (PyErr_Occurred()) {
523 SWIGSTATICINLINE(PyObject
* )
524 SWIG_FromUnsignedLong(unsigned long value
)
526 return (value
> LONG_MAX
) ?
527 PyLong_FromUnsignedLong(value
)
528 : PyInt_FromLong(swig_numeric_cast(long,value
));
532 void wxWakeUpMainThread() {}
535 bool wxThread_IsMain() {
536 #ifdef WXP_WITH_THREAD
537 return wxThread::IsMain();
544 int wxCaret_GetBlinkTime() {
545 return wxCaret::GetBlinkTime();
548 void wxCaret_SetBlinkTime(int milliseconds
) {
549 wxCaret::SetBlinkTime(milliseconds
);
553 #include <wx/snglinst.h>
557 #include <wx/msw/private.h>
558 #include <wx/dynload.h>
563 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
570 // This one only partially works. Appears to be an undocumented
571 // "standard" convention that not all widgets adhear to. For
572 // example, for some widgets backgrounds or non-client areas may
574 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
578 // This one works much better, except for on XP. On Win2k nearly
579 // all widgets and their children are captured correctly[**]. On
580 // XP with Themes activated most native widgets draw only
581 // partially, if at all. Without themes it works just like on
584 // ** For example the radio buttons in a wxRadioBox are not its
585 // children by default, but you can capture it via the panel
586 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
587 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
588 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
589 PRF_ERASEBKGND
| PRF_OWNED
);
593 // This one is only defined in the latest SDK and is only
594 // available on XP. MSDN says it is similar to sending WM_PRINT
595 // so I expect that it will work similar to the above. Since it
596 // is avaialble only on XP, it can't be compiled like this and
597 // will have to be loaded dynamically.
598 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
603 // Use PrintWindow if available, or fallback to WM_PRINT
604 // otherwise. Unfortunately using PrintWindow is even worse than
605 // WM_PRINT. For most native widgets nothing is drawn to the dc
606 // at all, with or without Themes.
607 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
608 static bool s_triedToLoad
= False
;
609 static PrintWindow_t pfnPrintWindow
= NULL
;
610 if ( !s_triedToLoad
)
613 s_triedToLoad
= True
;
614 wxDynamicLibrary
dllUser32(_T("user32.dll"));
615 if ( dllUser32
.IsLoaded() )
617 wxLogNull nolog
; // Don't report errors here
618 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
623 printf("Using PrintWindow\n");
624 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
628 printf("Using WM_PRINT\n");
629 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
630 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
638 #include <wx/tipdlg.h>
641 class wxPyTipProvider
: public wxTipProvider
{
643 wxPyTipProvider(size_t currentTip
)
644 : wxTipProvider(currentTip
) {}
646 DEC_PYCALLBACK_STRING__pure(GetTip
);
647 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
651 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
652 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
655 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
657 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
659 void wxPyTimer::Notify() {
661 bool blocked
= wxPyBeginBlockThreads();
662 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
663 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
664 wxPyEndBlockThreads(blocked
);
668 void wxPyTimer::base_Notify() {
674 SWIGSTATICINLINE(PyObject
*)
675 SWIG_FromCharPtr(const char* cptr
)
677 size_t size
= cptr
? strlen(cptr
) : 0;
679 if (size
> INT_MAX
) {
680 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
681 SWIG_TypeQuery("char *"), 0);
683 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
692 SWIGSTATICINLINE(unsigned long)
693 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
694 unsigned long max_value
)
696 if (!PyErr_Occurred()) {
697 if (value
> max_value
) {
699 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
700 value
, type
, max_value
);
701 PyErr_SetObject(PyExc_OverflowError
, err
);
709 #if UINT_MAX != ULONG_MAX
710 SWIGSTATICINLINE(unsigned int)
711 SWIG_AsUnsignedInt(PyObject
*obj
)
713 return swig_numeric_cast(unsigned int,
714 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
715 "unsigned int", UINT_MAX
));
718 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
722 SWIGSTATICINLINE(int)
723 SWIG_CheckUnsignedInt(PyObject
* obj
)
725 SWIG_AsUnsignedInt(obj
);
726 if (PyErr_Occurred()) {
734 wxString
Log_TimeStamp(){
736 wxLog::TimeStamp(&msg
);
739 void wxLog_Destroy(wxLog
*self
){ delete self
; }
741 // A wxLog class that can be derived from in wxPython
742 class wxPyLog
: public wxLog
{
744 wxPyLog() : wxLog() {}
746 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
748 bool blocked
= wxPyBeginBlockThreads();
749 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
750 PyObject
* s
= wx2PyString(szString
);
751 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
754 wxPyEndBlockThreads(blocked
);
756 wxLog::DoLog(level
, szString
, t
);
759 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
761 bool blocked
= wxPyBeginBlockThreads();
762 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
763 PyObject
* s
= wx2PyString(szString
);
764 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
767 wxPyEndBlockThreads(blocked
);
769 wxLog::DoLogString(szString
, t
);
778 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
781 #include <wx/joystick.h>
784 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
785 // A C++ stub class for wxJoystick for platforms that don't have it.
786 class wxJoystick
: public wxObject
{
788 wxJoystick(int joystick
= wxJOYSTICK1
) {
789 bool blocked
= wxPyBeginBlockThreads();
790 PyErr_SetString(PyExc_NotImplementedError
,
791 "wxJoystick is not available on this platform.");
792 wxPyEndBlockThreads(blocked
);
794 wxPoint
GetPosition() { return wxPoint(-1,-1); }
795 int GetZPosition() { return -1; }
796 int GetButtonState() { return -1; }
797 int GetPOVPosition() { return -1; }
798 int GetPOVCTSPosition() { return -1; }
799 int GetRudderPosition() { return -1; }
800 int GetUPosition() { return -1; }
801 int GetVPosition() { return -1; }
802 int GetMovementThreshold() { return -1; }
803 void SetMovementThreshold(int threshold
) {}
805 bool IsOk(void) { return False
; }
806 int GetNumberJoysticks() { return -1; }
807 int GetManufacturerId() { return -1; }
808 int GetProductId() { return -1; }
809 wxString
GetProductName() { return wxEmptyString
; }
810 int GetXMin() { return -1; }
811 int GetYMin() { return -1; }
812 int GetZMin() { return -1; }
813 int GetXMax() { return -1; }
814 int GetYMax() { return -1; }
815 int GetZMax() { return -1; }
816 int GetNumberButtons() { return -1; }
817 int GetNumberAxes() { return -1; }
818 int GetMaxButtons() { return -1; }
819 int GetMaxAxes() { return -1; }
820 int GetPollingMin() { return -1; }
821 int GetPollingMax() { return -1; }
822 int GetRudderMin() { return -1; }
823 int GetRudderMax() { return -1; }
824 int GetUMin() { return -1; }
825 int GetUMax() { return -1; }
826 int GetVMin() { return -1; }
827 int GetVMax() { return -1; }
829 bool HasRudder() { return False
; }
830 bool HasZ() { return False
; }
831 bool HasU() { return False
; }
832 bool HasV() { return False
; }
833 bool HasPOV() { return False
; }
834 bool HasPOV4Dir() { return False
; }
835 bool HasPOVCTS() { return False
; }
837 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
838 bool ReleaseCapture() { return False
; }
843 #include <wx/sound.h>
847 // A C++ stub class for wxWave for platforms that don't have it.
848 class wxSound
: public wxObject
852 bool blocked
= wxPyBeginBlockThreads();
853 PyErr_SetString(PyExc_NotImplementedError
,
854 "wxSound is not available on this platform.");
855 wxPyEndBlockThreads(blocked
);
857 wxSound(const wxString
&/*, bool*/) {
858 bool blocked
= wxPyBeginBlockThreads();
859 PyErr_SetString(PyExc_NotImplementedError
,
860 "wxSound is not available on this platform.");
861 wxPyEndBlockThreads(blocked
);
863 wxSound(int, const wxByte
*) {
864 bool blocked
= wxPyBeginBlockThreads();
865 PyErr_SetString(PyExc_NotImplementedError
,
866 "wxSound is not available on this platform.");
867 wxPyEndBlockThreads(blocked
);
872 bool Create(const wxString
&/*, bool*/) { return false; }
873 bool Create(int, const wxByte
*) { return false; };
874 bool IsOk() { return false; };
875 bool Play(unsigned) const { return false; }
876 static bool Play(const wxString
&, unsigned) { return false; }
877 static void Stop() {}
882 wxSound
*new_wxSound(wxString
const &fileName
){
883 if (fileName
.Length() == 0)
886 return new wxSound(fileName
);
888 wxSound
*new_wxSound(PyObject
*data
){
889 unsigned char* buffer
; int size
;
890 wxSound
*sound
= NULL
;
892 bool blocked
= wxPyBeginBlockThreads();
893 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
895 sound
= new wxSound(size
, buffer
);
897 wxPyEndBlockThreads(blocked
);
900 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
902 unsigned char* buffer
;
906 bool blocked
= wxPyBeginBlockThreads();
907 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
909 rv
= self
->Create(size
, buffer
);
911 wxPyEndBlockThreads(blocked
);
914 bool blocked
= wxPyBeginBlockThreads();
915 PyErr_SetString(PyExc_NotImplementedError
,
916 "Create from data is not available on this platform.");
917 wxPyEndBlockThreads(blocked
);
922 #include <wx/mimetype.h>
924 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
926 if (self
->GetMimeType(&str
))
927 return wx2PyString(str
);
931 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
933 if (self
->GetMimeTypes(arr
))
934 return wxArrayString2PyList_helper(arr
);
938 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
940 if (self
->GetExtensions(arr
))
941 return wxArrayString2PyList_helper(arr
);
945 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
947 if (self
->GetIcon(&loc
))
948 return new wxIcon(loc
);
952 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
954 if (self
->GetIcon(&loc
)) {
955 wxString iconFile
= loc
.GetFileName();
960 // Make a tuple and put the values in it
961 bool blocked
= wxPyBeginBlockThreads();
962 PyObject
* tuple
= PyTuple_New(3);
963 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
964 wxT("wxIcon"), True
));
965 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
966 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
967 wxPyEndBlockThreads(blocked
);
973 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
975 if (self
->GetDescription(&str
))
976 return wx2PyString(str
);
980 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
982 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
983 return wx2PyString(str
);
987 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
989 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
990 return wx2PyString(str
);
994 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
996 wxArrayString commands
;
997 if (self
->GetAllCommands(&verbs
, &commands
,
998 wxFileType::MessageParameters(filename
, mimetype
))) {
999 bool blocked
= wxPyBeginBlockThreads();
1000 PyObject
* tuple
= PyTuple_New(2);
1001 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1002 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1003 wxPyEndBlockThreads(blocked
);
1009 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1010 return wxFileType::ExpandCommand(command
,
1011 wxFileType::MessageParameters(filename
, mimetype
));
1013 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1015 self
->EnumAllFileTypes(arr
);
1016 return wxArrayString2PyList_helper(arr
);
1019 #include <wx/artprov.h>
1021 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1022 static const wxString
wxPyART_MENU(wxART_MENU
);
1023 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1024 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1025 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1026 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1027 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1028 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1029 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1030 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1031 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1032 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1033 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1034 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1035 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1036 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1037 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1038 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1039 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1040 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1041 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1042 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1043 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1044 static const wxString
wxPyART_HELP(wxART_HELP
);
1045 static const wxString
wxPyART_TIP(wxART_TIP
);
1046 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1047 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1048 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1049 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1050 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1051 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1052 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1053 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1054 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1055 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1056 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1057 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1058 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1059 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1060 // Python aware wxArtProvider
1061 class wxPyArtProvider
: public wxArtProvider
{
1064 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1065 const wxArtClient
& client
,
1066 const wxSize
& size
) {
1067 wxBitmap rval
= wxNullBitmap
;
1068 bool blocked
= wxPyBeginBlockThreads();
1069 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1070 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1074 s1
= wx2PyString(id
);
1075 s2
= wx2PyString(client
);
1076 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1081 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1086 wxPyEndBlockThreads(blocked
);
1093 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1097 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1098 PyObject
* ret
= PyTuple_New(3);
1100 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1101 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1102 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1107 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1112 cont
= self
->GetFirstGroup(value
, index
);
1113 return __EnumerationHelper(cont
, value
, index
);
1115 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1119 cont
= self
->GetNextGroup(value
, index
);
1120 return __EnumerationHelper(cont
, value
, index
);
1122 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1127 cont
= self
->GetFirstEntry(value
, index
);
1128 return __EnumerationHelper(cont
, value
, index
);
1130 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1134 cont
= self
->GetNextEntry(value
, index
);
1135 return __EnumerationHelper(cont
, value
, index
);
1137 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1139 self
->Read(key
, &rv
, defaultVal
);
1143 SWIGSTATICINLINE(double)
1144 SWIG_AsDouble(PyObject
*obj
)
1146 if (PyNumber_Check(obj
))
1147 return PyFloat_AsDouble(obj
);
1149 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1150 obj
->ob_type
->tp_name
);
1151 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1158 SWIGSTATICINLINE(int)
1159 SWIG_CheckDouble(PyObject
* obj
)
1162 if (PyErr_Occurred()) {
1170 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1172 self
->Read(key
, &rv
, defaultVal
);
1175 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1177 self
->Read(key
, &rv
, defaultVal
);
1181 #include <wx/datetime.h>
1184 static const wxString
wxPyDateFormatStr(wxT("%c"));
1185 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1187 #define LOCAL_TZ wxDateTime::Local
1190 #if UINT_MAX < LONG_MAX
1191 #define SWIG_FromUnsignedInt SWIG_FromLong
1193 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1196 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1197 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1198 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1199 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1200 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1201 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1202 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1203 return (*self
< *other
);
1205 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1206 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1207 return (*self
<= *other
);
1209 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1210 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1211 return (*self
> *other
);
1213 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1214 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1215 return (*self
>= *other
);
1217 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1218 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1219 return (*self
== *other
);
1221 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1222 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1223 return (*self
!= *other
);
1225 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1227 const wxChar
* _date
= date
;
1228 rv
= self
->ParseRfc822Date(_date
);
1229 if (rv
== NULL
) return -1;
1232 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1234 const wxChar
* _date
= date
;
1235 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1236 if (rv
== NULL
) return -1;
1239 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1241 const wxChar
* _datetime
= datetime
;
1242 rv
= self
->ParseDateTime(_datetime
);
1243 if (rv
== NULL
) return -1;
1244 return rv
- _datetime
;
1246 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1248 const wxChar
* _date
= date
;
1249 rv
= self
->ParseDate(_date
);
1250 if (rv
== NULL
) return -1;
1253 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1255 const wxChar
* _time
= time
;
1256 rv
= self
->ParseTime(_time
);
1257 if (rv
== NULL
) return -1;
1260 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1261 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1262 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1263 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1264 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1265 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1266 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1267 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1268 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1269 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1270 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1271 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1272 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1273 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1274 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1275 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1277 #include <wx/dataobj.h>
1279 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1280 size_t count
= self
->GetFormatCount(dir
);
1281 wxDataFormat
* formats
= new wxDataFormat
[count
];
1282 self
->GetAllFormats(formats
, dir
);
1284 bool blocked
= wxPyBeginBlockThreads();
1285 PyObject
* list
= PyList_New(count
);
1286 for (size_t i
=0; i
<count
; i
++) {
1287 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1288 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1289 PyList_Append(list
, obj
);
1292 wxPyEndBlockThreads(blocked
);
1296 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1297 PyObject
* rval
= NULL
;
1298 size_t size
= self
->GetDataSize(format
);
1299 bool blocked
= wxPyBeginBlockThreads();
1301 char* buf
= new char[size
];
1302 if (self
->GetDataHere(format
, buf
))
1303 rval
= PyString_FromStringAndSize(buf
, size
);
1310 wxPyEndBlockThreads(blocked
);
1313 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1315 bool blocked
= wxPyBeginBlockThreads();
1316 if (PyString_Check(data
)) {
1317 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1320 // raise a TypeError if not a string
1321 PyErr_SetString(PyExc_TypeError
, "String expected.");
1324 wxPyEndBlockThreads(blocked
);
1327 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1328 PyObject
* rval
= NULL
;
1329 size_t size
= self
->GetDataSize();
1330 bool blocked
= wxPyBeginBlockThreads();
1332 char* buf
= new char[size
];
1333 if (self
->GetDataHere(buf
))
1334 rval
= PyString_FromStringAndSize(buf
, size
);
1341 wxPyEndBlockThreads(blocked
);
1344 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1346 bool blocked
= wxPyBeginBlockThreads();
1347 if (PyString_Check(data
)) {
1348 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1351 // raise a TypeError if not a string
1352 PyErr_SetString(PyExc_TypeError
, "String expected.");
1355 wxPyEndBlockThreads(blocked
);
1358 // Create a new class for wxPython to use
1359 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1361 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1362 : wxDataObjectSimple(format
) {}
1364 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1365 bool GetDataHere(void *buf
) const;
1366 bool SetData(size_t len
, const void *buf
) const;
1370 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1372 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1373 // We need to get the data for this object and write it to buf. I think
1374 // the best way to do this for wxPython is to have the Python method
1375 // return either a string or None and then act appropriately with the
1379 bool blocked
= wxPyBeginBlockThreads();
1380 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1382 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1384 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1386 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1390 wxPyEndBlockThreads(blocked
);
1394 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1395 // For this one we simply need to make a string from buf and len
1396 // and send it to the Python method.
1398 bool blocked
= wxPyBeginBlockThreads();
1399 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1400 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1401 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1404 wxPyEndBlockThreads(blocked
);
1408 // Create a new class for wxPython to use
1409 class wxPyTextDataObject
: public wxTextDataObject
{
1411 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1412 : wxTextDataObject(text
) {}
1414 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1415 DEC_PYCALLBACK_STRING__const(GetText
);
1416 DEC_PYCALLBACK__STRING(SetText
);
1420 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1421 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1422 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1425 // Create a new class for wxPython to use
1426 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1428 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1429 : wxBitmapDataObject(bitmap
) {}
1431 wxBitmap
GetBitmap() const;
1432 void SetBitmap(const wxBitmap
& bitmap
);
1436 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1437 wxBitmap
* rval
= &wxNullBitmap
;
1438 bool blocked
= wxPyBeginBlockThreads();
1439 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1442 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1444 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1449 wxPyEndBlockThreads(blocked
);
1453 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1454 bool blocked
= wxPyBeginBlockThreads();
1455 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1456 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1457 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1460 wxPyEndBlockThreads(blocked
);
1463 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1465 bool blocked
= wxPyBeginBlockThreads();
1466 if (PyString_Check(data
)) {
1467 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1470 // raise a TypeError if not a string
1471 PyErr_SetString(PyExc_TypeError
, "String expected.");
1474 wxPyEndBlockThreads(blocked
);
1477 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1479 bool blocked
= wxPyBeginBlockThreads();
1480 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1481 wxPyEndBlockThreads(blocked
);
1485 class wxMetafileDataObject
: public wxDataObjectSimple
1488 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1492 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1495 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1496 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1497 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1498 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1499 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1502 class wxPyTextDropTarget
: public wxTextDropTarget
{
1504 wxPyTextDropTarget() {}
1506 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1508 DEC_PYCALLBACK__(OnLeave
);
1509 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1510 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1511 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1512 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1517 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1518 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1519 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1520 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1521 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1522 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1526 class wxPyFileDropTarget
: public wxFileDropTarget
{
1528 wxPyFileDropTarget() {}
1530 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1532 DEC_PYCALLBACK__(OnLeave
);
1533 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1534 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1535 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1536 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1541 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1542 const wxArrayString
& filenames
) {
1544 bool blocked
= wxPyBeginBlockThreads();
1545 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1546 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1547 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1550 wxPyEndBlockThreads(blocked
);
1556 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1557 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1558 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1559 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1560 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1565 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1567 #include <wx/display.h>
1569 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1570 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1572 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1574 #include <wx/dynarray.h>
1575 #include <wx/vidmode.h>
1577 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1578 #include "wx/arrimpl.cpp"
1579 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1580 const wxVideoMode wxDefaultVideoMode
;
1585 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1588 static size_t GetCount()
1589 { wxPyRaiseNotImplemented(); return 0; }
1591 static int GetFromPoint(const wxPoint
& pt
)
1592 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1593 static int GetFromWindow(wxWindow
*window
)
1594 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1596 virtual bool IsOk() const { return false; }
1597 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1598 virtual wxString
GetName() const { return wxEmptyString
; }
1599 bool IsPrimary() const { return false; }
1601 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1602 { wxArrayVideoModes a
; return a
; }
1604 virtual wxVideoMode
GetCurrentMode() const
1605 { return wxDefaultVideoMode
; }
1607 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1614 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1615 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1616 PyObject
* pyList
= NULL
;
1617 wxArrayVideoModes arr
= self
->GetModes(mode
);
1618 bool blocked
= wxPyBeginBlockThreads();
1619 pyList
= PyList_New(0);
1620 for (int i
=0; i
< arr
.GetCount(); i
++) {
1621 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1622 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1623 PyList_Append(pyList
, pyObj
);
1626 wxPyEndBlockThreads(blocked
);
1632 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1636 PyObject
* obj0
= 0 ;
1638 (char *) "index", NULL
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1642 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1645 if (!wxPyCheckForApp()) SWIG_fail
;
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1653 wxColour
* resultptr
;
1654 resultptr
= new wxColour((wxColour
&) result
);
1655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1663 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
*resultobj
;
1667 PyObject
* obj0
= 0 ;
1669 (char *) "index", NULL
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1673 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1676 if (!wxPyCheckForApp()) SWIG_fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1685 resultptr
= new wxFont((wxFont
&) result
);
1686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1694 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
*resultobj
;
1698 PyObject
* obj0
= 0 ;
1700 (char *) "index", NULL
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1704 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 if (!wxPyCheckForApp()) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1714 resultobj
= SWIG_FromInt((int)result
);
1721 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
*resultobj
;
1725 PyObject
* obj0
= 0 ;
1727 (char *) "index", NULL
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1731 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1734 if (!wxPyCheckForApp()) SWIG_fail
;
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1736 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1750 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1759 if (!wxPyCheckForApp()) SWIG_fail
;
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 result
= (int)wxSystemSettings::GetScreenType();
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) SWIG_fail
;
1766 resultobj
= SWIG_FromInt((int)result
);
1773 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
*resultobj
;
1776 PyObject
* obj0
= 0 ;
1778 (char *) "screen", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1782 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 if (!wxPyCheckForApp()) SWIG_fail
;
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) SWIG_fail
;
1792 Py_INCREF(Py_None
); resultobj
= Py_None
;
1799 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1802 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1804 return Py_BuildValue((char *)"");
1806 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
*resultobj
;
1808 wxSystemOptions
*result
;
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 result
= (wxSystemOptions
*)new wxSystemOptions();
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1828 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
*resultobj
;
1830 wxString
*arg1
= 0 ;
1831 wxString
*arg2
= 0 ;
1832 bool temp1
= False
;
1833 bool temp2
= False
;
1834 PyObject
* obj0
= 0 ;
1835 PyObject
* obj1
= 0 ;
1837 (char *) "name",(char *) "value", NULL
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1842 arg1
= wxString_in_helper(obj0
);
1843 if (arg1
== NULL
) SWIG_fail
;
1847 arg2
= wxString_in_helper(obj1
);
1848 if (arg2
== NULL
) SWIG_fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1881 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxString
*arg1
= 0 ;
1885 bool temp1
= False
;
1886 PyObject
* obj0
= 0 ;
1887 PyObject
* obj1
= 0 ;
1889 (char *) "name",(char *) "value", NULL
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1894 arg1
= wxString_in_helper(obj0
);
1895 if (arg1
== NULL
) SWIG_fail
;
1898 arg2
= (int) SWIG_AsInt(obj1
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1907 Py_INCREF(Py_None
); resultobj
= Py_None
;
1922 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxString
*arg1
= 0 ;
1926 bool temp1
= False
;
1927 PyObject
* obj0
= 0 ;
1929 (char *) "name", NULL
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1934 arg1
= wxString_in_helper(obj0
);
1935 if (arg1
== NULL
) SWIG_fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1966 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxString
*arg1
= 0 ;
1970 bool temp1
= False
;
1971 PyObject
* obj0
= 0 ;
1973 (char *) "name", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1978 arg1
= wxString_in_helper(obj0
);
1979 if (arg1
== NULL
) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 resultobj
= SWIG_FromInt((int)result
);
2004 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
*resultobj
;
2006 wxString
*arg1
= 0 ;
2008 bool temp1
= False
;
2009 PyObject
* obj0
= 0 ;
2011 (char *) "name", NULL
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2016 arg1
= wxString_in_helper(obj0
);
2017 if (arg1
== NULL
) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2044 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
2046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2047 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2049 return Py_BuildValue((char *)"");
2051 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2052 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2057 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2062 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2064 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2071 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2072 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2077 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2082 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2084 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2091 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2092 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2097 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2102 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2104 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2111 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 result
= (long)wxNewId();
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 resultobj
= SWIG_FromLong((long)result
);
2133 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
*resultobj
;
2136 PyObject
* obj0
= 0 ;
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2142 arg1
= (long) SWIG_AsLong(obj0
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2151 Py_INCREF(Py_None
); resultobj
= Py_None
;
2158 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 result
= (long)wxGetCurrentId();
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) SWIG_fail
;
2173 resultobj
= SWIG_FromLong((long)result
);
2180 static PyObject
*_wrap_IsStockID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
*resultobj
;
2184 PyObject
* obj0
= 0 ;
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2190 arg1
= (int) SWIG_AsInt(obj0
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2194 result
= (bool)wxIsStockID(arg1
);
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2208 static PyObject
*_wrap_IsStockLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
*resultobj
;
2211 wxString
*arg2
= 0 ;
2213 bool temp2
= False
;
2214 PyObject
* obj0
= 0 ;
2215 PyObject
* obj1
= 0 ;
2217 (char *) "id",(char *) "label", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2221 arg1
= (int) SWIG_AsInt(obj0
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2224 arg2
= wxString_in_helper(obj1
);
2225 if (arg2
== NULL
) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2252 static PyObject
*_wrap_GetStockLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2256 PyObject
* obj0
= 0 ;
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2262 arg1
= (int) SWIG_AsInt(obj0
);
2263 if (PyErr_Occurred()) SWIG_fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 result
= wxGetStockLabel(arg1
);
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2284 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2292 if (!wxPyCheckForApp()) SWIG_fail
;
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2299 Py_INCREF(Py_None
); resultobj
= Py_None
;
2306 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
*resultobj
;
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2314 if (!wxPyCheckForApp()) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 Py_INCREF(Py_None
); resultobj
= Py_None
;
2328 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
*resultobj
;
2330 bool arg1
= (bool) True
;
2332 PyObject
* obj0
= 0 ;
2334 (char *) "resetTimer", NULL
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2339 arg1
= (bool) SWIG_AsBool(obj0
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 result
= (long)wxGetElapsedTime(arg1
);
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2349 resultobj
= SWIG_FromLong((long)result
);
2356 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
*resultobj
;
2358 int *arg1
= (int *) 0 ;
2359 int *arg2
= (int *) 0 ;
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2370 if (!wxPyCheckForApp()) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 wxGetMousePosition(arg1
,arg2
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2377 Py_INCREF(Py_None
); resultobj
= Py_None
;
2379 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2380 resultobj
= t_output_helper(resultobj
,o
);
2383 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2384 resultobj
= t_output_helper(resultobj
,o
);
2392 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 result
= (bool)wxIsBusy();
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2416 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2444 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2447 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2449 bool temp1
= False
;
2450 PyObject
* obj0
= 0 ;
2452 (char *) "command", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2458 arg1
= wxString_in_helper(obj0
);
2459 if (arg1
== NULL
) SWIG_fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 result
= (bool)wxShell((wxString
const &)*arg1
);
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2487 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2501 Py_INCREF(Py_None
); resultobj
= Py_None
;
2508 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
*resultobj
;
2510 int *arg1
= (int *) 0 ;
2511 int *arg2
= (int *) 0 ;
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 result
= (int)wxGetOsVersion(arg1
,arg2
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 resultobj
= SWIG_FromInt((int)result
);
2531 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2532 resultobj
= t_output_helper(resultobj
,o
);
2535 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2536 resultobj
= t_output_helper(resultobj
,o
);
2544 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 result
= wxGetOsDescription();
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2572 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
*resultobj
;
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= (long)wxGetFreeMemory();
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= SWIG_FromLong((long)result
);
2594 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2598 PyObject
* obj0
= 0 ;
2600 (char *) "wFlags", NULL
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2604 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 if (!wxPyCheckForApp()) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2623 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2626 PyObject
* obj0
= 0 ;
2628 (char *) "secs", NULL
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2632 arg1
= (int) SWIG_AsInt(obj0
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) SWIG_fail
;
2641 Py_INCREF(Py_None
); resultobj
= Py_None
;
2648 static PyObject
*_wrap_MilliSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2650 unsigned long arg1
;
2651 PyObject
* obj0
= 0 ;
2653 (char *) "milliseconds", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2657 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 Py_INCREF(Py_None
); resultobj
= Py_None
;
2673 static PyObject
*_wrap_MicroSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2675 unsigned long arg1
;
2676 PyObject
* obj0
= 0 ;
2678 (char *) "microseconds", NULL
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2682 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 Py_INCREF(Py_None
); resultobj
= Py_None
;
2698 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2701 PyObject
* obj0
= 0 ;
2703 (char *) "enable", NULL
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2707 arg1
= (bool) SWIG_AsBool(obj0
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 wxEnableTopLevelWindows(arg1
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 Py_INCREF(Py_None
); resultobj
= Py_None
;
2723 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
*resultobj
;
2725 wxString
*arg1
= 0 ;
2727 bool temp1
= False
;
2728 PyObject
* obj0
= 0 ;
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2735 arg1
= wxString_in_helper(obj0
);
2736 if (arg1
== NULL
) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2767 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 result
= wxGetEmailAddress();
2779 wxPyEndAllowThreads(__tstate
);
2780 if (PyErr_Occurred()) SWIG_fail
;
2784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2795 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2805 result
= wxGetHostName();
2807 wxPyEndAllowThreads(__tstate
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2823 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
*resultobj
;
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 result
= wxGetFullHostName();
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2851 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 result
= wxGetUserId();
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2879 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2889 result
= wxGetUserName();
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2907 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 result
= wxGetHomeDir();
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2935 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
;
2937 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2938 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2940 bool temp1
= False
;
2941 PyObject
* obj0
= 0 ;
2943 (char *) "user", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2949 arg1
= wxString_in_helper(obj0
);
2950 if (arg1
== NULL
) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= wxGetUserHome((wxString
const &)*arg1
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2982 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
*resultobj
;
2984 unsigned long result
;
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= (unsigned long)wxGetProcessId();
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
3004 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3018 Py_INCREF(Py_None
); resultobj
= Py_None
;
3025 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3028 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3029 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3030 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3031 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3032 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3033 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3034 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3035 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3036 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3037 int arg6
= (int) 0 ;
3038 wxWindow
*arg7
= (wxWindow
*) NULL
;
3039 int arg8
= (int) -1 ;
3040 int arg9
= (int) -1 ;
3042 bool temp1
= False
;
3043 bool temp2
= False
;
3044 bool temp3
= False
;
3045 bool temp4
= False
;
3046 bool temp5
= False
;
3047 PyObject
* obj0
= 0 ;
3048 PyObject
* obj1
= 0 ;
3049 PyObject
* obj2
= 0 ;
3050 PyObject
* obj3
= 0 ;
3051 PyObject
* obj4
= 0 ;
3052 PyObject
* obj5
= 0 ;
3053 PyObject
* obj6
= 0 ;
3054 PyObject
* obj7
= 0 ;
3055 PyObject
* obj8
= 0 ;
3057 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3063 arg1
= wxString_in_helper(obj0
);
3064 if (arg1
== NULL
) SWIG_fail
;
3070 arg2
= wxString_in_helper(obj1
);
3071 if (arg2
== NULL
) SWIG_fail
;
3077 arg3
= wxString_in_helper(obj2
);
3078 if (arg3
== NULL
) SWIG_fail
;
3084 arg4
= wxString_in_helper(obj3
);
3085 if (arg4
== NULL
) SWIG_fail
;
3091 arg5
= wxString_in_helper(obj4
);
3092 if (arg5
== NULL
) SWIG_fail
;
3097 arg6
= (int) SWIG_AsInt(obj5
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3101 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 arg8
= (int) SWIG_AsInt(obj7
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3109 arg9
= (int) SWIG_AsInt(obj8
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3113 if (!wxPyCheckForApp()) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3173 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
*resultobj
;
3175 wxString
*arg1
= 0 ;
3176 wxString
*arg2
= 0 ;
3177 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3178 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3179 wxWindow
*arg4
= (wxWindow
*) NULL
;
3181 bool temp1
= False
;
3182 bool temp2
= False
;
3183 bool temp3
= False
;
3184 PyObject
* obj0
= 0 ;
3185 PyObject
* obj1
= 0 ;
3186 PyObject
* obj2
= 0 ;
3187 PyObject
* obj3
= 0 ;
3189 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3194 arg1
= wxString_in_helper(obj0
);
3195 if (arg1
== NULL
) SWIG_fail
;
3199 arg2
= wxString_in_helper(obj1
);
3200 if (arg2
== NULL
) SWIG_fail
;
3205 arg3
= wxString_in_helper(obj2
);
3206 if (arg3
== NULL
) SWIG_fail
;
3211 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3215 if (!wxPyCheckForApp()) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3259 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxString
*arg1
= 0 ;
3262 wxString
*arg2
= 0 ;
3263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3265 wxWindow
*arg4
= (wxWindow
*) NULL
;
3267 bool temp1
= False
;
3268 bool temp2
= False
;
3269 bool temp3
= False
;
3270 PyObject
* obj0
= 0 ;
3271 PyObject
* obj1
= 0 ;
3272 PyObject
* obj2
= 0 ;
3273 PyObject
* obj3
= 0 ;
3275 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3280 arg1
= wxString_in_helper(obj0
);
3281 if (arg1
== NULL
) SWIG_fail
;
3285 arg2
= wxString_in_helper(obj1
);
3286 if (arg2
== NULL
) SWIG_fail
;
3291 arg3
= wxString_in_helper(obj2
);
3292 if (arg3
== NULL
) SWIG_fail
;
3297 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 if (!wxPyCheckForApp()) SWIG_fail
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3345 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3348 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3349 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3350 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3351 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3354 wxWindow
*arg5
= (wxWindow
*) NULL
;
3356 bool temp1
= False
;
3357 bool temp2
= False
;
3359 PyObject
* obj0
= 0 ;
3360 PyObject
* obj1
= 0 ;
3361 PyObject
* obj2
= 0 ;
3362 PyObject
* obj3
= 0 ;
3363 PyObject
* obj4
= 0 ;
3365 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3371 arg1
= wxString_in_helper(obj0
);
3372 if (arg1
== NULL
) SWIG_fail
;
3378 arg2
= wxString_in_helper(obj1
);
3379 if (arg2
== NULL
) SWIG_fail
;
3384 arg3
= (long) SWIG_AsLong(obj2
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3394 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3398 if (!wxPyCheckForApp()) SWIG_fail
;
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3434 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxString
*arg1
= 0 ;
3437 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3438 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3439 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3440 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3441 wxWindow
*arg4
= (wxWindow
*) NULL
;
3442 int arg5
= (int) -1 ;
3443 int arg6
= (int) -1 ;
3444 bool arg7
= (bool) True
;
3446 bool temp1
= False
;
3447 bool temp2
= False
;
3448 bool temp3
= False
;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3451 PyObject
* obj2
= 0 ;
3452 PyObject
* obj3
= 0 ;
3453 PyObject
* obj4
= 0 ;
3454 PyObject
* obj5
= 0 ;
3455 PyObject
* obj6
= 0 ;
3457 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3462 arg1
= wxString_in_helper(obj0
);
3463 if (arg1
== NULL
) SWIG_fail
;
3468 arg2
= wxString_in_helper(obj1
);
3469 if (arg2
== NULL
) SWIG_fail
;
3475 arg3
= wxString_in_helper(obj2
);
3476 if (arg3
== NULL
) SWIG_fail
;
3481 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3485 arg5
= (int) SWIG_AsInt(obj4
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3489 arg6
= (int) SWIG_AsInt(obj5
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3493 arg7
= (bool) SWIG_AsBool(obj6
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3497 if (!wxPyCheckForApp()) SWIG_fail
;
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3541 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3543 wxString
*arg1
= 0 ;
3544 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3545 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3546 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3547 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3548 wxWindow
*arg4
= (wxWindow
*) NULL
;
3550 bool temp1
= False
;
3551 bool temp2
= False
;
3552 bool temp3
= False
;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3555 PyObject
* obj2
= 0 ;
3556 PyObject
* obj3
= 0 ;
3558 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3563 arg1
= wxString_in_helper(obj0
);
3564 if (arg1
== NULL
) SWIG_fail
;
3569 arg2
= wxString_in_helper(obj1
);
3570 if (arg2
== NULL
) SWIG_fail
;
3576 arg3
= wxString_in_helper(obj2
);
3577 if (arg3
== NULL
) SWIG_fail
;
3582 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3586 if (!wxPyCheckForApp()) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3630 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxString
*arg1
= 0 ;
3633 wxString
*arg2
= 0 ;
3635 wxString
*arg4
= (wxString
*) 0 ;
3636 wxWindow
*arg5
= (wxWindow
*) NULL
;
3637 int arg6
= (int) -1 ;
3638 int arg7
= (int) -1 ;
3639 bool arg8
= (bool) True
;
3640 int arg9
= (int) 150 ;
3641 int arg10
= (int) 200 ;
3643 bool temp1
= False
;
3644 bool temp2
= False
;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3647 PyObject
* obj2
= 0 ;
3648 PyObject
* obj3
= 0 ;
3649 PyObject
* obj4
= 0 ;
3650 PyObject
* obj5
= 0 ;
3651 PyObject
* obj6
= 0 ;
3652 PyObject
* obj7
= 0 ;
3653 PyObject
* obj8
= 0 ;
3655 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3660 arg1
= wxString_in_helper(obj0
);
3661 if (arg1
== NULL
) SWIG_fail
;
3665 arg2
= wxString_in_helper(obj1
);
3666 if (arg2
== NULL
) SWIG_fail
;
3670 arg3
= PyList_Size(obj2
);
3671 arg4
= wxString_LIST_helper(obj2
);
3672 if (arg4
== NULL
) SWIG_fail
;
3675 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3679 arg6
= (int) SWIG_AsInt(obj4
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3683 arg7
= (int) SWIG_AsInt(obj5
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3687 arg8
= (bool) SWIG_AsBool(obj6
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3691 arg9
= (int) SWIG_AsInt(obj7
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3695 arg10
= (int) SWIG_AsInt(obj8
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 if (!wxPyCheckForApp()) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3722 if (arg4
) delete [] arg4
;
3735 if (arg4
) delete [] arg4
;
3741 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxString
*arg1
= 0 ;
3744 wxString
*arg2
= 0 ;
3746 wxString
*arg4
= (wxString
*) 0 ;
3747 wxWindow
*arg5
= (wxWindow
*) NULL
;
3748 int arg6
= (int) -1 ;
3749 int arg7
= (int) -1 ;
3750 bool arg8
= (bool) True
;
3751 int arg9
= (int) 150 ;
3752 int arg10
= (int) 200 ;
3754 bool temp1
= False
;
3755 bool temp2
= False
;
3756 PyObject
* obj0
= 0 ;
3757 PyObject
* obj1
= 0 ;
3758 PyObject
* obj2
= 0 ;
3759 PyObject
* obj3
= 0 ;
3760 PyObject
* obj4
= 0 ;
3761 PyObject
* obj5
= 0 ;
3762 PyObject
* obj6
= 0 ;
3763 PyObject
* obj7
= 0 ;
3764 PyObject
* obj8
= 0 ;
3766 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3771 arg1
= wxString_in_helper(obj0
);
3772 if (arg1
== NULL
) SWIG_fail
;
3776 arg2
= wxString_in_helper(obj1
);
3777 if (arg2
== NULL
) SWIG_fail
;
3781 arg3
= PyList_Size(obj2
);
3782 arg4
= wxString_LIST_helper(obj2
);
3783 if (arg4
== NULL
) SWIG_fail
;
3786 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3790 arg6
= (int) SWIG_AsInt(obj4
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 arg7
= (int) SWIG_AsInt(obj5
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3798 arg8
= (bool) SWIG_AsBool(obj6
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3802 arg9
= (int) SWIG_AsInt(obj7
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3806 arg10
= (int) SWIG_AsInt(obj8
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 if (!wxPyCheckForApp()) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_FromInt((int)result
);
3827 if (arg4
) delete [] arg4
;
3840 if (arg4
) delete [] arg4
;
3846 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxString
*arg1
= 0 ;
3849 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3850 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3851 int arg3
= (int) wxOK
|wxCENTRE
;
3852 wxWindow
*arg4
= (wxWindow
*) NULL
;
3853 int arg5
= (int) -1 ;
3854 int arg6
= (int) -1 ;
3856 bool temp1
= False
;
3857 bool temp2
= False
;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3860 PyObject
* obj2
= 0 ;
3861 PyObject
* obj3
= 0 ;
3862 PyObject
* obj4
= 0 ;
3863 PyObject
* obj5
= 0 ;
3865 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3870 arg1
= wxString_in_helper(obj0
);
3871 if (arg1
== NULL
) SWIG_fail
;
3876 arg2
= wxString_in_helper(obj1
);
3877 if (arg2
== NULL
) SWIG_fail
;
3882 arg3
= (int) SWIG_AsInt(obj2
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3886 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3890 arg5
= (int) SWIG_AsInt(obj4
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3894 arg6
= (int) SWIG_AsInt(obj5
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3898 if (!wxPyCheckForApp()) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_FromInt((int)result
);
3928 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3930 wxString
*arg1
= 0 ;
3931 wxString
*arg2
= 0 ;
3932 wxString
*arg3
= 0 ;
3934 long arg5
= (long) 0 ;
3935 long arg6
= (long) 100 ;
3936 wxWindow
*arg7
= (wxWindow
*) NULL
;
3937 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3938 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3940 bool temp1
= False
;
3941 bool temp2
= False
;
3942 bool temp3
= False
;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3947 PyObject
* obj3
= 0 ;
3948 PyObject
* obj4
= 0 ;
3949 PyObject
* obj5
= 0 ;
3950 PyObject
* obj6
= 0 ;
3951 PyObject
* obj7
= 0 ;
3953 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3958 arg1
= wxString_in_helper(obj0
);
3959 if (arg1
== NULL
) SWIG_fail
;
3963 arg2
= wxString_in_helper(obj1
);
3964 if (arg2
== NULL
) SWIG_fail
;
3968 arg3
= wxString_in_helper(obj2
);
3969 if (arg3
== NULL
) SWIG_fail
;
3972 arg4
= (long) SWIG_AsLong(obj3
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 arg5
= (long) SWIG_AsLong(obj4
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3979 arg6
= (long) SWIG_AsLong(obj5
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3983 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3989 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3993 if (!wxPyCheckForApp()) SWIG_fail
;
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4000 resultobj
= SWIG_FromLong((long)result
);
4031 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4040 if (!wxPyCheckForApp()) SWIG_fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 result
= (bool)wxColourDisplay();
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4056 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4065 if (!wxPyCheckForApp()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (int)wxDisplayDepth();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= SWIG_FromInt((int)result
);
4079 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4088 if (!wxPyCheckForApp()) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (int)wxGetDisplayDepth();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_FromInt((int)result
);
4102 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 int *arg1
= (int *) 0 ;
4105 int *arg2
= (int *) 0 ;
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4116 if (!wxPyCheckForApp()) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 wxDisplaySize(arg1
,arg2
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 Py_INCREF(Py_None
); resultobj
= Py_None
;
4125 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4126 resultobj
= t_output_helper(resultobj
,o
);
4129 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4130 resultobj
= t_output_helper(resultobj
,o
);
4138 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
;
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4147 if (!wxPyCheckForApp()) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= wxGetDisplaySize();
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4156 resultptr
= new wxSize((wxSize
&) result
);
4157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4165 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 int *arg1
= (int *) 0 ;
4168 int *arg2
= (int *) 0 ;
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4179 if (!wxPyCheckForApp()) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 wxDisplaySizeMM(arg1
,arg2
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4186 Py_INCREF(Py_None
); resultobj
= Py_None
;
4188 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4189 resultobj
= t_output_helper(resultobj
,o
);
4192 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4193 resultobj
= t_output_helper(resultobj
,o
);
4201 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4210 if (!wxPyCheckForApp()) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 result
= wxGetDisplaySizeMM();
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4219 resultptr
= new wxSize((wxSize
&) result
);
4220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4228 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
*resultobj
;
4230 int *arg1
= (int *) 0 ;
4231 int *arg2
= (int *) 0 ;
4232 int *arg3
= (int *) 0 ;
4233 int *arg4
= (int *) 0 ;
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4248 if (!wxPyCheckForApp()) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 Py_INCREF(Py_None
); resultobj
= Py_None
;
4257 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4258 resultobj
= t_output_helper(resultobj
,o
);
4261 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4262 resultobj
= t_output_helper(resultobj
,o
);
4265 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4266 resultobj
= t_output_helper(resultobj
,o
);
4269 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4270 resultobj
= t_output_helper(resultobj
,o
);
4278 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4287 if (!wxPyCheckForApp()) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= wxGetClientDisplayRect();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4296 resultptr
= new wxRect((wxRect
&) result
);
4297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4305 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxCursor
*arg1
= 0 ;
4308 PyObject
* obj0
= 0 ;
4310 (char *) "cursor", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4318 PyErr_SetString(PyExc_TypeError
,"null reference");
4322 if (!wxPyCheckForApp()) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 Py_INCREF(Py_None
); resultobj
= Py_None
;
4336 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4339 PyObject
* obj0
= 0 ;
4341 (char *) "cursor", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4350 if (!wxPyCheckForApp()) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 wxBeginBusyCursor(arg1
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 Py_INCREF(Py_None
); resultobj
= Py_None
;
4364 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
;
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4373 if (!wxPyCheckForApp()) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (wxWindow
*)wxGetActiveWindow();
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= wxPyMake_wxObject(result
, 0);
4389 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4394 PyObject
* obj0
= 0 ;
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4402 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4405 if (!wxPyCheckForApp()) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= wxPyMake_wxObject(result
, 0);
4421 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4426 PyObject
* obj0
= 0 ;
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4434 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4437 if (!wxPyCheckForApp()) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= wxPyMake_wxObject(result
, 0);
4453 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxWindow
*arg1
= (wxWindow
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4459 (char *) "win", NULL
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4466 if (!wxPyCheckForApp()) SWIG_fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4474 resultobj
= wxPyMake_wxObject(result
, 0);
4482 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
*resultobj
;
4486 PyObject
* obj0
= 0 ;
4488 (char *) "key", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4492 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 if (!wxPyCheckForApp()) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4511 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4519 if (!wxPyCheckForApp()) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 wxWakeUpMainThread();
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 Py_INCREF(Py_None
); resultobj
= Py_None
;
4533 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4541 if (!wxPyCheckForApp()) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 Py_INCREF(Py_None
); resultobj
= Py_None
;
4555 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4563 if (!wxPyCheckForApp()) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 Py_INCREF(Py_None
); resultobj
= Py_None
;
4577 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxMutexGuiLocker
*result
;
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4586 if (!wxPyCheckForApp()) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4600 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4603 PyObject
* obj0
= 0 ;
4605 (char *) "self", NULL
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 Py_INCREF(Py_None
); resultobj
= Py_None
;
4625 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4628 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4630 return Py_BuildValue((char *)"");
4632 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (bool)wxThread_IsMain();
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4656 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4658 wxString
*arg1
= 0 ;
4660 bool temp1
= False
;
4661 PyObject
* obj0
= 0 ;
4663 (char *) "tip", NULL
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4668 arg1
= wxString_in_helper(obj0
);
4669 if (arg1
== NULL
) SWIG_fail
;
4673 if (!wxPyCheckForApp()) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4681 resultobj
= wxPyMake_wxObject(result
, 1);
4697 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4700 wxString
*arg2
= 0 ;
4701 bool temp2
= False
;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4705 (char *) "self",(char *) "tip", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4712 arg2
= wxString_in_helper(obj1
);
4713 if (arg2
== NULL
) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 (arg1
)->SetTip((wxString
const &)*arg2
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 Py_INCREF(Py_None
); resultobj
= Py_None
;
4738 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4742 PyObject
* obj0
= 0 ;
4744 (char *) "self", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (arg1
)->GetTip();
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4770 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4774 PyObject
* obj0
= 0 ;
4776 (char *) "self", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (wxWindow
*)(arg1
)->GetWindow();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= wxPyMake_wxObject(result
, 0);
4798 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4801 PyObject
* obj0
= 0 ;
4803 (char *) "flag", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4807 arg1
= (bool) SWIG_AsBool(obj0
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 wxToolTip::Enable(arg1
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 Py_INCREF(Py_None
); resultobj
= Py_None
;
4823 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4826 PyObject
* obj0
= 0 ;
4828 (char *) "milliseconds", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4832 arg1
= (long) SWIG_AsLong(obj0
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 wxToolTip::SetDelay(arg1
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 Py_INCREF(Py_None
); resultobj
= Py_None
;
4848 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4851 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4853 return Py_BuildValue((char *)"");
4855 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxWindow
*arg1
= (wxWindow
*) 0 ;
4861 PyObject
* obj0
= 0 ;
4862 PyObject
* obj1
= 0 ;
4864 (char *) "window",(char *) "size", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4872 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4875 if (!wxPyCheckForApp()) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4889 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxCaret
*arg1
= (wxCaret
*) 0 ;
4892 PyObject
* obj0
= 0 ;
4894 (char *) "self", NULL
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 Py_INCREF(Py_None
); resultobj
= Py_None
;
4914 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxCaret
*arg1
= (wxCaret
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (bool)(arg1
)->IsOk();
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4942 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxCaret
*arg1
= (wxCaret
*) 0 ;
4946 PyObject
* obj0
= 0 ;
4948 (char *) "self", NULL
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 result
= (bool)(arg1
)->IsVisible();
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4970 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxCaret
*arg1
= (wxCaret
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4976 (char *) "self", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (arg1
)->GetPosition();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 wxPoint
* resultptr
;
4991 resultptr
= new wxPoint((wxPoint
&) result
);
4992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5000 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxCaret
*arg1
= (wxCaret
*) 0 ;
5003 int *arg2
= (int *) 0 ;
5004 int *arg3
= (int *) 0 ;
5007 PyObject
* obj0
= 0 ;
5009 (char *) "self", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 (arg1
)->GetPosition(arg2
,arg3
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5026 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5027 resultobj
= t_output_helper(resultobj
,o
);
5030 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5031 resultobj
= t_output_helper(resultobj
,o
);
5039 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxCaret
*arg1
= (wxCaret
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5045 (char *) "self", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (arg1
)->GetSize();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5060 resultptr
= new wxSize((wxSize
&) result
);
5061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5069 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5071 wxCaret
*arg1
= (wxCaret
*) 0 ;
5072 int *arg2
= (int *) 0 ;
5073 int *arg3
= (int *) 0 ;
5076 PyObject
* obj0
= 0 ;
5078 (char *) "self", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 (arg1
)->GetSize(arg2
,arg3
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 Py_INCREF(Py_None
); resultobj
= Py_None
;
5095 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5096 resultobj
= t_output_helper(resultobj
,o
);
5099 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5100 resultobj
= t_output_helper(resultobj
,o
);
5108 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxCaret
*arg1
= (wxCaret
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5114 (char *) "self", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 result
= (wxWindow
*)(arg1
)->GetWindow();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= wxPyMake_wxObject(result
, 0);
5136 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxCaret
*arg1
= (wxCaret
*) 0 ;
5141 PyObject
* obj0
= 0 ;
5142 PyObject
* obj1
= 0 ;
5143 PyObject
* obj2
= 0 ;
5145 (char *) "self",(char *) "x",(char *) "y", NULL
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5151 arg2
= (int) SWIG_AsInt(obj1
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5153 arg3
= (int) SWIG_AsInt(obj2
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->Move(arg2
,arg3
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 Py_INCREF(Py_None
); resultobj
= Py_None
;
5169 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxCaret
*arg1
= (wxCaret
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5177 (char *) "self",(char *) "pt", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 (arg1
)->Move((wxPoint
const &)*arg2
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 Py_INCREF(Py_None
); resultobj
= Py_None
;
5201 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxCaret
*arg1
= (wxCaret
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5207 PyObject
* obj1
= 0 ;
5208 PyObject
* obj2
= 0 ;
5210 (char *) "self",(char *) "width",(char *) "height", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5216 arg2
= (int) SWIG_AsInt(obj1
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5218 arg3
= (int) SWIG_AsInt(obj2
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 (arg1
)->SetSize(arg2
,arg3
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 Py_INCREF(Py_None
); resultobj
= Py_None
;
5234 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5236 wxCaret
*arg1
= (wxCaret
*) 0 ;
5239 PyObject
* obj0
= 0 ;
5240 PyObject
* obj1
= 0 ;
5242 (char *) "self",(char *) "size", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5250 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 (arg1
)->SetSize((wxSize
const &)*arg2
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 Py_INCREF(Py_None
); resultobj
= Py_None
;
5266 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxCaret
*arg1
= (wxCaret
*) 0 ;
5269 int arg2
= (int) True
;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5273 (char *) "self",(char *) "show", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5280 arg2
= (int) SWIG_AsInt(obj1
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxCaret
*arg1
= (wxCaret
*) 0 ;
5300 PyObject
* obj0
= 0 ;
5302 (char *) "self", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 Py_INCREF(Py_None
); resultobj
= Py_None
;
5322 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5325 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5327 return Py_BuildValue((char *)"");
5329 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 result
= (int)wxCaret_GetBlinkTime();
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= SWIG_FromInt((int)result
);
5351 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5354 PyObject
* obj0
= 0 ;
5356 (char *) "milliseconds", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5360 arg1
= (int) SWIG_AsInt(obj0
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 wxCaret_SetBlinkTime(arg1
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 Py_INCREF(Py_None
); resultobj
= Py_None
;
5376 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5378 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5379 wxBusyCursor
*result
;
5380 PyObject
* obj0
= 0 ;
5382 (char *) "cursor", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5391 if (!wxPyCheckForApp()) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5405 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 Py_INCREF(Py_None
); resultobj
= Py_None
;
5430 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5433 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5435 return Py_BuildValue((char *)"");
5437 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxWindow
*arg1
= (wxWindow
*) NULL
;
5440 wxWindowDisabler
*result
;
5441 PyObject
* obj0
= 0 ;
5443 (char *) "winToSkip", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5452 if (!wxPyCheckForApp()) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5466 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5469 PyObject
* obj0
= 0 ;
5471 (char *) "self", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 Py_INCREF(Py_None
); resultobj
= Py_None
;
5491 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5494 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5496 return Py_BuildValue((char *)"");
5498 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxString
*arg1
= 0 ;
5502 bool temp1
= False
;
5503 PyObject
* obj0
= 0 ;
5505 (char *) "message", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5510 arg1
= wxString_in_helper(obj0
);
5511 if (arg1
== NULL
) SWIG_fail
;
5515 if (!wxPyCheckForApp()) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5537 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5540 PyObject
* obj0
= 0 ;
5542 (char *) "self", NULL
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 Py_INCREF(Py_None
); resultobj
= Py_None
;
5562 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5565 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5567 return Py_BuildValue((char *)"");
5569 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxStopWatch
*result
;
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 result
= (wxStopWatch
*)new wxStopWatch();
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5591 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5594 long arg2
= (long) 0 ;
5595 PyObject
* obj0
= 0 ;
5596 PyObject
* obj1
= 0 ;
5598 (char *) "self",(char *) "t0", NULL
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5605 arg2
= (long) SWIG_AsLong(obj1
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 (arg1
)->Start(arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 Py_INCREF(Py_None
); resultobj
= Py_None
;
5622 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5627 (char *) "self", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 Py_INCREF(Py_None
); resultobj
= Py_None
;
5647 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5650 PyObject
* obj0
= 0 ;
5652 (char *) "self", NULL
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 Py_INCREF(Py_None
); resultobj
= Py_None
;
5672 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5676 PyObject
* obj0
= 0 ;
5678 (char *) "self", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= SWIG_FromLong((long)result
);
5698 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5701 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5703 return Py_BuildValue((char *)"");
5705 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
;
5707 int arg1
= (int) 9 ;
5708 int arg2
= (int) wxID_FILE1
;
5709 wxFileHistory
*result
;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5713 (char *) "maxFiles",(char *) "idBase", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5718 arg1
= (int) SWIG_AsInt(obj0
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5722 arg2
= (int) SWIG_AsInt(obj1
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5739 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5744 (char *) "self", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 Py_INCREF(Py_None
); resultobj
= Py_None
;
5764 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
;
5766 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5767 wxString
*arg2
= 0 ;
5768 bool temp2
= False
;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj1
= 0 ;
5772 (char *) "self",(char *) "file", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5779 arg2
= wxString_in_helper(obj1
);
5780 if (arg2
== NULL
) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "i", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 arg2
= (int) SWIG_AsInt(obj1
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->RemoveFileFromHistory(arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5834 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5840 (char *) "self", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_FromInt((int)result
);
5860 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5863 wxMenu
*arg2
= (wxMenu
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5867 (char *) "self",(char *) "menu", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->UseMenu(arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 Py_INCREF(Py_None
); resultobj
= Py_None
;
5889 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5892 wxMenu
*arg2
= (wxMenu
*) 0 ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5896 (char *) "self",(char *) "menu", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 (arg1
)->RemoveMenu(arg2
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 Py_INCREF(Py_None
); resultobj
= Py_None
;
5918 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5921 wxConfigBase
*arg2
= 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5925 (char *) "self",(char *) "config", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5935 PyErr_SetString(PyExc_TypeError
,"null reference");
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 (arg1
)->Load(*arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 Py_INCREF(Py_None
); resultobj
= Py_None
;
5952 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5955 wxConfigBase
*arg2
= 0 ;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5959 (char *) "self",(char *) "config", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5969 PyErr_SetString(PyExc_TypeError
,"null reference");
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 (arg1
)->Save(*arg2
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 Py_INCREF(Py_None
); resultobj
= Py_None
;
5986 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5991 (char *) "self", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 (arg1
)->AddFilesToMenu();
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 Py_INCREF(Py_None
); resultobj
= Py_None
;
6011 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6014 wxMenu
*arg2
= (wxMenu
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6016 PyObject
* obj1
= 0 ;
6018 (char *) "self",(char *) "menu", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 (arg1
)->AddFilesToMenu(arg2
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 Py_INCREF(Py_None
); resultobj
= Py_None
;
6040 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6048 (char *) "self",(char *) "i", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6054 arg2
= (int) SWIG_AsInt(obj1
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6076 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6080 PyObject
* obj0
= 0 ;
6082 (char *) "self", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_FromInt((int)result
);
6102 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
6104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6105 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6107 return Py_BuildValue((char *)"");
6109 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxString
*arg1
= 0 ;
6112 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6113 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6114 wxSingleInstanceChecker
*result
;
6115 bool temp1
= False
;
6116 bool temp2
= False
;
6117 PyObject
* obj0
= 0 ;
6118 PyObject
* obj1
= 0 ;
6120 (char *) "name",(char *) "path", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6125 arg1
= wxString_in_helper(obj0
);
6126 if (arg1
== NULL
) SWIG_fail
;
6131 arg2
= wxString_in_helper(obj1
);
6132 if (arg2
== NULL
) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6166 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
*resultobj
;
6168 wxSingleInstanceChecker
*result
;
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6188 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "self", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 Py_INCREF(Py_None
); resultobj
= Py_None
;
6213 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6216 wxString
*arg2
= 0 ;
6217 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6218 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6220 bool temp2
= False
;
6221 bool temp3
= False
;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6224 PyObject
* obj2
= 0 ;
6226 (char *) "self",(char *) "name",(char *) "path", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 arg2
= wxString_in_helper(obj1
);
6234 if (arg2
== NULL
) SWIG_fail
;
6239 arg3
= wxString_in_helper(obj2
);
6240 if (arg3
== NULL
) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6276 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
;
6278 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6280 PyObject
* obj0
= 0 ;
6282 (char *) "self", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6304 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6307 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6309 return Py_BuildValue((char *)"");
6311 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
;
6313 wxWindow
*arg1
= (wxWindow
*) 0 ;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6318 PyObject
* obj2
= 0 ;
6320 (char *) "window",(char *) "dc",(char *) "method", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6330 PyErr_SetString(PyExc_TypeError
,"null reference");
6333 arg3
= (int) SWIG_AsInt(obj2
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 Py_INCREF(Py_None
); resultobj
= Py_None
;
6349 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6352 PyObject
* obj0
= 0 ;
6354 (char *) "self", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 Py_INCREF(Py_None
); resultobj
= Py_None
;
6374 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6380 (char *) "self", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (arg1
)->GetTip();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6406 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6410 PyObject
* obj0
= 0 ;
6412 (char *) "self", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (size_t)(arg1
)->GetCurrentTip();
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6432 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6435 wxString
*arg2
= 0 ;
6437 bool temp2
= False
;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6441 (char *) "self",(char *) "tip", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6448 arg2
= wxString_in_helper(obj1
);
6449 if (arg2
== NULL
) SWIG_fail
;
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6480 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6483 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6485 return Py_BuildValue((char *)"");
6487 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6490 wxPyTipProvider
*result
;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "currentTip", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6497 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6513 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6516 PyObject
*arg2
= (PyObject
*) 0 ;
6517 PyObject
*arg3
= (PyObject
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6519 PyObject
* obj1
= 0 ;
6520 PyObject
* obj2
= 0 ;
6522 (char *) "self",(char *) "self",(char *) "_class", NULL
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6534 wxPyEndAllowThreads(__tstate
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 Py_INCREF(Py_None
); resultobj
= Py_None
;
6544 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6547 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6549 return Py_BuildValue((char *)"");
6551 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxWindow
*arg1
= (wxWindow
*) 0 ;
6554 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6555 bool arg3
= (bool) True
;
6557 PyObject
* obj0
= 0 ;
6558 PyObject
* obj1
= 0 ;
6559 PyObject
* obj2
= 0 ;
6561 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6570 arg3
= (bool) SWIG_AsBool(obj2
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6574 if (!wxPyCheckForApp()) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6590 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
;
6592 wxString
*arg1
= 0 ;
6594 wxTipProvider
*result
;
6595 bool temp1
= False
;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6599 (char *) "filename",(char *) "currentTip", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6604 arg1
= wxString_in_helper(obj0
);
6605 if (arg1
== NULL
) SWIG_fail
;
6608 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 if (!wxPyCheckForApp()) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6633 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6636 int arg2
= (int) -1 ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6641 (char *) "owner",(char *) "id", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 arg2
= (int) SWIG_AsInt(obj1
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6654 if (!wxPyCheckForApp()) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6668 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "self", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 Py_INCREF(Py_None
); resultobj
= Py_None
;
6693 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6696 PyObject
*arg2
= (PyObject
*) 0 ;
6697 PyObject
*arg3
= (PyObject
*) 0 ;
6698 int arg4
= (int) 1 ;
6699 PyObject
* obj0
= 0 ;
6700 PyObject
* obj1
= 0 ;
6701 PyObject
* obj2
= 0 ;
6702 PyObject
* obj3
= 0 ;
6704 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 arg4
= (int) SWIG_AsInt(obj3
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 Py_INCREF(Py_None
); resultobj
= Py_None
;
6730 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6733 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6734 int arg3
= (int) -1 ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6737 PyObject
* obj2
= 0 ;
6739 (char *) "self",(char *) "owner",(char *) "id", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6748 arg3
= (int) SWIG_AsInt(obj2
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 (arg1
)->SetOwner(arg2
,arg3
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 Py_INCREF(Py_None
); resultobj
= Py_None
;
6765 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6768 wxEvtHandler
*result
;
6769 PyObject
* obj0
= 0 ;
6771 (char *) "self", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= wxPyMake_wxObject(result
, 0);
6793 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
*resultobj
;
6795 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6796 int arg2
= (int) -1 ;
6797 bool arg3
= (bool) False
;
6799 PyObject
* obj0
= 0 ;
6800 PyObject
* obj1
= 0 ;
6801 PyObject
* obj2
= 0 ;
6803 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6810 arg2
= (int) SWIG_AsInt(obj1
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6814 arg3
= (bool) SWIG_AsBool(obj2
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6833 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6838 (char *) "self", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 Py_INCREF(Py_None
); resultobj
= Py_None
;
6858 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6886 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6892 (char *) "self", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_FromInt((int)result
);
6912 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6940 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
;
6942 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6944 PyObject
* obj0
= 0 ;
6946 (char *) "self", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_FromInt((int)result
);
6966 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6969 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6971 return Py_BuildValue((char *)"");
6973 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
;
6975 int arg1
= (int) 0 ;
6976 int arg2
= (int) 0 ;
6977 wxTimerEvent
*result
;
6978 PyObject
* obj0
= 0 ;
6979 PyObject
* obj1
= 0 ;
6981 (char *) "timerid",(char *) "interval", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6986 arg1
= (int) SWIG_AsInt(obj0
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6990 arg2
= (int) SWIG_AsInt(obj1
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7007 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
;
7009 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7011 PyObject
* obj0
= 0 ;
7013 (char *) "self", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_FromInt((int)result
);
7033 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
7035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7036 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7038 return Py_BuildValue((char *)"");
7040 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
7041 PyObject
*resultobj
;
7043 wxTimerRunner
*result
;
7044 PyObject
* obj0
= 0 ;
7046 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7051 PyErr_SetString(PyExc_TypeError
,"null reference");
7055 if (!wxPyCheckForApp()) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7069 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
7070 PyObject
*resultobj
;
7073 bool arg3
= (bool) False
;
7074 wxTimerRunner
*result
;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 PyObject
* obj2
= 0 ;
7079 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7084 PyErr_SetString(PyExc_TypeError
,"null reference");
7087 arg2
= (int) SWIG_AsInt(obj1
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 arg3
= (bool) SWIG_AsBool(obj2
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 if (!wxPyCheckForApp()) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7108 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7113 argc
= PyObject_Length(args
);
7114 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7115 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7121 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7129 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7132 if ((argc
>= 2) && (argc
<= 3)) {
7136 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7144 _v
= SWIG_CheckInt(argv
[1]);
7147 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7149 _v
= SWIG_CheckBool(argv
[2]);
7151 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7157 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7162 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "self", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 Py_INCREF(Py_None
); resultobj
= Py_None
;
7187 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
;
7189 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7191 bool arg3
= (bool) False
;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 PyObject
* obj2
= 0 ;
7196 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7202 arg2
= (int) SWIG_AsInt(obj1
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 arg3
= (bool) SWIG_AsBool(obj2
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 (arg1
)->Start(arg2
,arg3
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 Py_INCREF(Py_None
); resultobj
= Py_None
;
7222 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7225 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7227 return Py_BuildValue((char *)"");
7229 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (wxLog
*)new wxLog();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7251 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (bool)wxLog::IsEnabled();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7275 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 bool arg1
= (bool) True
;
7279 PyObject
* obj0
= 0 ;
7281 (char *) "doIt", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7286 arg1
= (bool) SWIG_AsBool(obj0
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 result
= (bool)wxLog::EnableLogging(arg1
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7305 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7308 wxChar
*arg2
= (wxChar
*) 0 ;
7310 PyObject
* obj0
= 0 ;
7311 PyObject
* obj1
= 0 ;
7312 PyObject
* obj2
= 0 ;
7314 (char *) "level",(char *) "szString",(char *) "t", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7318 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7322 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 Py_INCREF(Py_None
); resultobj
= Py_None
;
7338 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 wxLog
*arg1
= (wxLog
*) 0 ;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "self", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 Py_INCREF(Py_None
); resultobj
= Py_None
;
7363 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 wxLog::FlushActive();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 Py_INCREF(Py_None
); resultobj
= Py_None
;
7384 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 result
= (wxLog
*)wxLog::GetActiveTarget();
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7406 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxLog
*arg1
= (wxLog
*) 0 ;
7410 PyObject
* obj0
= 0 ;
7412 (char *) "pLogger", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7432 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 Py_INCREF(Py_None
); resultobj
= Py_None
;
7474 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 bool arg1
= (bool) True
;
7477 PyObject
* obj0
= 0 ;
7479 (char *) "bVerbose", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7484 arg1
= (bool) SWIG_AsBool(obj0
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 wxLog::SetVerbose(arg1
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 Py_INCREF(Py_None
); resultobj
= Py_None
;
7501 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7504 PyObject
* obj0
= 0 ;
7506 (char *) "logLevel", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7510 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 wxLog::SetLogLevel(arg1
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 wxLog::DontCreateOnDemand();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 Py_INCREF(Py_None
); resultobj
= Py_None
;
7547 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7550 PyObject
* obj0
= 0 ;
7552 (char *) "ulMask", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7556 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 wxLog::SetTraceMask(arg1
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 Py_INCREF(Py_None
); resultobj
= Py_None
;
7572 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxString
*arg1
= 0 ;
7575 bool temp1
= False
;
7576 PyObject
* obj0
= 0 ;
7578 (char *) "str", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7583 arg1
= wxString_in_helper(obj0
);
7584 if (arg1
== NULL
) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 wxLog::AddTraceMask((wxString
const &)*arg1
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 Py_INCREF(Py_None
); resultobj
= Py_None
;
7609 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxString
*arg1
= 0 ;
7612 bool temp1
= False
;
7613 PyObject
* obj0
= 0 ;
7615 (char *) "str", NULL
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7620 arg1
= wxString_in_helper(obj0
);
7621 if (arg1
== NULL
) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 Py_INCREF(Py_None
); resultobj
= Py_None
;
7646 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 wxLog::ClearTraceMasks();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 Py_INCREF(Py_None
); resultobj
= Py_None
;
7667 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxArrayString
*result
;
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7679 result
= (wxArrayString
*) &_result_ref
;
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= wxArrayString2PyList_helper(*result
);
7694 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxChar
*arg1
= (wxChar
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 wxLog::SetTimestamp((wxChar
const *)arg1
);
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 Py_INCREF(Py_None
); resultobj
= Py_None
;
7719 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (bool)wxLog::GetVerbose();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7743 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (wxTraceMask
)wxLog::GetTraceMask();
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7765 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
;
7767 wxChar
*arg1
= (wxChar
*) 0 ;
7769 PyObject
* obj0
= 0 ;
7771 (char *) "mask", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7793 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (wxLogLevel
)wxLog::GetLogLevel();
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7815 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (wxChar
*)wxLog::GetTimestamp();
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7837 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 result
= Log_TimeStamp();
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7865 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
;
7867 wxLog
*arg1
= (wxLog
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "self", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 wxLog_Destroy(arg1
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 Py_INCREF(Py_None
); resultobj
= Py_None
;
7890 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7893 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7895 return Py_BuildValue((char *)"");
7897 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxLogStderr
*result
;
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (wxLogStderr
*)new wxLogStderr();
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7919 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7922 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7924 return Py_BuildValue((char *)"");
7926 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7929 wxLogTextCtrl
*result
;
7930 PyObject
* obj0
= 0 ;
7932 (char *) "pTextCtrl", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7952 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7955 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7957 return Py_BuildValue((char *)"");
7959 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (wxLogGui
*)new wxLogGui();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7981 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7984 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7986 return Py_BuildValue((char *)"");
7988 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 wxFrame
*arg1
= (wxFrame
*) 0 ;
7991 wxString
*arg2
= 0 ;
7992 bool arg3
= (bool) True
;
7993 bool arg4
= (bool) True
;
7994 wxLogWindow
*result
;
7995 bool temp2
= False
;
7996 PyObject
* obj0
= 0 ;
7997 PyObject
* obj1
= 0 ;
7998 PyObject
* obj2
= 0 ;
7999 PyObject
* obj3
= 0 ;
8001 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8008 arg2
= wxString_in_helper(obj1
);
8009 if (arg2
== NULL
) SWIG_fail
;
8013 arg3
= (bool) SWIG_AsBool(obj2
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8017 arg4
= (bool) SWIG_AsBool(obj3
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8042 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8045 bool arg2
= (bool) True
;
8046 PyObject
* obj0
= 0 ;
8047 PyObject
* obj1
= 0 ;
8049 (char *) "self",(char *) "bShow", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8056 arg2
= (bool) SWIG_AsBool(obj1
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8073 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8079 (char *) "self", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= wxPyMake_wxObject(result
, 0);
8101 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8105 PyObject
* obj0
= 0 ;
8107 (char *) "self", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8127 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "self", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8155 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8160 PyObject
* obj1
= 0 ;
8162 (char *) "self",(char *) "bDoPass", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 arg2
= (bool) SWIG_AsBool(obj1
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 (arg1
)->PassMessages(arg2
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 Py_INCREF(Py_None
); resultobj
= Py_None
;
8184 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8187 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8189 return Py_BuildValue((char *)"");
8191 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxLog
*arg1
= (wxLog
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "logger", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 result
= (wxLogChain
*)new wxLogChain(arg1
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8217 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8220 wxLog
*arg2
= (wxLog
*) 0 ;
8221 PyObject
* obj0
= 0 ;
8222 PyObject
* obj1
= 0 ;
8224 (char *) "self",(char *) "logger", NULL
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 (arg1
)->SetLog(arg2
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 Py_INCREF(Py_None
); resultobj
= Py_None
;
8246 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8253 (char *) "self",(char *) "bDoPass", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8259 arg2
= (bool) SWIG_AsBool(obj1
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 (arg1
)->PassMessages(arg2
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 Py_INCREF(Py_None
); resultobj
= Py_None
;
8275 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8279 PyObject
* obj0
= 0 ;
8281 (char *) "self", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (bool)(arg1
)->IsPassingMessages();
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8303 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8307 PyObject
* obj0
= 0 ;
8309 (char *) "self", NULL
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (wxLog
*)(arg1
)->GetOldLog();
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8329 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8332 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8334 return Py_BuildValue((char *)"");
8336 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 unsigned long result
;
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= (unsigned long)wxSysErrorCode();
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8351 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8358 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 unsigned long arg1
= (unsigned long) 0 ;
8362 PyObject
* obj0
= 0 ;
8364 (char *) "nErrCode", NULL
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8369 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 result
= wxSysErrorMsg(arg1
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8392 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxString
*arg1
= 0 ;
8395 bool temp1
= False
;
8396 PyObject
* obj0
= 0 ;
8398 (char *) "msg", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8403 arg1
= wxString_in_helper(obj0
);
8404 if (arg1
== NULL
) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 wxLogFatalError((wxString
const &)*arg1
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 Py_INCREF(Py_None
); resultobj
= Py_None
;
8429 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxString
*arg1
= 0 ;
8432 bool temp1
= False
;
8433 PyObject
* obj0
= 0 ;
8435 (char *) "msg", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8440 arg1
= wxString_in_helper(obj0
);
8441 if (arg1
== NULL
) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 wxLogError((wxString
const &)*arg1
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 Py_INCREF(Py_None
); resultobj
= Py_None
;
8466 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxString
*arg1
= 0 ;
8469 bool temp1
= False
;
8470 PyObject
* obj0
= 0 ;
8472 (char *) "msg", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8477 arg1
= wxString_in_helper(obj0
);
8478 if (arg1
== NULL
) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 wxLogWarning((wxString
const &)*arg1
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 Py_INCREF(Py_None
); resultobj
= Py_None
;
8503 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxString
*arg1
= 0 ;
8506 bool temp1
= False
;
8507 PyObject
* obj0
= 0 ;
8509 (char *) "msg", NULL
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8514 arg1
= wxString_in_helper(obj0
);
8515 if (arg1
== NULL
) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 wxLogMessage((wxString
const &)*arg1
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 Py_INCREF(Py_None
); resultobj
= Py_None
;
8540 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxString
*arg1
= 0 ;
8543 bool temp1
= False
;
8544 PyObject
* obj0
= 0 ;
8546 (char *) "msg", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8551 arg1
= wxString_in_helper(obj0
);
8552 if (arg1
== NULL
) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 wxLogInfo((wxString
const &)*arg1
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 Py_INCREF(Py_None
); resultobj
= Py_None
;
8577 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxString
*arg1
= 0 ;
8580 bool temp1
= False
;
8581 PyObject
* obj0
= 0 ;
8583 (char *) "msg", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8588 arg1
= wxString_in_helper(obj0
);
8589 if (arg1
== NULL
) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 wxLogDebug((wxString
const &)*arg1
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 Py_INCREF(Py_None
); resultobj
= Py_None
;
8614 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxString
*arg1
= 0 ;
8617 bool temp1
= False
;
8618 PyObject
* obj0
= 0 ;
8620 (char *) "msg", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8625 arg1
= wxString_in_helper(obj0
);
8626 if (arg1
== NULL
) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 wxLogVerbose((wxString
const &)*arg1
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 Py_INCREF(Py_None
); resultobj
= Py_None
;
8651 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
;
8653 wxString
*arg1
= 0 ;
8654 bool temp1
= False
;
8655 PyObject
* obj0
= 0 ;
8657 (char *) "msg", NULL
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8662 arg1
= wxString_in_helper(obj0
);
8663 if (arg1
== NULL
) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 wxLogStatus((wxString
const &)*arg1
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxFrame
*arg1
= (wxFrame
*) 0 ;
8691 wxString
*arg2
= 0 ;
8692 bool temp2
= False
;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8696 (char *) "pFrame",(char *) "msg", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8703 arg2
= wxString_in_helper(obj1
);
8704 if (arg2
== NULL
) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxString
*arg1
= 0 ;
8732 bool temp1
= False
;
8733 PyObject
* obj0
= 0 ;
8735 (char *) "msg", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8740 arg1
= wxString_in_helper(obj0
);
8741 if (arg1
== NULL
) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 wxLogSysError((wxString
const &)*arg1
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 Py_INCREF(Py_None
); resultobj
= Py_None
;
8766 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8767 PyObject
*resultobj
;
8768 unsigned long arg1
;
8769 wxString
*arg2
= 0 ;
8770 bool temp2
= False
;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8774 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8775 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 arg2
= wxString_in_helper(obj1
);
8779 if (arg2
== NULL
) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 Py_INCREF(Py_None
); resultobj
= Py_None
;
8804 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8805 PyObject
*resultobj
;
8806 wxString
*arg1
= 0 ;
8807 wxString
*arg2
= 0 ;
8808 bool temp1
= False
;
8809 bool temp2
= False
;
8810 PyObject
* obj0
= 0 ;
8811 PyObject
* obj1
= 0 ;
8813 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8815 arg1
= wxString_in_helper(obj0
);
8816 if (arg1
== NULL
) SWIG_fail
;
8820 arg2
= wxString_in_helper(obj1
);
8821 if (arg2
== NULL
) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 Py_INCREF(Py_None
); resultobj
= Py_None
;
8854 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8859 argc
= PyObject_Length(args
);
8860 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8861 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8866 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8870 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8873 return _wrap_LogTrace__SWIG_1(self
,args
);
8879 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8882 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8885 return _wrap_LogTrace__SWIG_0(self
,args
);
8890 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8895 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 unsigned long arg1
;
8898 wxString
*arg2
= 0 ;
8899 bool temp2
= False
;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8903 (char *) "level",(char *) "msg", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8907 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 arg2
= wxString_in_helper(obj1
);
8911 if (arg2
== NULL
) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 Py_INCREF(Py_None
); resultobj
= Py_None
;
8936 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8938 wxString
*arg1
= 0 ;
8939 wxString
*arg2
= 0 ;
8940 bool temp1
= False
;
8941 bool temp2
= False
;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8945 (char *) "title",(char *) "text", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8950 arg1
= wxString_in_helper(obj0
);
8951 if (arg1
== NULL
) SWIG_fail
;
8955 arg2
= wxString_in_helper(obj1
);
8956 if (arg2
== NULL
) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 Py_INCREF(Py_None
); resultobj
= Py_None
;
8989 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= (wxLogNull
*)new wxLogNull();
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9011 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "self", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
9038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9039 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9041 return Py_BuildValue((char *)"");
9043 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (wxPyLog
*)new wxPyLog();
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9065 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
;
9067 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9068 PyObject
*arg2
= (PyObject
*) 0 ;
9069 PyObject
*arg3
= (PyObject
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9071 PyObject
* obj1
= 0 ;
9072 PyObject
* obj2
= 0 ;
9074 (char *) "self",(char *) "self",(char *) "_class", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
9098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9099 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9101 return Py_BuildValue((char *)"");
9103 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9106 int arg2
= (int) wxSIGTERM
;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9111 (char *) "pid",(char *) "sig", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9115 arg1
= (int) SWIG_AsInt(obj0
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_FromInt((int)result
);
9135 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9139 PyObject
* obj0
= 0 ;
9141 (char *) "pid", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9145 arg1
= (int) SWIG_AsInt(obj0
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (bool)wxPyProcess::Exists(arg1
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9163 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxString
*arg1
= 0 ;
9166 int arg2
= (int) wxEXEC_ASYNC
;
9167 wxPyProcess
*result
;
9168 bool temp1
= False
;
9169 PyObject
* obj0
= 0 ;
9170 PyObject
* obj1
= 0 ;
9172 (char *) "cmd",(char *) "flags", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9177 arg1
= wxString_in_helper(obj0
);
9178 if (arg1
== NULL
) SWIG_fail
;
9182 arg2
= (int) SWIG_AsInt(obj1
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9207 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9210 int arg2
= (int) -1 ;
9211 wxPyProcess
*result
;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9215 (char *) "parent",(char *) "id", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9224 arg2
= (int) SWIG_AsInt(obj1
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9241 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9244 PyObject
*arg2
= (PyObject
*) 0 ;
9245 PyObject
*arg3
= (PyObject
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9248 PyObject
* obj2
= 0 ;
9250 (char *) "self",(char *) "self",(char *) "_class", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 Py_INCREF(Py_None
); resultobj
= Py_None
;
9272 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9274 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 PyObject
* obj2
= 0 ;
9281 (char *) "self",(char *) "pid",(char *) "status", NULL
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9287 arg2
= (int) SWIG_AsInt(obj1
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9289 arg3
= (int) SWIG_AsInt(obj2
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 (arg1
)->base_OnTerminate(arg2
,arg3
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 Py_INCREF(Py_None
); resultobj
= Py_None
;
9305 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9308 PyObject
* obj0
= 0 ;
9310 (char *) "self", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 Py_INCREF(Py_None
); resultobj
= Py_None
;
9330 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)(arg1
)->IsRedirected();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9358 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
;
9360 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9363 (char *) "self", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 Py_INCREF(Py_None
); resultobj
= Py_None
;
9383 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9385 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9386 wxInputStream
*result
;
9387 PyObject
* obj0
= 0 ;
9389 (char *) "self", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 wxPyInputStream
* _ptr
= NULL
;
9406 _ptr
= new wxPyInputStream(result
);
9408 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9416 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9419 wxInputStream
*result
;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9436 wxPyInputStream
* _ptr
= NULL
;
9439 _ptr
= new wxPyInputStream(result
);
9441 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9449 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9452 wxOutputStream
*result
;
9453 PyObject
* obj0
= 0 ;
9455 (char *) "self", NULL
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9475 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9478 PyObject
* obj0
= 0 ;
9480 (char *) "self", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 (arg1
)->CloseOutput();
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 Py_INCREF(Py_None
); resultobj
= Py_None
;
9500 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9506 (char *) "self", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9528 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9532 PyObject
* obj0
= 0 ;
9534 (char *) "self", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9556 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9562 (char *) "self", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9584 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9587 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9589 return Py_BuildValue((char *)"");
9591 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 int arg1
= (int) 0 ;
9594 int arg2
= (int) 0 ;
9595 int arg3
= (int) 0 ;
9596 wxProcessEvent
*result
;
9597 PyObject
* obj0
= 0 ;
9598 PyObject
* obj1
= 0 ;
9599 PyObject
* obj2
= 0 ;
9601 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9606 arg1
= (int) SWIG_AsInt(obj0
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9610 arg2
= (int) SWIG_AsInt(obj1
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9614 arg3
= (int) SWIG_AsInt(obj2
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9631 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
;
9633 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9637 (char *) "self", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (int)(arg1
)->GetPid();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_FromInt((int)result
);
9657 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9661 PyObject
* obj0
= 0 ;
9663 (char *) "self", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 result
= (int)(arg1
)->GetExitCode();
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= SWIG_FromInt((int)result
);
9683 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9690 (char *) "self",(char *) "m_pid", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9696 arg2
= (int) SWIG_AsInt(obj1
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9698 if (arg1
) (arg1
)->m_pid
= arg2
;
9700 Py_INCREF(Py_None
); resultobj
= Py_None
;
9707 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
;
9709 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9711 PyObject
* obj0
= 0 ;
9713 (char *) "self", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9719 result
= (int) ((arg1
)->m_pid
);
9721 resultobj
= SWIG_FromInt((int)result
);
9728 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9732 PyObject
* obj0
= 0 ;
9733 PyObject
* obj1
= 0 ;
9735 (char *) "self",(char *) "m_exitcode", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9741 arg2
= (int) SWIG_AsInt(obj1
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9743 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9745 Py_INCREF(Py_None
); resultobj
= Py_None
;
9752 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
*resultobj
;
9754 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9756 PyObject
* obj0
= 0 ;
9758 (char *) "self", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9764 result
= (int) ((arg1
)->m_exitcode
);
9766 resultobj
= SWIG_FromInt((int)result
);
9773 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9776 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9778 return Py_BuildValue((char *)"");
9780 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 wxString
*arg1
= 0 ;
9783 int arg2
= (int) wxEXEC_ASYNC
;
9784 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9786 bool temp1
= False
;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9789 PyObject
* obj2
= 0 ;
9791 (char *) "command",(char *) "flags",(char *) "process", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9796 arg1
= wxString_in_helper(obj0
);
9797 if (arg1
== NULL
) SWIG_fail
;
9801 arg2
= (int) SWIG_AsInt(obj1
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9805 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9809 if (!wxPyCheckForApp()) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= SWIG_FromLong((long)result
);
9831 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 int arg1
= (int) wxJOYSTICK1
;
9835 PyObject
* obj0
= 0 ;
9837 (char *) "joystick", NULL
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9842 arg1
= (int) SWIG_AsInt(obj0
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9846 if (!wxPyCheckForApp()) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (wxJoystick
*)new wxJoystick(arg1
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9860 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 Py_INCREF(Py_None
); resultobj
= Py_None
;
9885 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (arg1
)->GetPosition();
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9905 wxPoint
* resultptr
;
9906 resultptr
= new wxPoint((wxPoint
&) result
);
9907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9915 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9921 (char *) "self", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (int)(arg1
)->GetZPosition();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= SWIG_FromInt((int)result
);
9941 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9945 PyObject
* obj0
= 0 ;
9947 (char *) "self", NULL
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (int)(arg1
)->GetButtonState();
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_FromInt((int)result
);
9967 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
;
9969 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9971 PyObject
* obj0
= 0 ;
9973 (char *) "self", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (int)(arg1
)->GetPOVPosition();
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= SWIG_FromInt((int)result
);
9993 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9997 PyObject
* obj0
= 0 ;
9999 (char *) "self", NULL
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 result
= (int)(arg1
)->GetPOVCTSPosition();
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= SWIG_FromInt((int)result
);
10019 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10023 PyObject
* obj0
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "self", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= (int)(arg1
)->GetRudderPosition();
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= SWIG_FromInt((int)result
);
10045 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10049 PyObject
* obj0
= 0 ;
10050 char *kwnames
[] = {
10051 (char *) "self", NULL
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 result
= (int)(arg1
)->GetUPosition();
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= SWIG_FromInt((int)result
);
10071 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
;
10073 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10075 PyObject
* obj0
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "self", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (int)(arg1
)->GetVPosition();
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_FromInt((int)result
);
10097 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "self", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (int)(arg1
)->GetMovementThreshold();
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_FromInt((int)result
);
10123 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10127 PyObject
* obj0
= 0 ;
10128 PyObject
* obj1
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "threshold", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10136 arg2
= (int) SWIG_AsInt(obj1
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 (arg1
)->SetMovementThreshold(arg2
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 Py_INCREF(Py_None
); resultobj
= Py_None
;
10152 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10156 PyObject
* obj0
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (bool)(arg1
)->IsOk();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10180 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
*resultobj
;
10182 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10184 PyObject
* obj0
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "self", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= (int)(arg1
)->GetNumberJoysticks();
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= SWIG_FromInt((int)result
);
10206 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
;
10208 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10210 PyObject
* obj0
= 0 ;
10211 char *kwnames
[] = {
10212 (char *) "self", NULL
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 result
= (int)(arg1
)->GetManufacturerId();
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 resultobj
= SWIG_FromInt((int)result
);
10232 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10236 PyObject
* obj0
= 0 ;
10237 char *kwnames
[] = {
10238 (char *) "self", NULL
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (int)(arg1
)->GetProductId();
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= SWIG_FromInt((int)result
);
10258 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10262 PyObject
* obj0
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (arg1
)->GetProductName();
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10290 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (int)(arg1
)->GetXMin();
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_FromInt((int)result
);
10316 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
;
10318 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10320 PyObject
* obj0
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (int)(arg1
)->GetYMin();
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_FromInt((int)result
);
10342 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10346 PyObject
* obj0
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (int)(arg1
)->GetZMin();
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= SWIG_FromInt((int)result
);
10368 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (int)(arg1
)->GetXMax();
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_FromInt((int)result
);
10394 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10398 PyObject
* obj0
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (int)(arg1
)->GetYMax();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_FromInt((int)result
);
10420 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (int)(arg1
)->GetZMax();
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_FromInt((int)result
);
10446 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "self", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (int)(arg1
)->GetNumberButtons();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_FromInt((int)result
);
10472 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 result
= (int)(arg1
)->GetNumberAxes();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_FromInt((int)result
);
10498 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10502 PyObject
* obj0
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (int)(arg1
)->GetMaxButtons();
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_FromInt((int)result
);
10524 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (int)(arg1
)->GetMaxAxes();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_FromInt((int)result
);
10550 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (int)(arg1
)->GetPollingMin();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_FromInt((int)result
);
10576 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10580 PyObject
* obj0
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (int)(arg1
)->GetPollingMax();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= SWIG_FromInt((int)result
);
10602 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 result
= (int)(arg1
)->GetRudderMin();
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_FromInt((int)result
);
10628 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (int)(arg1
)->GetRudderMax();
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_FromInt((int)result
);
10654 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10656 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10658 PyObject
* obj0
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (int)(arg1
)->GetUMin();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_FromInt((int)result
);
10680 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 result
= (int)(arg1
)->GetUMax();
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= SWIG_FromInt((int)result
);
10706 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10708 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10710 PyObject
* obj0
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (int)(arg1
)->GetVMin();
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_FromInt((int)result
);
10732 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 result
= (int)(arg1
)->GetVMax();
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 resultobj
= SWIG_FromInt((int)result
);
10758 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10762 PyObject
* obj0
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (bool)(arg1
)->HasRudder();
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10786 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (bool)(arg1
)->HasZ();
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10814 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10818 PyObject
* obj0
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "self", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= (bool)(arg1
)->HasU();
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10842 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10846 PyObject
* obj0
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 result
= (bool)(arg1
)->HasV();
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10870 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (bool)(arg1
)->HasPOV();
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10898 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
;
10900 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 result
= (bool)(arg1
)->HasPOV4Dir();
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10926 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10930 PyObject
* obj0
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 result
= (bool)(arg1
)->HasPOVCTS();
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10954 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10957 wxWindow
*arg2
= (wxWindow
*) 0 ;
10958 int arg3
= (int) 0 ;
10960 PyObject
* obj0
= 0 ;
10961 PyObject
* obj1
= 0 ;
10962 PyObject
* obj2
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10973 arg3
= (int) SWIG_AsInt(obj2
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10992 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10996 PyObject
* obj0
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (bool)(arg1
)->ReleaseCapture();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11020 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
11022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11023 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11025 return Py_BuildValue((char *)"");
11027 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11030 wxPoint
*arg2
= (wxPoint
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self",(char *) "m_pos", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11042 if (arg1
) (arg1
)->m_pos
= *arg2
;
11044 Py_INCREF(Py_None
); resultobj
= Py_None
;
11051 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
;
11053 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11055 PyObject
* obj0
= 0 ;
11056 char *kwnames
[] = {
11057 (char *) "self", NULL
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11063 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11072 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj1
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self",(char *) "m_zPosition", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11085 arg2
= (int) SWIG_AsInt(obj1
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11087 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11096 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11100 PyObject
* obj0
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "self", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11108 result
= (int) ((arg1
)->m_zPosition
);
11110 resultobj
= SWIG_FromInt((int)result
);
11117 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11121 PyObject
* obj0
= 0 ;
11122 PyObject
* obj1
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self",(char *) "m_buttonChange", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11130 arg2
= (int) SWIG_AsInt(obj1
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11132 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11134 Py_INCREF(Py_None
); resultobj
= Py_None
;
11141 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11145 PyObject
* obj0
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "self", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11153 result
= (int) ((arg1
)->m_buttonChange
);
11155 resultobj
= SWIG_FromInt((int)result
);
11162 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11166 PyObject
* obj0
= 0 ;
11167 PyObject
* obj1
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self",(char *) "m_buttonState", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 arg2
= (int) SWIG_AsInt(obj1
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11177 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11179 Py_INCREF(Py_None
); resultobj
= Py_None
;
11186 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 char *kwnames
[] = {
11192 (char *) "self", NULL
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11198 result
= (int) ((arg1
)->m_buttonState
);
11200 resultobj
= SWIG_FromInt((int)result
);
11207 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
;
11209 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 char *kwnames
[] = {
11214 (char *) "self",(char *) "m_joyStick", NULL
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11220 arg2
= (int) SWIG_AsInt(obj1
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11222 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11224 Py_INCREF(Py_None
); resultobj
= Py_None
;
11231 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11235 PyObject
* obj0
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11243 result
= (int) ((arg1
)->m_joyStick
);
11245 resultobj
= SWIG_FromInt((int)result
);
11252 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11255 int arg2
= (int) 0 ;
11256 int arg3
= (int) wxJOYSTICK1
;
11257 int arg4
= (int) 0 ;
11258 wxJoystickEvent
*result
;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 PyObject
* obj3
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11269 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 arg2
= (int) SWIG_AsInt(obj1
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 arg3
= (int) SWIG_AsInt(obj2
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11281 arg4
= (int) SWIG_AsInt(obj3
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11298 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11318 wxPoint
* resultptr
;
11319 resultptr
= new wxPoint((wxPoint
&) result
);
11320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11328 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11332 PyObject
* obj0
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_FromInt((int)result
);
11354 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 resultobj
= SWIG_FromInt((int)result
);
11380 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11384 PyObject
* obj0
= 0 ;
11385 char *kwnames
[] = {
11386 (char *) "self", NULL
11389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_FromInt((int)result
);
11406 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 char *kwnames
[] = {
11412 (char *) "self", NULL
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_FromInt((int)result
);
11432 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11436 PyObject
* obj0
= 0 ;
11437 PyObject
* obj1
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self",(char *) "stick", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11445 arg2
= (int) SWIG_AsInt(obj1
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 (arg1
)->SetJoystick(arg2
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 Py_INCREF(Py_None
); resultobj
= Py_None
;
11461 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 PyObject
* obj1
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self",(char *) "state", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11474 arg2
= (int) SWIG_AsInt(obj1
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 (arg1
)->SetButtonState(arg2
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 Py_INCREF(Py_None
); resultobj
= Py_None
;
11490 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "change", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11503 arg2
= (int) SWIG_AsInt(obj1
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 (arg1
)->SetButtonChange(arg2
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 Py_INCREF(Py_None
); resultobj
= Py_None
;
11519 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11522 wxPoint
*arg2
= 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "pos", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11535 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 Py_INCREF(Py_None
); resultobj
= Py_None
;
11551 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self",(char *) "zPos", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11564 arg2
= (int) SWIG_AsInt(obj1
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 (arg1
)->SetZPosition(arg2
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 Py_INCREF(Py_None
); resultobj
= Py_None
;
11580 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "self", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11608 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
;
11610 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11612 PyObject
* obj0
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11636 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11640 PyObject
* obj0
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "self", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11664 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11667 int arg2
= (int) wxJOY_BUTTON_ANY
;
11669 PyObject
* obj0
= 0 ;
11670 PyObject
* obj1
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self",(char *) "but", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11679 arg2
= (int) SWIG_AsInt(obj1
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11698 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11701 int arg2
= (int) wxJOY_BUTTON_ANY
;
11703 PyObject
* obj0
= 0 ;
11704 PyObject
* obj1
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self",(char *) "but", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11713 arg2
= (int) SWIG_AsInt(obj1
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11732 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11735 int arg2
= (int) wxJOY_BUTTON_ANY
;
11737 PyObject
* obj0
= 0 ;
11738 PyObject
* obj1
= 0 ;
11739 char *kwnames
[] = {
11740 (char *) "self",(char *) "but", NULL
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11747 arg2
= (int) SWIG_AsInt(obj1
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11766 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11769 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11771 return Py_BuildValue((char *)"");
11773 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11776 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11778 bool temp1
= False
;
11779 PyObject
* obj0
= 0 ;
11780 char *kwnames
[] = {
11781 (char *) "fileName", NULL
11784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11787 arg1
= wxString_in_helper(obj0
);
11788 if (arg1
== NULL
) SWIG_fail
;
11793 if (!wxPyCheckForApp()) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11815 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 PyObject
*arg1
= (PyObject
*) 0 ;
11819 PyObject
* obj0
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "data", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11827 if (!wxPyCheckForApp()) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= (wxSound
*)new_wxSound(arg1
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11841 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxSound
*arg1
= (wxSound
*) 0 ;
11844 PyObject
* obj0
= 0 ;
11845 char *kwnames
[] = {
11846 (char *) "self", NULL
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 Py_INCREF(Py_None
); resultobj
= Py_None
;
11866 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
;
11868 wxSound
*arg1
= (wxSound
*) 0 ;
11869 wxString
*arg2
= 0 ;
11871 bool temp2
= False
;
11872 PyObject
* obj0
= 0 ;
11873 PyObject
* obj1
= 0 ;
11874 char *kwnames
[] = {
11875 (char *) "self",(char *) "fileName", NULL
11878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11882 arg2
= wxString_in_helper(obj1
);
11883 if (arg2
== NULL
) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11910 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxSound
*arg1
= (wxSound
*) 0 ;
11913 PyObject
*arg2
= (PyObject
*) 0 ;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self",(char *) "data", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11941 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxSound
*arg1
= (wxSound
*) 0 ;
11945 PyObject
* obj0
= 0 ;
11946 char *kwnames
[] = {
11947 (char *) "self", NULL
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= (bool)(arg1
)->IsOk();
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11969 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxSound
*arg1
= (wxSound
*) 0 ;
11972 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11974 PyObject
* obj0
= 0 ;
11975 PyObject
* obj1
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self",(char *) "flags", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11984 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11988 if (!wxPyCheckForApp()) SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12004 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxString
*arg1
= 0 ;
12007 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12009 bool temp1
= False
;
12010 PyObject
* obj0
= 0 ;
12011 PyObject
* obj1
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "filename",(char *) "flags", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12018 arg1
= wxString_in_helper(obj0
);
12019 if (arg1
== NULL
) SWIG_fail
;
12023 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 if (!wxPyCheckForApp()) SWIG_fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12051 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 char *kwnames
[] = {
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12059 if (!wxPyCheckForApp()) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 Py_INCREF(Py_None
); resultobj
= Py_None
;
12073 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
12075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12076 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12078 return Py_BuildValue((char *)"");
12080 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxString
*arg1
= 0 ;
12083 wxString
*arg2
= 0 ;
12084 wxString
*arg3
= 0 ;
12085 wxString
*arg4
= 0 ;
12086 wxFileTypeInfo
*result
;
12087 bool temp1
= False
;
12088 bool temp2
= False
;
12089 bool temp3
= False
;
12090 bool temp4
= False
;
12091 PyObject
* obj0
= 0 ;
12092 PyObject
* obj1
= 0 ;
12093 PyObject
* obj2
= 0 ;
12094 PyObject
* obj3
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12101 arg1
= wxString_in_helper(obj0
);
12102 if (arg1
== NULL
) SWIG_fail
;
12106 arg2
= wxString_in_helper(obj1
);
12107 if (arg2
== NULL
) SWIG_fail
;
12111 arg3
= wxString_in_helper(obj2
);
12112 if (arg3
== NULL
) SWIG_fail
;
12116 arg4
= wxString_in_helper(obj3
);
12117 if (arg4
== NULL
) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12166 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxArrayString
*arg1
= 0 ;
12169 wxFileTypeInfo
*result
;
12170 bool temp1
= False
;
12171 PyObject
* obj0
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "sArray", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12178 if (! PySequence_Check(obj0
)) {
12179 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12182 arg1
= new wxArrayString
;
12184 int i
, len
=PySequence_Length(obj0
);
12185 for (i
=0; i
<len
; i
++) {
12186 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12188 PyObject
* str
= PyObject_Unicode(item
);
12190 PyObject
* str
= PyObject_Str(item
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12193 arg1
->Add(Py2wxString(str
));
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12207 if (temp1
) delete arg1
;
12212 if (temp1
) delete arg1
;
12218 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxFileTypeInfo
*result
;
12221 char *kwnames
[] = {
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12240 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
;
12242 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12268 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12271 wxString
*arg2
= 0 ;
12272 int arg3
= (int) 0 ;
12273 bool temp2
= False
;
12274 PyObject
* obj0
= 0 ;
12275 PyObject
* obj1
= 0 ;
12276 PyObject
* obj2
= 0 ;
12277 char *kwnames
[] = {
12278 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12285 arg2
= wxString_in_helper(obj1
);
12286 if (arg2
== NULL
) SWIG_fail
;
12290 arg3
= (int) SWIG_AsInt(obj2
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 Py_INCREF(Py_None
); resultobj
= Py_None
;
12315 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12318 wxString
*arg2
= 0 ;
12319 bool temp2
= False
;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "shortDesc", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12330 arg2
= wxString_in_helper(obj1
);
12331 if (arg2
== NULL
) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 Py_INCREF(Py_None
); resultobj
= Py_None
;
12356 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12372 result
= (wxString
*) &_result_ref
;
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12382 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12391 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12395 PyObject
* obj0
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12407 result
= (wxString
*) &_result_ref
;
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12417 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12426 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12430 PyObject
* obj0
= 0 ;
12431 char *kwnames
[] = {
12432 (char *) "self", NULL
12435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12442 result
= (wxString
*) &_result_ref
;
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12452 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12461 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12477 result
= (wxString
*) &_result_ref
;
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12487 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12496 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12512 result
= (wxString
*) &_result_ref
;
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12522 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12531 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12534 wxArrayString
*result
;
12535 PyObject
* obj0
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12547 result
= (wxArrayString
*) &_result_ref
;
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= wxArrayString2PyList_helper(*result
);
12562 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "self", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= SWIG_FromInt((int)result
);
12588 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12604 result
= (wxString
*) &_result_ref
;
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12614 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12623 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= SWIG_FromInt((int)result
);
12649 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12652 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12654 return Py_BuildValue((char *)"");
12656 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxFileTypeInfo
*arg1
= 0 ;
12659 wxFileType
*result
;
12660 PyObject
* obj0
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "ftInfo", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12669 if (arg1
== NULL
) {
12670 PyErr_SetString(PyExc_TypeError
,"null reference");
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12687 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxFileType
*arg1
= (wxFileType
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 Py_INCREF(Py_None
); resultobj
= Py_None
;
12712 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxFileType
*arg1
= (wxFileType
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= result
;
12738 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxFileType
*arg1
= (wxFileType
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 resultobj
= result
;
12764 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxFileType
*arg1
= (wxFileType
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= result
;
12790 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxFileType
*arg1
= (wxFileType
*) 0 ;
12794 PyObject
* obj0
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12816 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxFileType
*arg1
= (wxFileType
*) 0 ;
12820 PyObject
* obj0
= 0 ;
12821 char *kwnames
[] = {
12822 (char *) "self", NULL
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= result
;
12842 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxFileType
*arg1
= (wxFileType
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= result
;
12868 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxFileType
*arg1
= (wxFileType
*) 0 ;
12871 wxString
*arg2
= 0 ;
12872 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12873 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12875 bool temp2
= False
;
12876 bool temp3
= False
;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 PyObject
* obj2
= 0 ;
12880 char *kwnames
[] = {
12881 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12888 arg2
= wxString_in_helper(obj1
);
12889 if (arg2
== NULL
) SWIG_fail
;
12894 arg3
= wxString_in_helper(obj2
);
12895 if (arg3
== NULL
) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12906 resultobj
= result
;
12929 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxFileType
*arg1
= (wxFileType
*) 0 ;
12932 wxString
*arg2
= 0 ;
12933 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12934 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12936 bool temp2
= False
;
12937 bool temp3
= False
;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 PyObject
* obj2
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12949 arg2
= wxString_in_helper(obj1
);
12950 if (arg2
== NULL
) SWIG_fail
;
12955 arg3
= wxString_in_helper(obj2
);
12956 if (arg3
== NULL
) SWIG_fail
;
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= result
;
12990 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxFileType
*arg1
= (wxFileType
*) 0 ;
12993 wxString
*arg2
= 0 ;
12994 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12995 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12997 bool temp2
= False
;
12998 bool temp3
= False
;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 PyObject
* obj2
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 arg2
= wxString_in_helper(obj1
);
13011 if (arg2
== NULL
) SWIG_fail
;
13016 arg3
= wxString_in_helper(obj2
);
13017 if (arg3
== NULL
) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 resultobj
= result
;
13051 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxFileType
*arg1
= (wxFileType
*) 0 ;
13054 wxString
*arg2
= 0 ;
13055 wxString
*arg3
= 0 ;
13056 bool arg4
= (bool) True
;
13058 bool temp2
= False
;
13059 bool temp3
= False
;
13060 PyObject
* obj0
= 0 ;
13061 PyObject
* obj1
= 0 ;
13062 PyObject
* obj2
= 0 ;
13063 PyObject
* obj3
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13072 arg2
= wxString_in_helper(obj1
);
13073 if (arg2
== NULL
) SWIG_fail
;
13077 arg3
= wxString_in_helper(obj2
);
13078 if (arg3
== NULL
) SWIG_fail
;
13082 arg4
= (bool) SWIG_AsBool(obj3
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13117 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxFileType
*arg1
= (wxFileType
*) 0 ;
13120 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13121 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13122 int arg3
= (int) 0 ;
13124 bool temp2
= False
;
13125 PyObject
* obj0
= 0 ;
13126 PyObject
* obj1
= 0 ;
13127 PyObject
* obj2
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self",(char *) "cmd",(char *) "index", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13137 arg2
= wxString_in_helper(obj1
);
13138 if (arg2
== NULL
) SWIG_fail
;
13143 arg3
= (int) SWIG_AsInt(obj2
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13170 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxFileType
*arg1
= (wxFileType
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= (bool)(arg1
)->Unassociate();
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13198 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
;
13200 wxString
*arg1
= 0 ;
13201 wxString
*arg2
= 0 ;
13202 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13203 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13205 bool temp1
= False
;
13206 bool temp2
= False
;
13207 bool temp3
= False
;
13208 PyObject
* obj0
= 0 ;
13209 PyObject
* obj1
= 0 ;
13210 PyObject
* obj2
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13217 arg1
= wxString_in_helper(obj0
);
13218 if (arg1
== NULL
) SWIG_fail
;
13222 arg2
= wxString_in_helper(obj1
);
13223 if (arg2
== NULL
) SWIG_fail
;
13228 arg3
= wxString_in_helper(obj2
);
13229 if (arg3
== NULL
) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13277 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13280 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13282 return Py_BuildValue((char *)"");
13284 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13285 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13290 static PyObject
*_wrap_TheMimeTypesManager_get() {
13293 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13298 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxString
*arg1
= 0 ;
13301 wxString
*arg2
= 0 ;
13303 bool temp1
= False
;
13304 bool temp2
= False
;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "mimeType",(char *) "wildcard", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13313 arg1
= wxString_in_helper(obj0
);
13314 if (arg1
== NULL
) SWIG_fail
;
13318 arg2
= wxString_in_helper(obj1
);
13319 if (arg2
== NULL
) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13354 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxMimeTypesManager
*result
;
13357 char *kwnames
[] = {
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13376 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13379 int arg2
= (int) wxMAILCAP_ALL
;
13380 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13381 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13382 bool temp3
= False
;
13383 PyObject
* obj0
= 0 ;
13384 PyObject
* obj1
= 0 ;
13385 PyObject
* obj2
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 arg2
= (int) SWIG_AsInt(obj1
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13399 arg3
= wxString_in_helper(obj2
);
13400 if (arg3
== NULL
) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13426 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 (arg1
)->ClearData();
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 Py_INCREF(Py_None
); resultobj
= Py_None
;
13451 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13454 wxString
*arg2
= 0 ;
13455 wxFileType
*result
;
13456 bool temp2
= False
;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "ext", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13467 arg2
= wxString_in_helper(obj1
);
13468 if (arg2
== NULL
) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13493 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13496 wxString
*arg2
= 0 ;
13497 wxFileType
*result
;
13498 bool temp2
= False
;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "mimeType", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13509 arg2
= wxString_in_helper(obj1
);
13510 if (arg2
== NULL
) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13535 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13538 wxString
*arg2
= 0 ;
13539 bool arg3
= (bool) False
;
13541 bool temp2
= False
;
13542 PyObject
* obj0
= 0 ;
13543 PyObject
* obj1
= 0 ;
13544 PyObject
* obj2
= 0 ;
13545 char *kwnames
[] = {
13546 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13553 arg2
= wxString_in_helper(obj1
);
13554 if (arg2
== NULL
) SWIG_fail
;
13558 arg3
= (bool) SWIG_AsBool(obj2
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13585 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13588 wxString
*arg2
= 0 ;
13590 bool temp2
= False
;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self",(char *) "filename", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13601 arg2
= wxString_in_helper(obj1
);
13602 if (arg2
== NULL
) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13629 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 char *kwnames
[] = {
13635 (char *) "self", NULL
13638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= result
;
13655 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13658 wxFileTypeInfo
*arg2
= 0 ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self",(char *) "ft", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13671 if (arg2
== NULL
) {
13672 PyErr_SetString(PyExc_TypeError
,"null reference");
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 Py_INCREF(Py_None
); resultobj
= Py_None
;
13689 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13691 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13692 wxFileTypeInfo
*arg2
= 0 ;
13693 wxFileType
*result
;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "self",(char *) "ftInfo", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13706 if (arg2
== NULL
) {
13707 PyErr_SetString(PyExc_TypeError
,"null reference");
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13724 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13727 wxFileType
*arg2
= (wxFileType
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self",(char *) "ft", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 result
= (bool)(arg1
)->Unassociate(arg2
);
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13756 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13759 PyObject
* obj0
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 Py_INCREF(Py_None
); resultobj
= Py_None
;
13781 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13784 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13786 return Py_BuildValue((char *)"");
13788 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13789 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13794 static PyObject
*_wrap_ART_TOOLBAR_get() {
13799 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13801 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13808 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13809 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13814 static PyObject
*_wrap_ART_MENU_get() {
13819 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13821 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13828 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13829 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13834 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13839 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13841 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13848 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13849 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13854 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13859 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13861 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13868 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13869 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13874 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13879 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13881 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13888 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13889 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13894 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13899 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13901 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13908 static int _wrap_ART_BUTTON_set(PyObject
*_val
) {
13909 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
13914 static PyObject
*_wrap_ART_BUTTON_get() {
13919 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
13921 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
13928 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13929 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13934 static PyObject
*_wrap_ART_OTHER_get() {
13939 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13941 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13948 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13949 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13954 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13959 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13961 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13968 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13969 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13974 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13979 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13981 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13988 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13989 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13994 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13999 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14001 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14008 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
14009 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14014 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14019 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14021 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14028 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
14029 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14034 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14039 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14041 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14048 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
14049 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14054 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14059 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14061 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14068 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
14069 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14074 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14079 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14081 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14088 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
14089 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14094 static PyObject
*_wrap_ART_GO_BACK_get() {
14099 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14101 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14108 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
14109 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14114 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14119 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14121 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14128 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
14129 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14134 static PyObject
*_wrap_ART_GO_UP_get() {
14139 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14141 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14148 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
14149 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14154 static PyObject
*_wrap_ART_GO_DOWN_get() {
14159 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14161 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14168 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
14169 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14174 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14179 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14181 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14188 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
14189 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14194 static PyObject
*_wrap_ART_GO_HOME_get() {
14199 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14201 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14208 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14209 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14214 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14219 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14221 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14228 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14229 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14234 static PyObject
*_wrap_ART_PRINT_get() {
14239 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14241 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14248 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14249 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14254 static PyObject
*_wrap_ART_HELP_get() {
14259 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14261 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14268 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14269 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14274 static PyObject
*_wrap_ART_TIP_get() {
14279 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14281 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14288 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14289 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14294 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14299 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14301 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14308 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14309 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14314 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14319 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14321 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14328 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14329 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14334 static PyObject
*_wrap_ART_NEW_DIR_get() {
14339 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14341 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14348 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14349 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14354 static PyObject
*_wrap_ART_FOLDER_get() {
14359 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14361 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14368 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14369 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14374 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14379 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14381 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14388 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14389 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14394 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14399 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14401 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14408 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14409 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14414 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14419 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14421 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14428 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14429 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14434 static PyObject
*_wrap_ART_TICK_MARK_get() {
14439 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14441 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14448 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14449 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14454 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14459 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14461 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14468 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14469 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14474 static PyObject
*_wrap_ART_ERROR_get() {
14479 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14481 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14488 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14489 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14494 static PyObject
*_wrap_ART_QUESTION_get() {
14499 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14501 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14508 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14509 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14514 static PyObject
*_wrap_ART_WARNING_get() {
14519 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14521 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14528 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14529 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14534 static PyObject
*_wrap_ART_INFORMATION_get() {
14539 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14541 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14548 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14549 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14554 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14559 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14561 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14568 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
;
14570 wxPyArtProvider
*result
;
14571 char *kwnames
[] = {
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14577 if (!wxPyCheckForApp()) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14591 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14594 PyObject
*arg2
= (PyObject
*) 0 ;
14595 PyObject
*arg3
= (PyObject
*) 0 ;
14596 PyObject
* obj0
= 0 ;
14597 PyObject
* obj1
= 0 ;
14598 PyObject
* obj2
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self",(char *) "self",(char *) "_class", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14615 Py_INCREF(Py_None
); resultobj
= Py_None
;
14622 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
;
14624 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 char *kwnames
[] = {
14627 (char *) "provider", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 wxPyArtProvider::PushProvider(arg1
);
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 Py_INCREF(Py_None
); resultobj
= Py_None
;
14647 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14650 char *kwnames
[] = {
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 result
= (bool)wxPyArtProvider::PopProvider();
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14671 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "provider", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14699 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxString
*arg1
= 0 ;
14702 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14703 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14704 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14705 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14707 bool temp1
= False
;
14708 bool temp2
= False
;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 PyObject
* obj2
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "id",(char *) "client",(char *) "size", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14719 arg1
= wxString_in_helper(obj0
);
14720 if (arg1
== NULL
) SWIG_fail
;
14725 arg2
= wxString_in_helper(obj1
);
14726 if (arg2
== NULL
) SWIG_fail
;
14733 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14737 if (!wxPyCheckForApp()) SWIG_fail
;
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14745 wxBitmap
* resultptr
;
14746 resultptr
= new wxBitmap((wxBitmap
&) result
);
14747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14771 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxString
*arg1
= 0 ;
14774 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14775 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14776 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14777 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14779 bool temp1
= False
;
14780 bool temp2
= False
;
14782 PyObject
* obj0
= 0 ;
14783 PyObject
* obj1
= 0 ;
14784 PyObject
* obj2
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "id",(char *) "client",(char *) "size", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14791 arg1
= wxString_in_helper(obj0
);
14792 if (arg1
== NULL
) SWIG_fail
;
14797 arg2
= wxString_in_helper(obj1
);
14798 if (arg2
== NULL
) SWIG_fail
;
14805 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14809 if (!wxPyCheckForApp()) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14813 wxPyEndAllowThreads(__tstate
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14817 wxIcon
* resultptr
;
14818 resultptr
= new wxIcon((wxIcon
&) result
);
14819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14843 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 wxPyArtProvider_Destroy(arg1
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 Py_INCREF(Py_None
); resultobj
= Py_None
;
14868 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14873 return Py_BuildValue((char *)"");
14875 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 Py_INCREF(Py_None
); resultobj
= Py_None
;
14900 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
;
14902 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14903 wxConfigBase
*result
;
14904 PyObject
* obj0
= 0 ;
14905 char *kwnames
[] = {
14906 (char *) "config", NULL
14909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14926 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 bool arg1
= (bool) True
;
14929 wxConfigBase
*result
;
14930 PyObject
* obj0
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "createOnDemand", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14937 arg1
= (bool) SWIG_AsBool(obj0
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14954 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxConfigBase
*result
;
14957 char *kwnames
[] = {
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (wxConfigBase
*)wxConfigBase::Create();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14976 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 char *kwnames
[] = {
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 wxConfigBase::DontCreateOnDemand();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 Py_INCREF(Py_None
); resultobj
= Py_None
;
14997 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15000 wxString
*arg2
= 0 ;
15001 bool temp2
= False
;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self",(char *) "path", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 arg2
= wxString_in_helper(obj1
);
15013 if (arg2
== NULL
) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 (arg1
)->SetPath((wxString
const &)*arg2
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 Py_INCREF(Py_None
); resultobj
= Py_None
;
15038 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15054 result
= (wxString
*) &_result_ref
;
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15064 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15073 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= result
;
15099 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self",(char *) "index", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15113 arg2
= (long) SWIG_AsLong(obj1
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= result
;
15129 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15133 PyObject
* obj0
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "self", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= result
;
15155 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15160 PyObject
* obj0
= 0 ;
15161 PyObject
* obj1
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self",(char *) "index", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15169 arg2
= (long) SWIG_AsLong(obj1
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= result
;
15185 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15188 bool arg2
= (bool) False
;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self",(char *) "recursive", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15200 arg2
= (bool) SWIG_AsBool(obj1
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15217 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15220 bool arg2
= (bool) False
;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self",(char *) "recursive", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15232 arg2
= (bool) SWIG_AsBool(obj1
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15249 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15252 wxString
*arg2
= 0 ;
15254 bool temp2
= False
;
15255 PyObject
* obj0
= 0 ;
15256 PyObject
* obj1
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self",(char *) "name", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15265 arg2
= wxString_in_helper(obj1
);
15266 if (arg2
== NULL
) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15293 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15296 wxString
*arg2
= 0 ;
15298 bool temp2
= False
;
15299 PyObject
* obj0
= 0 ;
15300 PyObject
* obj1
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self",(char *) "name", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 arg2
= wxString_in_helper(obj1
);
15310 if (arg2
== NULL
) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15337 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15338 PyObject
*resultobj
;
15339 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15340 wxString
*arg2
= 0 ;
15342 bool temp2
= False
;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "name", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",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
= wxString_in_helper(obj1
);
15354 if (arg2
== NULL
) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15381 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15384 wxString
*arg2
= 0 ;
15386 bool temp2
= False
;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "name", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15397 arg2
= wxString_in_helper(obj1
);
15398 if (arg2
== NULL
) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_FromInt((int)result
);
15423 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15426 wxString
*arg2
= 0 ;
15427 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15428 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15430 bool temp2
= False
;
15431 bool temp3
= False
;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 arg2
= wxString_in_helper(obj1
);
15444 if (arg2
== NULL
) SWIG_fail
;
15449 arg3
= wxString_in_helper(obj2
);
15450 if (arg3
== NULL
) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15490 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15493 wxString
*arg2
= 0 ;
15494 long arg3
= (long) 0 ;
15496 bool temp2
= False
;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 PyObject
* obj2
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 arg2
= wxString_in_helper(obj1
);
15509 if (arg2
== NULL
) SWIG_fail
;
15513 arg3
= (long) SWIG_AsLong(obj2
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= SWIG_FromLong((long)result
);
15538 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15541 wxString
*arg2
= 0 ;
15542 double arg3
= (double) 0.0 ;
15544 bool temp2
= False
;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15547 PyObject
* obj2
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 arg2
= wxString_in_helper(obj1
);
15557 if (arg2
== NULL
) SWIG_fail
;
15561 arg3
= (double) SWIG_AsDouble(obj2
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_FromDouble((double)result
);
15586 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
;
15588 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15589 wxString
*arg2
= 0 ;
15590 bool arg3
= (bool) False
;
15592 bool temp2
= False
;
15593 PyObject
* obj0
= 0 ;
15594 PyObject
* obj1
= 0 ;
15595 PyObject
* obj2
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15604 arg2
= wxString_in_helper(obj1
);
15605 if (arg2
== NULL
) SWIG_fail
;
15609 arg3
= (bool) SWIG_AsBool(obj2
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15636 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15639 wxString
*arg2
= 0 ;
15640 wxString
*arg3
= 0 ;
15642 bool temp2
= False
;
15643 bool temp3
= False
;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 PyObject
* obj2
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self",(char *) "key",(char *) "value", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15655 arg2
= wxString_in_helper(obj1
);
15656 if (arg2
== NULL
) SWIG_fail
;
15660 arg3
= wxString_in_helper(obj2
);
15661 if (arg3
== NULL
) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15696 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
;
15698 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15699 wxString
*arg2
= 0 ;
15702 bool temp2
= False
;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 PyObject
* obj2
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self",(char *) "key",(char *) "value", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15714 arg2
= wxString_in_helper(obj1
);
15715 if (arg2
== NULL
) SWIG_fail
;
15718 arg3
= (long) SWIG_AsLong(obj2
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15744 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15747 wxString
*arg2
= 0 ;
15750 bool temp2
= False
;
15751 PyObject
* obj0
= 0 ;
15752 PyObject
* obj1
= 0 ;
15753 PyObject
* obj2
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self",(char *) "key",(char *) "value", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 arg2
= wxString_in_helper(obj1
);
15763 if (arg2
== NULL
) SWIG_fail
;
15766 arg3
= (double) SWIG_AsDouble(obj2
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15792 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15795 wxString
*arg2
= 0 ;
15798 bool temp2
= False
;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 PyObject
* obj2
= 0 ;
15802 char *kwnames
[] = {
15803 (char *) "self",(char *) "key",(char *) "value", NULL
15806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 arg2
= wxString_in_helper(obj1
);
15811 if (arg2
== NULL
) SWIG_fail
;
15814 arg3
= (bool) SWIG_AsBool(obj2
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15840 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15843 bool arg2
= (bool) False
;
15845 PyObject
* obj0
= 0 ;
15846 PyObject
* obj1
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self",(char *) "currentOnly", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15855 arg2
= (bool) SWIG_AsBool(obj1
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (bool)(arg1
)->Flush(arg2
);
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15874 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15877 wxString
*arg2
= 0 ;
15878 wxString
*arg3
= 0 ;
15880 bool temp2
= False
;
15881 bool temp3
= False
;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 PyObject
* obj2
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 arg2
= wxString_in_helper(obj1
);
15894 if (arg2
== NULL
) SWIG_fail
;
15898 arg3
= wxString_in_helper(obj2
);
15899 if (arg3
== NULL
) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15934 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15937 wxString
*arg2
= 0 ;
15938 wxString
*arg3
= 0 ;
15940 bool temp2
= False
;
15941 bool temp3
= False
;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 PyObject
* obj2
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15953 arg2
= wxString_in_helper(obj1
);
15954 if (arg2
== NULL
) SWIG_fail
;
15958 arg3
= wxString_in_helper(obj2
);
15959 if (arg3
== NULL
) SWIG_fail
;
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15994 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
;
15996 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15997 wxString
*arg2
= 0 ;
15998 bool arg3
= (bool) True
;
16000 bool temp2
= False
;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 PyObject
* obj2
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16012 arg2
= wxString_in_helper(obj1
);
16013 if (arg2
== NULL
) SWIG_fail
;
16017 arg3
= (bool) SWIG_AsBool(obj2
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16044 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16047 wxString
*arg2
= 0 ;
16049 bool temp2
= False
;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self",(char *) "key", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16060 arg2
= wxString_in_helper(obj1
);
16061 if (arg2
== NULL
) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16088 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (bool)(arg1
)->DeleteAll();
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16116 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16119 bool arg2
= (bool) True
;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "doIt", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16130 arg2
= (bool) SWIG_AsBool(obj1
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 (arg1
)->SetExpandEnvVars(arg2
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 Py_INCREF(Py_None
); resultobj
= Py_None
;
16147 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16175 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16178 bool arg2
= (bool) True
;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self",(char *) "doIt", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16189 arg2
= (bool) SWIG_AsBool(obj1
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 (arg1
)->SetRecordDefaults(arg2
);
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16199 Py_INCREF(Py_None
); resultobj
= Py_None
;
16206 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16234 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16237 wxString
*arg2
= 0 ;
16239 bool temp2
= False
;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self",(char *) "str", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 arg2
= wxString_in_helper(obj1
);
16251 if (arg2
== NULL
) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16282 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
;
16284 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16286 PyObject
* obj0
= 0 ;
16287 char *kwnames
[] = {
16288 (char *) "self", NULL
16291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16314 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16346 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
;
16348 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16349 wxString
*arg2
= 0 ;
16350 bool temp2
= False
;
16351 PyObject
* obj0
= 0 ;
16352 PyObject
* obj1
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self",(char *) "appName", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16361 arg2
= wxString_in_helper(obj1
);
16362 if (arg2
== NULL
) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 (arg1
)->SetAppName((wxString
const &)*arg2
);
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 Py_INCREF(Py_None
); resultobj
= Py_None
;
16387 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16390 wxString
*arg2
= 0 ;
16391 bool temp2
= False
;
16392 PyObject
* obj0
= 0 ;
16393 PyObject
* obj1
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self",(char *) "vendorName", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16402 arg2
= wxString_in_helper(obj1
);
16403 if (arg2
== NULL
) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 Py_INCREF(Py_None
); resultobj
= Py_None
;
16428 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 PyObject
* obj1
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self",(char *) "style", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16441 arg2
= (long) SWIG_AsLong(obj1
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 (arg1
)->SetStyle(arg2
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 Py_INCREF(Py_None
); resultobj
= Py_None
;
16457 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16461 PyObject
* obj0
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 resultobj
= SWIG_FromLong((long)result
);
16483 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16486 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16488 return Py_BuildValue((char *)"");
16490 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16493 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16494 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16495 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16496 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16497 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16498 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16499 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16500 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16502 bool temp1
= False
;
16503 bool temp2
= False
;
16504 bool temp3
= False
;
16505 bool temp4
= False
;
16506 PyObject
* obj0
= 0 ;
16507 PyObject
* obj1
= 0 ;
16508 PyObject
* obj2
= 0 ;
16509 PyObject
* obj3
= 0 ;
16510 PyObject
* obj4
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16518 arg1
= wxString_in_helper(obj0
);
16519 if (arg1
== NULL
) SWIG_fail
;
16525 arg2
= wxString_in_helper(obj1
);
16526 if (arg2
== NULL
) SWIG_fail
;
16532 arg3
= wxString_in_helper(obj2
);
16533 if (arg3
== NULL
) SWIG_fail
;
16539 arg4
= wxString_in_helper(obj3
);
16540 if (arg4
== NULL
) SWIG_fail
;
16545 arg5
= (long) SWIG_AsLong(obj4
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16594 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxConfig
*arg1
= (wxConfig
*) 0 ;
16597 PyObject
* obj0
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 Py_INCREF(Py_None
); resultobj
= Py_None
;
16619 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16622 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16624 return Py_BuildValue((char *)"");
16626 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16629 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16630 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16631 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16632 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16633 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16634 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16635 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16636 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16637 wxFileConfig
*result
;
16638 bool temp1
= False
;
16639 bool temp2
= False
;
16640 bool temp3
= False
;
16641 bool temp4
= False
;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 PyObject
* obj2
= 0 ;
16645 PyObject
* obj3
= 0 ;
16646 PyObject
* obj4
= 0 ;
16647 char *kwnames
[] = {
16648 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16654 arg1
= wxString_in_helper(obj0
);
16655 if (arg1
== NULL
) SWIG_fail
;
16661 arg2
= wxString_in_helper(obj1
);
16662 if (arg2
== NULL
) SWIG_fail
;
16668 arg3
= wxString_in_helper(obj2
);
16669 if (arg3
== NULL
) SWIG_fail
;
16675 arg4
= wxString_in_helper(obj3
);
16676 if (arg4
== NULL
) SWIG_fail
;
16681 arg5
= (long) SWIG_AsLong(obj4
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16730 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16733 PyObject
* obj0
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 Py_INCREF(Py_None
); resultobj
= Py_None
;
16755 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16758 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16760 return Py_BuildValue((char *)"");
16762 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16764 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16765 wxString
*arg2
= 0 ;
16766 wxConfigPathChanger
*result
;
16767 bool temp2
= False
;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "config",(char *) "entry", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16778 arg2
= wxString_in_helper(obj1
);
16779 if (arg2
== NULL
) SWIG_fail
;
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16804 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16807 PyObject
* obj0
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "self", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 Py_INCREF(Py_None
); resultobj
= Py_None
;
16829 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16845 result
= (wxString
*) &_result_ref
;
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16855 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16864 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16867 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16869 return Py_BuildValue((char *)"");
16871 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxString
*arg1
= 0 ;
16875 bool temp1
= False
;
16876 PyObject
* obj0
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "sz", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16883 arg1
= wxString_in_helper(obj0
);
16884 if (arg1
== NULL
) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16915 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16916 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16921 static PyObject
*_wrap_DateFormatStr_get() {
16926 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16928 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16935 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16936 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16941 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16946 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16948 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16955 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16958 PyObject
* obj0
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "country", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16964 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 Py_INCREF(Py_None
); resultobj
= Py_None
;
16980 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16983 char *kwnames
[] = {
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (int)wxDateTime::GetCountry();
16992 wxPyEndAllowThreads(__tstate
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16995 resultobj
= SWIG_FromInt((int)result
);
17002 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 int arg1
= (int) wxDateTime::Country_Default
;
17006 PyObject
* obj0
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "country", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17013 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17032 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 int arg1
= (int) wxDateTime::Gregorian
;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "cal", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17043 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= SWIG_FromInt((int)result
);
17060 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17064 PyObject
* obj0
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "year", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17070 arg1
= (int) SWIG_AsInt(obj0
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= SWIG_FromInt((int)result
);
17086 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 int arg1
= (int) wxDateTime::Gregorian
;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "cal", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17097 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= SWIG_FromInt((int)result
);
17114 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 int arg1
= (int) wxDateTime::Inv_Year
;
17117 int arg2
= (int) wxDateTime::Gregorian
;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "year",(char *) "cal", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17127 arg1
= (int) SWIG_AsInt(obj0
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17150 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 int arg1
= (int) wxDateTime::Inv_Year
;
17154 PyObject
* obj0
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "year", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17161 arg1
= (int) SWIG_AsInt(obj0
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= (int)wxDateTime::GetCentury(arg1
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 resultobj
= SWIG_FromInt((int)result
);
17178 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17181 int arg2
= (int) wxDateTime::Gregorian
;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "year",(char *) "cal", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17190 arg1
= (int) SWIG_AsInt(obj0
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= SWIG_FromInt((int)result
);
17210 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17213 int arg2
= (int) wxDateTime::Inv_Year
;
17214 int arg3
= (int) wxDateTime::Gregorian
;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 PyObject
* obj2
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "month",(char *) "year",(char *) "cal", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17224 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 arg2
= (int) SWIG_AsInt(obj1
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17231 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= SWIG_FromInt((int)result
);
17248 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17251 int arg2
= (int) wxDateTime::Name_Full
;
17253 PyObject
* obj0
= 0 ;
17254 PyObject
* obj1
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "month",(char *) "flags", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17260 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17263 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17286 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17289 int arg2
= (int) wxDateTime::Name_Full
;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "weekday",(char *) "flags", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17298 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17324 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxString
*arg1
= (wxString
*) 0 ;
17327 wxString
*arg2
= (wxString
*) 0 ;
17328 bool temp1
= False
;
17329 bool temp2
= False
;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17338 arg1
= wxString_in_helper(obj0
);
17339 if (arg1
== NULL
) SWIG_fail
;
17343 arg2
= wxString_in_helper(obj1
);
17344 if (arg2
== NULL
) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17377 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 int arg1
= (int) wxDateTime::Inv_Year
;
17380 int arg2
= (int) wxDateTime::Country_Default
;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "year",(char *) "country", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17390 arg1
= (int) SWIG_AsInt(obj0
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17394 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17413 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 int arg1
= (int) wxDateTime::Inv_Year
;
17416 int arg2
= (int) wxDateTime::Country_Default
;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "year",(char *) "country", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17426 arg1
= (int) SWIG_AsInt(obj0
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17441 wxDateTime
* resultptr
;
17442 resultptr
= new wxDateTime((wxDateTime
&) result
);
17443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17451 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 int arg1
= (int) wxDateTime::Inv_Year
;
17454 int arg2
= (int) wxDateTime::Country_Default
;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "year",(char *) "country", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17464 arg1
= (int) SWIG_AsInt(obj0
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17479 wxDateTime
* resultptr
;
17480 resultptr
= new wxDateTime((wxDateTime
&) result
);
17481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17489 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17492 char *kwnames
[] = {
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= wxDateTime::Now();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 wxDateTime
* resultptr
;
17506 resultptr
= new wxDateTime((wxDateTime
&) result
);
17507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17515 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17518 char *kwnames
[] = {
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= wxDateTime::UNow();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 wxDateTime
* resultptr
;
17532 resultptr
= new wxDateTime((wxDateTime
&) result
);
17533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17541 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17544 char *kwnames
[] = {
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 result
= wxDateTime::Today();
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17557 wxDateTime
* resultptr
;
17558 resultptr
= new wxDateTime((wxDateTime
&) result
);
17559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17567 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxDateTime
*result
;
17570 char *kwnames
[] = {
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (wxDateTime
*)new wxDateTime();
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17589 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17592 wxDateTime
*result
;
17593 PyObject
* obj0
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "timet", NULL
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17599 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 result
= (wxDateTime
*)new wxDateTime(arg1
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17615 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17618 wxDateTime
*result
;
17619 PyObject
* obj0
= 0 ;
17620 char *kwnames
[] = {
17621 (char *) "jdn", NULL
17624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17625 arg1
= (double) SWIG_AsDouble(obj0
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (wxDateTime
*)new wxDateTime(arg1
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17641 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17644 int arg2
= (int) 0 ;
17645 int arg3
= (int) 0 ;
17646 int arg4
= (int) 0 ;
17647 wxDateTime
*result
;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 PyObject
* obj2
= 0 ;
17651 PyObject
* obj3
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17657 arg1
= (int) SWIG_AsInt(obj0
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 arg2
= (int) SWIG_AsInt(obj1
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 arg3
= (int) SWIG_AsInt(obj2
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 arg4
= (int) SWIG_AsInt(obj3
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17685 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17688 int arg2
= (int) wxDateTime::Inv_Month
;
17689 int arg3
= (int) wxDateTime::Inv_Year
;
17690 int arg4
= (int) 0 ;
17691 int arg5
= (int) 0 ;
17692 int arg6
= (int) 0 ;
17693 int arg7
= (int) 0 ;
17694 wxDateTime
*result
;
17695 PyObject
* obj0
= 0 ;
17696 PyObject
* obj1
= 0 ;
17697 PyObject
* obj2
= 0 ;
17698 PyObject
* obj3
= 0 ;
17699 PyObject
* obj4
= 0 ;
17700 PyObject
* obj5
= 0 ;
17701 PyObject
* obj6
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17707 arg1
= (int) SWIG_AsInt(obj0
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17714 arg3
= (int) SWIG_AsInt(obj2
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17718 arg4
= (int) SWIG_AsInt(obj3
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17722 arg5
= (int) SWIG_AsInt(obj4
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17726 arg6
= (int) SWIG_AsInt(obj5
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17730 arg7
= (int) SWIG_AsInt(obj6
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17747 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
;
17749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17750 PyObject
* obj0
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 Py_INCREF(Py_None
); resultobj
= Py_None
;
17772 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17775 wxDateTime
*result
;
17776 PyObject
* obj0
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17788 result
= (wxDateTime
*) &_result_ref
;
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17801 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17805 wxDateTime
*result
;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self",(char *) "timet", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17815 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17821 result
= (wxDateTime
*) &_result_ref
;
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17834 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17838 wxDateTime
*result
;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self",(char *) "jdn", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17848 arg2
= (double) SWIG_AsDouble(obj1
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17854 result
= (wxDateTime
*) &_result_ref
;
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17867 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17871 int arg3
= (int) 0 ;
17872 int arg4
= (int) 0 ;
17873 int arg5
= (int) 0 ;
17874 wxDateTime
*result
;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 PyObject
* obj2
= 0 ;
17878 PyObject
* obj3
= 0 ;
17879 PyObject
* obj4
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17887 arg2
= (int) SWIG_AsInt(obj1
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 arg3
= (int) SWIG_AsInt(obj2
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17894 arg4
= (int) SWIG_AsInt(obj3
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 arg5
= (int) SWIG_AsInt(obj4
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17905 result
= (wxDateTime
*) &_result_ref
;
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17918 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17922 int arg3
= (int) wxDateTime::Inv_Month
;
17923 int arg4
= (int) wxDateTime::Inv_Year
;
17924 int arg5
= (int) 0 ;
17925 int arg6
= (int) 0 ;
17926 int arg7
= (int) 0 ;
17927 int arg8
= (int) 0 ;
17928 wxDateTime
*result
;
17929 PyObject
* obj0
= 0 ;
17930 PyObject
* obj1
= 0 ;
17931 PyObject
* obj2
= 0 ;
17932 PyObject
* obj3
= 0 ;
17933 PyObject
* obj4
= 0 ;
17934 PyObject
* obj5
= 0 ;
17935 PyObject
* obj6
= 0 ;
17936 PyObject
* obj7
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 arg2
= (int) SWIG_AsInt(obj1
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17951 arg4
= (int) SWIG_AsInt(obj3
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17955 arg5
= (int) SWIG_AsInt(obj4
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 arg6
= (int) SWIG_AsInt(obj5
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17963 arg7
= (int) SWIG_AsInt(obj6
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17967 arg8
= (int) SWIG_AsInt(obj7
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
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_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17990 wxDateTime
*result
;
17991 PyObject
* obj0
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18003 result
= (wxDateTime
*) &_result_ref
;
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18016 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
;
18018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18020 wxDateTime
*result
;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 char *kwnames
[] = {
18024 (char *) "self",(char *) "year", NULL
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 arg2
= (int) SWIG_AsInt(obj1
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18036 result
= (wxDateTime
*) &_result_ref
;
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18049 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
;
18051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18053 wxDateTime
*result
;
18054 PyObject
* obj0
= 0 ;
18055 PyObject
* obj1
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self",(char *) "month", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18063 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18069 result
= (wxDateTime
*) &_result_ref
;
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18082 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18086 wxDateTime
*result
;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self",(char *) "day", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18096 arg2
= (int) SWIG_AsInt(obj1
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18102 result
= (wxDateTime
*) &_result_ref
;
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18115 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
;
18117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18119 wxDateTime
*result
;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self",(char *) "hour", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 arg2
= (int) SWIG_AsInt(obj1
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18135 result
= (wxDateTime
*) &_result_ref
;
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18148 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18152 wxDateTime
*result
;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self",(char *) "minute", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18162 arg2
= (int) SWIG_AsInt(obj1
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18168 result
= (wxDateTime
*) &_result_ref
;
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18181 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18185 wxDateTime
*result
;
18186 PyObject
* obj0
= 0 ;
18187 PyObject
* obj1
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self",(char *) "second", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 arg2
= (int) SWIG_AsInt(obj1
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18201 result
= (wxDateTime
*) &_result_ref
;
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18214 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18218 wxDateTime
*result
;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self",(char *) "millisecond", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18228 arg2
= (int) SWIG_AsInt(obj1
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18234 result
= (wxDateTime
*) &_result_ref
;
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18247 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18251 int arg3
= (int) wxDateTime::Monday_First
;
18252 wxDateTime
*result
;
18253 PyObject
* obj0
= 0 ;
18254 PyObject
* obj1
= 0 ;
18255 PyObject
* obj2
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18263 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18273 result
= (wxDateTime
*) &_result_ref
;
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18286 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18290 int arg3
= (int) wxDateTime::Monday_First
;
18292 PyObject
* obj0
= 0 ;
18293 PyObject
* obj1
= 0 ;
18294 PyObject
* obj2
= 0 ;
18295 char *kwnames
[] = {
18296 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18302 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 wxDateTime
* resultptr
;
18317 resultptr
= new wxDateTime((wxDateTime
&) result
);
18318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18326 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18330 wxDateTime
*result
;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self",(char *) "weekday", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18340 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18346 result
= (wxDateTime
*) &_result_ref
;
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18359 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self",(char *) "weekday", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18373 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 wxDateTime
* resultptr
;
18384 resultptr
= new wxDateTime((wxDateTime
&) result
);
18385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18393 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18397 wxDateTime
*result
;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "weekday", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18413 result
= (wxDateTime
*) &_result_ref
;
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18426 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "weekday", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18450 wxDateTime
* resultptr
;
18451 resultptr
= new wxDateTime((wxDateTime
&) result
);
18452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18460 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18464 int arg3
= (int) 1 ;
18465 int arg4
= (int) wxDateTime::Inv_Month
;
18466 int arg5
= (int) wxDateTime::Inv_Year
;
18468 PyObject
* obj0
= 0 ;
18469 PyObject
* obj1
= 0 ;
18470 PyObject
* obj2
= 0 ;
18471 PyObject
* obj3
= 0 ;
18472 PyObject
* obj4
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18480 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 arg3
= (int) SWIG_AsInt(obj2
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18487 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18491 arg5
= (int) SWIG_AsInt(obj4
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18510 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18514 int arg3
= (int) wxDateTime::Inv_Month
;
18515 int arg4
= (int) wxDateTime::Inv_Year
;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 PyObject
* obj2
= 0 ;
18520 PyObject
* obj3
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18528 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 arg4
= (int) SWIG_AsInt(obj3
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18554 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18558 int arg3
= (int) wxDateTime::Inv_Month
;
18559 int arg4
= (int) wxDateTime::Inv_Year
;
18561 PyObject
* obj0
= 0 ;
18562 PyObject
* obj1
= 0 ;
18563 PyObject
* obj2
= 0 ;
18564 PyObject
* obj3
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18572 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18579 arg4
= (int) SWIG_AsInt(obj3
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18590 wxDateTime
* resultptr
;
18591 resultptr
= new wxDateTime((wxDateTime
&) result
);
18592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18600 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18604 int arg3
= (int) wxDateTime::Mon
;
18605 int arg4
= (int) wxDateTime::Monday_First
;
18607 PyObject
* obj0
= 0 ;
18608 PyObject
* obj1
= 0 ;
18609 PyObject
* obj2
= 0 ;
18610 PyObject
* obj3
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18618 arg2
= (int) SWIG_AsInt(obj1
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18625 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18644 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18648 int arg3
= (int) wxDateTime::Mon
;
18649 int arg4
= (int) wxDateTime::Monday_First
;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18653 PyObject
* obj2
= 0 ;
18654 PyObject
* obj3
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 arg2
= (int) SWIG_AsInt(obj1
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18669 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18680 wxDateTime
* resultptr
;
18681 resultptr
= new wxDateTime((wxDateTime
&) result
);
18682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18690 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18693 int arg2
= (int) wxDateTime::Inv_Month
;
18694 int arg3
= (int) wxDateTime::Inv_Year
;
18695 wxDateTime
*result
;
18696 PyObject
* obj0
= 0 ;
18697 PyObject
* obj1
= 0 ;
18698 PyObject
* obj2
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self",(char *) "month",(char *) "year", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18711 arg3
= (int) SWIG_AsInt(obj2
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18718 result
= (wxDateTime
*) &_result_ref
;
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18731 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18734 int arg2
= (int) wxDateTime::Inv_Month
;
18735 int arg3
= (int) wxDateTime::Inv_Year
;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 PyObject
* obj2
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self",(char *) "month",(char *) "year", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18748 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18752 arg3
= (int) SWIG_AsInt(obj2
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18757 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18763 wxDateTime
* resultptr
;
18764 resultptr
= new wxDateTime((wxDateTime
&) result
);
18765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18773 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18777 wxDateTime
*result
;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "yday", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18787 arg2
= (int) SWIG_AsInt(obj1
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18793 result
= (wxDateTime
*) &_result_ref
;
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18806 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self",(char *) "yday", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 arg2
= (int) SWIG_AsInt(obj1
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 result
= (arg1
)->GetYearDay(arg2
);
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18830 wxDateTime
* resultptr
;
18831 resultptr
= new wxDateTime((wxDateTime
&) result
);
18832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18840 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
;
18842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 char *kwnames
[] = {
18846 (char *) "self", NULL
18849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 result
= (double)(arg1
)->GetJulianDayNumber();
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= SWIG_FromDouble((double)result
);
18866 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18870 PyObject
* obj0
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= (double)(arg1
)->GetJDN();
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= SWIG_FromDouble((double)result
);
18892 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18896 PyObject
* obj0
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18911 resultobj
= SWIG_FromDouble((double)result
);
18918 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 result
= (double)(arg1
)->GetMJD();
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= SWIG_FromDouble((double)result
);
18944 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 result
= (double)(arg1
)->GetRataDie();
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= SWIG_FromDouble((double)result
);
18970 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18973 wxDateTime::TimeZone
*arg2
= 0 ;
18974 bool arg3
= (bool) False
;
18976 bool temp2
= False
;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 PyObject
* obj2
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18992 arg3
= (bool) SWIG_AsBool(obj2
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19003 wxDateTime
* resultptr
;
19004 resultptr
= new wxDateTime((wxDateTime
&) result
);
19005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19008 if (temp2
) delete arg2
;
19013 if (temp2
) delete arg2
;
19019 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19022 wxDateTime::TimeZone
*arg2
= 0 ;
19023 bool arg3
= (bool) False
;
19024 wxDateTime
*result
;
19025 bool temp2
= False
;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 PyObject
* obj2
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19037 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19041 arg3
= (bool) SWIG_AsBool(obj2
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19048 result
= (wxDateTime
*) &_result_ref
;
19051 wxPyEndAllowThreads(__tstate
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19056 if (temp2
) delete arg2
;
19061 if (temp2
) delete arg2
;
19067 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
;
19069 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19070 bool arg2
= (bool) False
;
19072 PyObject
* obj0
= 0 ;
19073 PyObject
* obj1
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self",(char *) "noDST", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 arg2
= (bool) SWIG_AsBool(obj1
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 result
= (arg1
)->ToGMT(arg2
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19093 wxDateTime
* resultptr
;
19094 resultptr
= new wxDateTime((wxDateTime
&) result
);
19095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19103 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
;
19105 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19106 bool arg2
= (bool) False
;
19107 wxDateTime
*result
;
19108 PyObject
* obj0
= 0 ;
19109 PyObject
* obj1
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self",(char *) "noDST", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19118 arg2
= (bool) SWIG_AsBool(obj1
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19125 result
= (wxDateTime
*) &_result_ref
;
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19138 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19141 int arg2
= (int) wxDateTime::Country_Default
;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self",(char *) "country", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19153 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19163 resultobj
= SWIG_FromInt((int)result
);
19170 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19174 PyObject
* obj0
= 0 ;
19175 char *kwnames
[] = {
19176 (char *) "self", NULL
19179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19184 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19198 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 char *kwnames
[] = {
19204 (char *) "self", NULL
19207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19224 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19227 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19228 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19230 bool temp2
= False
;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "tz", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19242 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= SWIG_FromInt((int)result
);
19255 if (temp2
) delete arg2
;
19260 if (temp2
) delete arg2
;
19266 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19269 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19270 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19272 bool temp2
= False
;
19273 PyObject
* obj0
= 0 ;
19274 PyObject
* obj1
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self",(char *) "tz", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19284 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= SWIG_FromInt((int)result
);
19297 if (temp2
) delete arg2
;
19302 if (temp2
) delete arg2
;
19308 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
;
19310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19311 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19312 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19314 bool temp2
= False
;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "tz", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= SWIG_FromInt((int)result
);
19339 if (temp2
) delete arg2
;
19344 if (temp2
) delete arg2
;
19350 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19353 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19354 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19356 bool temp2
= False
;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self",(char *) "tz", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= SWIG_FromInt((int)result
);
19381 if (temp2
) delete arg2
;
19386 if (temp2
) delete arg2
;
19392 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19395 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19396 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19398 bool temp2
= False
;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "tz", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19410 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19421 resultobj
= SWIG_FromInt((int)result
);
19423 if (temp2
) delete arg2
;
19428 if (temp2
) delete arg2
;
19434 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19437 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19438 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19440 bool temp2
= False
;
19441 PyObject
* obj0
= 0 ;
19442 PyObject
* obj1
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self",(char *) "tz", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19452 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= SWIG_FromInt((int)result
);
19465 if (temp2
) delete arg2
;
19470 if (temp2
) delete arg2
;
19476 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19479 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19480 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19482 bool temp2
= False
;
19483 PyObject
* obj0
= 0 ;
19484 PyObject
* obj1
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "self",(char *) "tz", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19494 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 resultobj
= SWIG_FromInt((int)result
);
19507 if (temp2
) delete arg2
;
19512 if (temp2
) delete arg2
;
19518 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19521 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19522 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19524 bool temp2
= False
;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self",(char *) "tz", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19536 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_FromInt((int)result
);
19549 if (temp2
) delete arg2
;
19554 if (temp2
) delete arg2
;
19560 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19563 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19564 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19566 bool temp2
= False
;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "tz", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= SWIG_FromInt((int)result
);
19591 if (temp2
) delete arg2
;
19596 if (temp2
) delete arg2
;
19602 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19605 int arg2
= (int) wxDateTime::Monday_First
;
19606 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19607 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19609 bool temp3
= False
;
19610 PyObject
* obj0
= 0 ;
19611 PyObject
* obj1
= 0 ;
19612 PyObject
* obj2
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self",(char *) "flags",(char *) "tz", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19621 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19626 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= SWIG_FromInt((int)result
);
19639 if (temp3
) delete arg3
;
19644 if (temp3
) delete arg3
;
19650 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19652 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19653 int arg2
= (int) wxDateTime::Monday_First
;
19654 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19655 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19657 bool temp3
= False
;
19658 PyObject
* obj0
= 0 ;
19659 PyObject
* obj1
= 0 ;
19660 PyObject
* obj2
= 0 ;
19661 char *kwnames
[] = {
19662 (char *) "self",(char *) "flags",(char *) "tz", NULL
19665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19669 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19674 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= SWIG_FromInt((int)result
);
19687 if (temp3
) delete arg3
;
19692 if (temp3
) delete arg3
;
19698 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19701 int arg2
= (int) wxDateTime::Country_Default
;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self",(char *) "country", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19713 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19732 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19735 wxDateTime
*arg2
= 0 ;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self",(char *) "datetime", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19749 if (arg2
== NULL
) {
19750 PyErr_SetString(PyExc_TypeError
,"null reference");
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19769 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19770 PyObject
*resultobj
;
19771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19772 wxDateTime
*arg2
= 0 ;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char *kwnames
[] = {
19777 (char *) "self",(char *) "datetime", NULL
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19786 if (arg2
== NULL
) {
19787 PyErr_SetString(PyExc_TypeError
,"null reference");
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19806 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19809 wxDateTime
*arg2
= 0 ;
19811 PyObject
* obj0
= 0 ;
19812 PyObject
* obj1
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self",(char *) "datetime", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19823 if (arg2
== NULL
) {
19824 PyErr_SetString(PyExc_TypeError
,"null reference");
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19843 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19846 wxDateTime
*arg2
= 0 ;
19847 wxDateTime
*arg3
= 0 ;
19849 PyObject
* obj0
= 0 ;
19850 PyObject
* obj1
= 0 ;
19851 PyObject
* obj2
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self",(char *) "t1",(char *) "t2", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19862 if (arg2
== NULL
) {
19863 PyErr_SetString(PyExc_TypeError
,"null reference");
19866 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19869 if (arg3
== NULL
) {
19870 PyErr_SetString(PyExc_TypeError
,"null reference");
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19889 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19892 wxDateTime
*arg2
= 0 ;
19893 wxDateTime
*arg3
= 0 ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 PyObject
* obj2
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "t1",(char *) "t2", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19908 if (arg2
== NULL
) {
19909 PyErr_SetString(PyExc_TypeError
,"null reference");
19912 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19915 if (arg3
== NULL
) {
19916 PyErr_SetString(PyExc_TypeError
,"null reference");
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19935 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19938 wxDateTime
*arg2
= 0 ;
19940 PyObject
* obj0
= 0 ;
19941 PyObject
* obj1
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self",(char *) "dt", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19952 if (arg2
== NULL
) {
19953 PyErr_SetString(PyExc_TypeError
,"null reference");
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19972 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
;
19974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19975 wxDateTime
*arg2
= 0 ;
19977 PyObject
* obj0
= 0 ;
19978 PyObject
* obj1
= 0 ;
19979 char *kwnames
[] = {
19980 (char *) "self",(char *) "dt", NULL
19983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19989 if (arg2
== NULL
) {
19990 PyErr_SetString(PyExc_TypeError
,"null reference");
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20009 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
;
20011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20012 wxDateTime
*arg2
= 0 ;
20013 wxTimeSpan
*arg3
= 0 ;
20015 PyObject
* obj0
= 0 ;
20016 PyObject
* obj1
= 0 ;
20017 PyObject
* obj2
= 0 ;
20018 char *kwnames
[] = {
20019 (char *) "self",(char *) "dt",(char *) "ts", NULL
20022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20028 if (arg2
== NULL
) {
20029 PyErr_SetString(PyExc_TypeError
,"null reference");
20032 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20035 if (arg3
== NULL
) {
20036 PyErr_SetString(PyExc_TypeError
,"null reference");
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20055 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20058 wxTimeSpan
*arg2
= 0 ;
20059 wxDateTime
*result
;
20060 PyObject
* obj0
= 0 ;
20061 PyObject
* obj1
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self",(char *) "diff", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20072 if (arg2
== NULL
) {
20073 PyErr_SetString(PyExc_TypeError
,"null reference");
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20080 result
= (wxDateTime
*) &_result_ref
;
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20093 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20096 wxDateSpan
*arg2
= 0 ;
20097 wxDateTime
*result
;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self",(char *) "diff", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20110 if (arg2
== NULL
) {
20111 PyErr_SetString(PyExc_TypeError
,"null reference");
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20118 result
= (wxDateTime
*) &_result_ref
;
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20131 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20134 wxTimeSpan
*arg2
= 0 ;
20135 wxDateTime
*result
;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self",(char *) "diff", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20148 if (arg2
== NULL
) {
20149 PyErr_SetString(PyExc_TypeError
,"null reference");
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20156 result
= (wxDateTime
*) &_result_ref
;
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20169 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
;
20171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20172 wxDateSpan
*arg2
= 0 ;
20173 wxDateTime
*result
;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 char *kwnames
[] = {
20177 (char *) "self",(char *) "diff", NULL
20180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20186 if (arg2
== NULL
) {
20187 PyErr_SetString(PyExc_TypeError
,"null reference");
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20194 result
= (wxDateTime
*) &_result_ref
;
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20207 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20210 wxDateTime
*arg2
= 0 ;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self",(char *) "dt", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20224 if (arg2
== NULL
) {
20225 PyErr_SetString(PyExc_TypeError
,"null reference");
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20236 wxTimeSpan
* resultptr
;
20237 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20246 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20247 PyObject
*resultobj
;
20248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20249 wxTimeSpan
*arg2
= 0 ;
20250 wxDateTime
*result
;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20254 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20260 if (arg2
== NULL
) {
20261 PyErr_SetString(PyExc_TypeError
,"null reference");
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20268 result
= (wxDateTime
*) &_result_ref
;
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20281 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20282 PyObject
*resultobj
;
20283 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20284 wxDateSpan
*arg2
= 0 ;
20285 wxDateTime
*result
;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20289 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20295 if (arg2
== NULL
) {
20296 PyErr_SetString(PyExc_TypeError
,"null reference");
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20303 result
= (wxDateTime
*) &_result_ref
;
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20316 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20321 argc
= PyObject_Length(args
);
20322 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20323 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20329 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20339 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20347 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20355 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20365 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20373 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20378 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20383 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20384 PyObject
*resultobj
;
20385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20386 wxTimeSpan
*arg2
= 0 ;
20387 wxDateTime
*result
;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20391 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20397 if (arg2
== NULL
) {
20398 PyErr_SetString(PyExc_TypeError
,"null reference");
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20405 result
= (wxDateTime
*) &_result_ref
;
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20418 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20419 PyObject
*resultobj
;
20420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20421 wxDateSpan
*arg2
= 0 ;
20422 wxDateTime
*result
;
20423 PyObject
* obj0
= 0 ;
20424 PyObject
* obj1
= 0 ;
20426 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20432 if (arg2
== NULL
) {
20433 PyErr_SetString(PyExc_TypeError
,"null reference");
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20440 result
= (wxDateTime
*) &_result_ref
;
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20453 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20458 argc
= PyObject_Length(args
);
20459 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20460 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20466 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20476 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20484 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20492 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20502 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20510 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20515 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20520 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20521 PyObject
*resultobj
;
20522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20523 wxTimeSpan
*arg2
= 0 ;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20528 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20534 if (arg2
== NULL
) {
20535 PyErr_SetString(PyExc_TypeError
,"null reference");
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 wxDateTime
* resultptr
;
20547 resultptr
= new wxDateTime((wxDateTime
&) result
);
20548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20556 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20557 PyObject
*resultobj
;
20558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20559 wxDateSpan
*arg2
= 0 ;
20561 PyObject
* obj0
= 0 ;
20562 PyObject
* obj1
= 0 ;
20564 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20570 if (arg2
== NULL
) {
20571 PyErr_SetString(PyExc_TypeError
,"null reference");
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20578 wxPyEndAllowThreads(__tstate
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20582 wxDateTime
* resultptr
;
20583 resultptr
= new wxDateTime((wxDateTime
&) result
);
20584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20592 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20597 argc
= PyObject_Length(args
);
20598 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20599 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20605 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20615 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20623 return _wrap_DateTime___add____SWIG_0(self
,args
);
20631 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20641 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20649 return _wrap_DateTime___add____SWIG_1(self
,args
);
20654 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20659 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20660 PyObject
*resultobj
;
20661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20662 wxDateTime
*arg2
= 0 ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20667 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20673 if (arg2
== NULL
) {
20674 PyErr_SetString(PyExc_TypeError
,"null reference");
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20685 wxTimeSpan
* resultptr
;
20686 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20695 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20696 PyObject
*resultobj
;
20697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20698 wxTimeSpan
*arg2
= 0 ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20703 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20709 if (arg2
== NULL
) {
20710 PyErr_SetString(PyExc_TypeError
,"null reference");
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20721 wxDateTime
* resultptr
;
20722 resultptr
= new wxDateTime((wxDateTime
&) result
);
20723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20731 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20732 PyObject
*resultobj
;
20733 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20734 wxDateSpan
*arg2
= 0 ;
20736 PyObject
* obj0
= 0 ;
20737 PyObject
* obj1
= 0 ;
20739 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20745 if (arg2
== NULL
) {
20746 PyErr_SetString(PyExc_TypeError
,"null reference");
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20757 wxDateTime
* resultptr
;
20758 resultptr
= new wxDateTime((wxDateTime
&) result
);
20759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20767 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20772 argc
= PyObject_Length(args
);
20773 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20774 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20780 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20790 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20798 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20806 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20816 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20824 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20832 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20842 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20850 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20855 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20860 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20861 PyObject
*resultobj
;
20862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20863 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20868 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20889 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20890 PyObject
*resultobj
;
20891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20892 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20894 PyObject
* obj0
= 0 ;
20895 PyObject
* obj1
= 0 ;
20897 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20918 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20919 PyObject
*resultobj
;
20920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20921 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20926 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20947 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20948 PyObject
*resultobj
;
20949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20950 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 PyObject
* obj1
= 0 ;
20955 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20976 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20977 PyObject
*resultobj
;
20978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20979 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20984 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21005 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
21006 PyObject
*resultobj
;
21007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21008 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21010 PyObject
* obj0
= 0 ;
21011 PyObject
* obj1
= 0 ;
21013 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21034 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
;
21036 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21037 wxString
*arg2
= 0 ;
21039 bool temp2
= False
;
21040 PyObject
* obj0
= 0 ;
21041 PyObject
* obj1
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self",(char *) "date", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21050 arg2
= wxString_in_helper(obj1
);
21051 if (arg2
== NULL
) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= SWIG_FromInt((int)result
);
21076 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
;
21078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21079 wxString
*arg2
= 0 ;
21080 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21081 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21082 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21083 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21085 bool temp2
= False
;
21086 bool temp3
= False
;
21087 PyObject
* obj0
= 0 ;
21088 PyObject
* obj1
= 0 ;
21089 PyObject
* obj2
= 0 ;
21090 PyObject
* obj3
= 0 ;
21091 char *kwnames
[] = {
21092 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21099 arg2
= wxString_in_helper(obj1
);
21100 if (arg2
== NULL
) SWIG_fail
;
21105 arg3
= wxString_in_helper(obj2
);
21106 if (arg3
== NULL
) SWIG_fail
;
21111 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21114 if (arg4
== NULL
) {
21115 PyErr_SetString(PyExc_TypeError
,"null reference");
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_FromInt((int)result
);
21149 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
;
21151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21152 wxString
*arg2
= 0 ;
21154 bool temp2
= False
;
21155 PyObject
* obj0
= 0 ;
21156 PyObject
* obj1
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self",(char *) "datetime", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21165 arg2
= wxString_in_helper(obj1
);
21166 if (arg2
== NULL
) SWIG_fail
;
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 resultobj
= SWIG_FromInt((int)result
);
21191 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21194 wxString
*arg2
= 0 ;
21196 bool temp2
= False
;
21197 PyObject
* obj0
= 0 ;
21198 PyObject
* obj1
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self",(char *) "date", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21207 arg2
= wxString_in_helper(obj1
);
21208 if (arg2
== NULL
) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= SWIG_FromInt((int)result
);
21233 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21236 wxString
*arg2
= 0 ;
21238 bool temp2
= False
;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self",(char *) "time", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21249 arg2
= wxString_in_helper(obj1
);
21250 if (arg2
== NULL
) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= SWIG_FromInt((int)result
);
21275 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
;
21277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21278 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21279 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21280 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21281 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21283 bool temp2
= False
;
21284 bool temp3
= False
;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 PyObject
* obj2
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "format",(char *) "tz", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 arg2
= wxString_in_helper(obj1
);
21298 if (arg2
== NULL
) SWIG_fail
;
21304 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21327 if (temp3
) delete arg3
;
21336 if (temp3
) delete arg3
;
21342 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21346 PyObject
* obj0
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21374 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21378 PyObject
* obj0
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21406 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21438 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21442 PyObject
* obj0
= 0 ;
21443 char *kwnames
[] = {
21444 (char *) "self", NULL
21447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21470 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21473 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21475 return Py_BuildValue((char *)"");
21477 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21481 PyObject
* obj0
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "sec", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21487 arg1
= (long) SWIG_AsLong(obj0
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= wxTimeSpan::Seconds(arg1
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21497 wxTimeSpan
* resultptr
;
21498 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21507 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21510 char *kwnames
[] = {
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 result
= wxTimeSpan::Second();
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21523 wxTimeSpan
* resultptr
;
21524 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21533 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21537 PyObject
* obj0
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "min", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21543 arg1
= (long) SWIG_AsLong(obj0
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= wxTimeSpan::Minutes(arg1
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21553 wxTimeSpan
* resultptr
;
21554 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21563 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21566 char *kwnames
[] = {
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= wxTimeSpan::Minute();
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21579 wxTimeSpan
* resultptr
;
21580 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21589 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
;
21593 PyObject
* obj0
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "hours", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21599 arg1
= (long) SWIG_AsLong(obj0
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 result
= wxTimeSpan::Hours(arg1
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21609 wxTimeSpan
* resultptr
;
21610 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21619 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21622 char *kwnames
[] = {
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 result
= wxTimeSpan::Hour();
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 wxTimeSpan
* resultptr
;
21636 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21645 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21649 PyObject
* obj0
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "days", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21655 arg1
= (long) SWIG_AsLong(obj0
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= wxTimeSpan::Days(arg1
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21665 wxTimeSpan
* resultptr
;
21666 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21675 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21678 char *kwnames
[] = {
21682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 result
= wxTimeSpan::Day();
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21691 wxTimeSpan
* resultptr
;
21692 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21701 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21705 PyObject
* obj0
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "days", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21711 arg1
= (long) SWIG_AsLong(obj0
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= wxTimeSpan::Weeks(arg1
);
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21721 wxTimeSpan
* resultptr
;
21722 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21731 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21734 char *kwnames
[] = {
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 result
= wxTimeSpan::Week();
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21747 wxTimeSpan
* resultptr
;
21748 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21757 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 long arg1
= (long) 0 ;
21760 long arg2
= (long) 0 ;
21761 long arg3
= (long) 0 ;
21762 long arg4
= (long) 0 ;
21763 wxTimeSpan
*result
;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 PyObject
* obj2
= 0 ;
21767 PyObject
* obj3
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21774 arg1
= (long) SWIG_AsLong(obj0
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21778 arg2
= (long) SWIG_AsLong(obj1
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 arg3
= (long) SWIG_AsLong(obj2
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21786 arg4
= (long) SWIG_AsLong(obj3
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21803 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 char *kwnames
[] = {
21808 (char *) "self", NULL
21811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 Py_INCREF(Py_None
); resultobj
= Py_None
;
21828 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21831 wxTimeSpan
*arg2
= 0 ;
21832 wxTimeSpan
*result
;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self",(char *) "diff", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21845 if (arg2
== NULL
) {
21846 PyErr_SetString(PyExc_TypeError
,"null reference");
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21853 result
= (wxTimeSpan
*) &_result_ref
;
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21866 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21869 wxTimeSpan
*arg2
= 0 ;
21870 wxTimeSpan
*result
;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "diff", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21883 if (arg2
== NULL
) {
21884 PyErr_SetString(PyExc_TypeError
,"null reference");
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21891 result
= (wxTimeSpan
*) &_result_ref
;
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21904 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21908 wxTimeSpan
*result
;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 char *kwnames
[] = {
21912 (char *) "self",(char *) "n", NULL
21915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21918 arg2
= (int) SWIG_AsInt(obj1
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21924 result
= (wxTimeSpan
*) &_result_ref
;
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21937 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21940 wxTimeSpan
*result
;
21941 PyObject
* obj0
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21953 result
= (wxTimeSpan
*) &_result_ref
;
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21966 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21986 wxTimeSpan
* resultptr
;
21987 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21996 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21999 wxTimeSpan
*arg2
= 0 ;
22000 wxTimeSpan
*result
;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self",(char *) "diff", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22013 if (arg2
== NULL
) {
22014 PyErr_SetString(PyExc_TypeError
,"null reference");
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22021 result
= (wxTimeSpan
*) &_result_ref
;
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22034 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
;
22036 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22037 wxTimeSpan
*arg2
= 0 ;
22038 wxTimeSpan
*result
;
22039 PyObject
* obj0
= 0 ;
22040 PyObject
* obj1
= 0 ;
22041 char *kwnames
[] = {
22042 (char *) "self",(char *) "diff", NULL
22045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22051 if (arg2
== NULL
) {
22052 PyErr_SetString(PyExc_TypeError
,"null reference");
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22059 result
= (wxTimeSpan
*) &_result_ref
;
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22072 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22076 wxTimeSpan
*result
;
22077 PyObject
* obj0
= 0 ;
22078 PyObject
* obj1
= 0 ;
22079 char *kwnames
[] = {
22080 (char *) "self",(char *) "n", NULL
22083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22086 arg2
= (int) SWIG_AsInt(obj1
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22092 result
= (wxTimeSpan
*) &_result_ref
;
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22105 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22108 wxTimeSpan
*result
;
22109 PyObject
* obj0
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22121 result
= (wxTimeSpan
*) &_result_ref
;
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22134 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22137 wxTimeSpan
*arg2
= 0 ;
22139 PyObject
* obj0
= 0 ;
22140 PyObject
* obj1
= 0 ;
22141 char *kwnames
[] = {
22142 (char *) "self",(char *) "other", NULL
22145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22151 if (arg2
== NULL
) {
22152 PyErr_SetString(PyExc_TypeError
,"null reference");
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22163 wxTimeSpan
* resultptr
;
22164 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22173 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22176 wxTimeSpan
*arg2
= 0 ;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self",(char *) "other", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22190 if (arg2
== NULL
) {
22191 PyErr_SetString(PyExc_TypeError
,"null reference");
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22202 wxTimeSpan
* resultptr
;
22203 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22212 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
;
22214 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self",(char *) "n", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22226 arg2
= (int) SWIG_AsInt(obj1
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 result
= wxTimeSpan___mul__(arg1
,arg2
);
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22236 wxTimeSpan
* resultptr
;
22237 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22246 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22251 PyObject
* obj0
= 0 ;
22252 PyObject
* obj1
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self",(char *) "n", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22260 arg2
= (int) SWIG_AsInt(obj1
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22270 wxTimeSpan
* resultptr
;
22271 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22280 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
;
22282 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22283 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 char *kwnames
[] = {
22288 (char *) "self",(char *) "other", NULL
22291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22312 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22315 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 char *kwnames
[] = {
22320 (char *) "self",(char *) "other", NULL
22323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22344 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22347 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22349 PyObject
* obj0
= 0 ;
22350 PyObject
* obj1
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self",(char *) "other", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22376 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22379 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22381 PyObject
* obj0
= 0 ;
22382 PyObject
* obj1
= 0 ;
22383 char *kwnames
[] = {
22384 (char *) "self",(char *) "other", NULL
22387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22408 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22411 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22413 PyObject
* obj0
= 0 ;
22414 PyObject
* obj1
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "self",(char *) "other", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22440 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
;
22442 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22443 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22445 PyObject
* obj0
= 0 ;
22446 PyObject
* obj1
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self",(char *) "other", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22472 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22474 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22476 PyObject
* obj0
= 0 ;
22477 char *kwnames
[] = {
22478 (char *) "self", NULL
22481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22500 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
;
22502 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22504 PyObject
* obj0
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22528 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
;
22530 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22532 PyObject
* obj0
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22556 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22559 wxTimeSpan
*arg2
= 0 ;
22561 PyObject
* obj0
= 0 ;
22562 PyObject
* obj1
= 0 ;
22563 char *kwnames
[] = {
22564 (char *) "self",(char *) "ts", NULL
22567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22573 if (arg2
== NULL
) {
22574 PyErr_SetString(PyExc_TypeError
,"null reference");
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22593 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
;
22595 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22596 wxTimeSpan
*arg2
= 0 ;
22598 PyObject
* obj0
= 0 ;
22599 PyObject
* obj1
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self",(char *) "ts", NULL
22604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22610 if (arg2
== NULL
) {
22611 PyErr_SetString(PyExc_TypeError
,"null reference");
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22630 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22633 wxTimeSpan
*arg2
= 0 ;
22635 PyObject
* obj0
= 0 ;
22636 PyObject
* obj1
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self",(char *) "t", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22647 if (arg2
== NULL
) {
22648 PyErr_SetString(PyExc_TypeError
,"null reference");
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22667 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 resultobj
= SWIG_FromInt((int)result
);
22693 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, 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_GetDays",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
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 resultobj
= SWIG_FromInt((int)result
);
22719 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 resultobj
= SWIG_FromInt((int)result
);
22745 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22749 PyObject
* obj0
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= SWIG_FromInt((int)result
);
22771 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
;
22773 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22775 PyObject
* obj0
= 0 ;
22776 char *kwnames
[] = {
22777 (char *) "self", NULL
22780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22791 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22792 hi
= PyLong_FromLong( (&result
)->GetHi() );
22793 lo
= PyLong_FromLong( (&result
)->GetLo() );
22794 shifter
= PyLong_FromLong(32);
22795 shifted
= PyNumber_Lshift(hi
, shifter
);
22796 resultobj
= PyNumber_Or(shifted
, lo
);
22799 Py_DECREF(shifter
);
22800 Py_DECREF(shifted
);
22808 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
;
22810 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22812 PyObject
* obj0
= 0 ;
22813 char *kwnames
[] = {
22814 (char *) "self", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22828 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22829 hi
= PyLong_FromLong( (&result
)->GetHi() );
22830 lo
= PyLong_FromLong( (&result
)->GetLo() );
22831 shifter
= PyLong_FromLong(32);
22832 shifted
= PyNumber_Lshift(hi
, shifter
);
22833 resultobj
= PyNumber_Or(shifted
, lo
);
22836 Py_DECREF(shifter
);
22837 Py_DECREF(shifted
);
22845 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22848 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22849 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22851 bool temp2
= False
;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self",(char *) "format", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22863 arg2
= wxString_in_helper(obj1
);
22864 if (arg2
== NULL
) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22896 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22899 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22901 return Py_BuildValue((char *)"");
22903 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
;
22905 int arg1
= (int) 0 ;
22906 int arg2
= (int) 0 ;
22907 int arg3
= (int) 0 ;
22908 int arg4
= (int) 0 ;
22909 wxDateSpan
*result
;
22910 PyObject
* obj0
= 0 ;
22911 PyObject
* obj1
= 0 ;
22912 PyObject
* obj2
= 0 ;
22913 PyObject
* obj3
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22920 arg1
= (int) SWIG_AsInt(obj0
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22924 arg2
= (int) SWIG_AsInt(obj1
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22928 arg3
= (int) SWIG_AsInt(obj2
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22932 arg4
= (int) SWIG_AsInt(obj3
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22949 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22952 PyObject
* obj0
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 Py_INCREF(Py_None
); resultobj
= Py_None
;
22974 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22978 PyObject
* obj0
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "days", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22984 arg1
= (int) SWIG_AsInt(obj0
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= wxDateSpan::Days(arg1
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22994 wxDateSpan
* resultptr
;
22995 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23004 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23007 char *kwnames
[] = {
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 result
= wxDateSpan::Day();
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23020 wxDateSpan
* resultptr
;
23021 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23030 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23034 PyObject
* obj0
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "weeks", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23040 arg1
= (int) SWIG_AsInt(obj0
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 result
= wxDateSpan::Weeks(arg1
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23050 wxDateSpan
* resultptr
;
23051 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23060 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23063 char *kwnames
[] = {
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= wxDateSpan::Week();
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23076 wxDateSpan
* resultptr
;
23077 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23086 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "mon", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23096 arg1
= (int) SWIG_AsInt(obj0
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 result
= wxDateSpan::Months(arg1
);
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23106 wxDateSpan
* resultptr
;
23107 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23116 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23119 char *kwnames
[] = {
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= wxDateSpan::Month();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23132 wxDateSpan
* resultptr
;
23133 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23142 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
;
23146 PyObject
* obj0
= 0 ;
23147 char *kwnames
[] = {
23148 (char *) "years", NULL
23151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23152 arg1
= (int) SWIG_AsInt(obj0
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= wxDateSpan::Years(arg1
);
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23162 wxDateSpan
* resultptr
;
23163 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23172 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23175 char *kwnames
[] = {
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 result
= wxDateSpan::Year();
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23188 wxDateSpan
* resultptr
;
23189 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23198 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
;
23200 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23202 wxDateSpan
*result
;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self",(char *) "n", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23212 arg2
= (int) SWIG_AsInt(obj1
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23218 result
= (wxDateSpan
*) &_result_ref
;
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23231 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23233 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23235 wxDateSpan
*result
;
23236 PyObject
* obj0
= 0 ;
23237 PyObject
* obj1
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self",(char *) "n", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23245 arg2
= (int) SWIG_AsInt(obj1
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23251 result
= (wxDateSpan
*) &_result_ref
;
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23264 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23268 wxDateSpan
*result
;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self",(char *) "n", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23278 arg2
= (int) SWIG_AsInt(obj1
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23284 result
= (wxDateSpan
*) &_result_ref
;
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23297 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23301 wxDateSpan
*result
;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self",(char *) "n", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23311 arg2
= (int) SWIG_AsInt(obj1
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23317 result
= (wxDateSpan
*) &_result_ref
;
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23330 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= SWIG_FromInt((int)result
);
23356 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= SWIG_FromInt((int)result
);
23382 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= SWIG_FromInt((int)result
);
23408 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
;
23410 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23412 PyObject
* obj0
= 0 ;
23413 char *kwnames
[] = {
23414 (char *) "self", NULL
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= SWIG_FromInt((int)result
);
23434 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
;
23436 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23438 PyObject
* obj0
= 0 ;
23439 char *kwnames
[] = {
23440 (char *) "self", NULL
23443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= SWIG_FromInt((int)result
);
23460 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
;
23462 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23463 wxDateSpan
*arg2
= 0 ;
23464 wxDateSpan
*result
;
23465 PyObject
* obj0
= 0 ;
23466 PyObject
* obj1
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self",(char *) "other", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23477 if (arg2
== NULL
) {
23478 PyErr_SetString(PyExc_TypeError
,"null reference");
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23485 result
= (wxDateSpan
*) &_result_ref
;
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23498 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23501 wxDateSpan
*arg2
= 0 ;
23502 wxDateSpan
*result
;
23503 PyObject
* obj0
= 0 ;
23504 PyObject
* obj1
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self",(char *) "other", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23515 if (arg2
== NULL
) {
23516 PyErr_SetString(PyExc_TypeError
,"null reference");
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23523 result
= (wxDateSpan
*) &_result_ref
;
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23536 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23539 wxDateSpan
*result
;
23540 PyObject
* obj0
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23552 result
= (wxDateSpan
*) &_result_ref
;
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23565 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23569 wxDateSpan
*result
;
23570 PyObject
* obj0
= 0 ;
23571 PyObject
* obj1
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self",(char *) "factor", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23579 arg2
= (int) SWIG_AsInt(obj1
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23585 result
= (wxDateSpan
*) &_result_ref
;
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23598 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23601 wxDateSpan
*arg2
= 0 ;
23602 wxDateSpan
*result
;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 char *kwnames
[] = {
23606 (char *) "self",(char *) "other", NULL
23609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23615 if (arg2
== NULL
) {
23616 PyErr_SetString(PyExc_TypeError
,"null reference");
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23623 result
= (wxDateSpan
*) &_result_ref
;
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23636 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
;
23638 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23639 wxDateSpan
*arg2
= 0 ;
23640 wxDateSpan
*result
;
23641 PyObject
* obj0
= 0 ;
23642 PyObject
* obj1
= 0 ;
23643 char *kwnames
[] = {
23644 (char *) "self",(char *) "other", NULL
23647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23653 if (arg2
== NULL
) {
23654 PyErr_SetString(PyExc_TypeError
,"null reference");
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23661 result
= (wxDateSpan
*) &_result_ref
;
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23674 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23676 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23677 wxDateSpan
*result
;
23678 PyObject
* obj0
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23690 result
= (wxDateSpan
*) &_result_ref
;
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23703 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23707 wxDateSpan
*result
;
23708 PyObject
* obj0
= 0 ;
23709 PyObject
* obj1
= 0 ;
23710 char *kwnames
[] = {
23711 (char *) "self",(char *) "factor", NULL
23714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23717 arg2
= (int) SWIG_AsInt(obj1
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23723 result
= (wxDateSpan
*) &_result_ref
;
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23736 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23738 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23739 wxDateSpan
*arg2
= 0 ;
23741 PyObject
* obj0
= 0 ;
23742 PyObject
* obj1
= 0 ;
23743 char *kwnames
[] = {
23744 (char *) "self",(char *) "other", NULL
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23753 if (arg2
== NULL
) {
23754 PyErr_SetString(PyExc_TypeError
,"null reference");
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23765 wxDateSpan
* resultptr
;
23766 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23775 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23778 wxDateSpan
*arg2
= 0 ;
23780 PyObject
* obj0
= 0 ;
23781 PyObject
* obj1
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self",(char *) "other", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23792 if (arg2
== NULL
) {
23793 PyErr_SetString(PyExc_TypeError
,"null reference");
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23804 wxDateSpan
* resultptr
;
23805 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23814 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23821 char *kwnames
[] = {
23822 (char *) "self",(char *) "n", NULL
23825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23828 arg2
= (int) SWIG_AsInt(obj1
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= wxDateSpan___mul__(arg1
,arg2
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23838 wxDateSpan
* resultptr
;
23839 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23848 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
;
23850 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self",(char *) "n", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 arg2
= (int) SWIG_AsInt(obj1
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 result
= wxDateSpan___rmul__(arg1
,arg2
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23872 wxDateSpan
* resultptr
;
23873 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23882 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23885 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23887 PyObject
* obj0
= 0 ;
23888 PyObject
* obj1
= 0 ;
23889 char *kwnames
[] = {
23890 (char *) "self",(char *) "other", NULL
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23914 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
;
23916 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23917 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23919 PyObject
* obj0
= 0 ;
23920 PyObject
* obj1
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self",(char *) "other", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23946 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23949 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23951 return Py_BuildValue((char *)"");
23953 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23956 char *kwnames
[] = {
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (long)wxGetLocalTime();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= SWIG_FromLong((long)result
);
23975 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23978 char *kwnames
[] = {
23982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= (long)wxGetUTCTime();
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_FromLong((long)result
);
23997 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
24000 char *kwnames
[] = {
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 result
= (long)wxGetCurrentTime();
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 resultobj
= SWIG_FromLong((long)result
);
24019 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24022 char *kwnames
[] = {
24026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24029 result
= wxGetLocalTimeMillis();
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24035 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24036 hi
= PyLong_FromLong( (&result
)->GetHi() );
24037 lo
= PyLong_FromLong( (&result
)->GetLo() );
24038 shifter
= PyLong_FromLong(32);
24039 shifted
= PyNumber_Lshift(hi
, shifter
);
24040 resultobj
= PyNumber_Or(shifted
, lo
);
24043 Py_DECREF(shifter
);
24044 Py_DECREF(shifted
);
24052 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
24053 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24058 static PyObject
*_wrap_DefaultDateTime_get() {
24061 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24066 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24069 wxDataFormat
*result
;
24070 PyObject
* obj0
= 0 ;
24071 char *kwnames
[] = {
24072 (char *) "type", NULL
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24076 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24092 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxString
*arg1
= 0 ;
24095 wxDataFormat
*result
;
24096 bool temp1
= False
;
24097 PyObject
* obj0
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "format", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24104 arg1
= wxString_in_helper(obj0
);
24105 if (arg1
== NULL
) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24130 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 Py_INCREF(Py_None
); resultobj
= Py_None
;
24155 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
24156 PyObject
*resultobj
;
24157 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24160 PyObject
* obj0
= 0 ;
24161 PyObject
* obj1
= 0 ;
24163 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24184 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
24185 PyObject
*resultobj
;
24186 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24192 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24195 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24213 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24214 PyObject
*resultobj
;
24215 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24216 wxDataFormat
*arg2
= 0 ;
24218 PyObject
* obj0
= 0 ;
24219 PyObject
* obj1
= 0 ;
24221 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24227 if (arg2
== NULL
) {
24228 PyErr_SetString(PyExc_TypeError
,"null reference");
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24247 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24252 argc
= PyObject_Length(args
);
24253 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24254 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24260 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24270 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24278 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24286 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24294 _v
= SWIG_CheckInt(argv
[1]);
24296 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24301 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24306 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24307 PyObject
*resultobj
;
24308 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24309 wxDataFormat
*arg2
= 0 ;
24311 PyObject
* obj0
= 0 ;
24312 PyObject
* obj1
= 0 ;
24314 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24320 if (arg2
== NULL
) {
24321 PyErr_SetString(PyExc_TypeError
,"null reference");
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24340 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24345 argc
= PyObject_Length(args
);
24346 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24347 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24353 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24363 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24371 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24379 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24387 _v
= SWIG_CheckInt(argv
[1]);
24389 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24394 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24399 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24401 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self",(char *) "format", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24412 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 (arg1
)->SetType((wxDataFormatId
)arg2
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 Py_INCREF(Py_None
); resultobj
= Py_None
;
24428 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_FromInt((int)result
);
24454 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24458 PyObject
* obj0
= 0 ;
24459 char *kwnames
[] = {
24460 (char *) "self", NULL
24463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= ((wxDataFormat
const *)arg1
)->GetId();
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24486 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24489 wxString
*arg2
= 0 ;
24490 bool temp2
= False
;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "format", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 arg2
= wxString_in_helper(obj1
);
24502 if (arg2
== NULL
) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 (arg1
)->SetId((wxString
const &)*arg2
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 Py_INCREF(Py_None
); resultobj
= Py_None
;
24527 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24530 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24532 return Py_BuildValue((char *)"");
24534 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24535 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24540 static PyObject
*_wrap_FormatInvalid_get() {
24543 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24548 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 Py_INCREF(Py_None
); resultobj
= Py_None
;
24573 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24576 int arg2
= (int) wxDataObject::Get
;
24577 SwigValueWrapper
< wxDataFormat
> result
;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self",(char *) "dir", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24588 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24599 wxDataFormat
* resultptr
;
24600 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24609 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24612 int arg2
= (int) wxDataObject::Get
;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self",(char *) "dir", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24641 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24644 wxDataFormat
*arg2
= 0 ;
24645 int arg3
= (int) wxDataObject::Get
;
24647 PyObject
* obj0
= 0 ;
24648 PyObject
* obj1
= 0 ;
24649 PyObject
* obj2
= 0 ;
24650 char *kwnames
[] = {
24651 (char *) "self",(char *) "format",(char *) "dir", NULL
24654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24660 if (arg2
== NULL
) {
24661 PyErr_SetString(PyExc_TypeError
,"null reference");
24665 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24684 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24687 wxDataFormat
*arg2
= 0 ;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self",(char *) "format", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24701 if (arg2
== NULL
) {
24702 PyErr_SetString(PyExc_TypeError
,"null reference");
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24719 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
;
24721 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24722 int arg2
= (int) wxDataObject::Get
;
24724 PyObject
* obj0
= 0 ;
24725 PyObject
* obj1
= 0 ;
24726 char *kwnames
[] = {
24727 (char *) "self",(char *) "dir", NULL
24730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24734 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= result
;
24751 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24754 wxDataFormat
*arg2
= 0 ;
24756 PyObject
* obj0
= 0 ;
24757 PyObject
* obj1
= 0 ;
24758 char *kwnames
[] = {
24759 (char *) "self",(char *) "format", NULL
24762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24768 if (arg2
== NULL
) {
24769 PyErr_SetString(PyExc_TypeError
,"null reference");
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= result
;
24786 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
;
24788 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24789 wxDataFormat
*arg2
= 0 ;
24790 PyObject
*arg3
= (PyObject
*) 0 ;
24792 PyObject
* obj0
= 0 ;
24793 PyObject
* obj1
= 0 ;
24794 PyObject
* obj2
= 0 ;
24795 char *kwnames
[] = {
24796 (char *) "self",(char *) "format",(char *) "data", NULL
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24805 if (arg2
== NULL
) {
24806 PyErr_SetString(PyExc_TypeError
,"null reference");
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24826 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24829 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24831 return Py_BuildValue((char *)"");
24833 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24836 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24837 wxDataObjectSimple
*result
;
24838 PyObject
* obj0
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "format", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24848 if (arg1
== NULL
) {
24849 PyErr_SetString(PyExc_TypeError
,"null reference");
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24867 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24870 wxDataFormat
*result
;
24871 PyObject
* obj0
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24883 result
= (wxDataFormat
*) &_result_ref
;
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24896 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24899 wxDataFormat
*arg2
= 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self",(char *) "format", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24912 if (arg2
== NULL
) {
24913 PyErr_SetString(PyExc_TypeError
,"null reference");
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 Py_INCREF(Py_None
); resultobj
= Py_None
;
24930 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
;
24932 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24934 PyObject
* obj0
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24956 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= result
;
24982 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24985 PyObject
*arg2
= (PyObject
*) 0 ;
24987 PyObject
* obj0
= 0 ;
24988 PyObject
* obj1
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "self",(char *) "data", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25013 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
25015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25016 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25018 return Py_BuildValue((char *)"");
25020 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
;
25022 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25023 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25024 wxPyDataObjectSimple
*result
;
25025 PyObject
* obj0
= 0 ;
25026 char *kwnames
[] = {
25027 (char *) "format", NULL
25030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25035 if (arg1
== NULL
) {
25036 PyErr_SetString(PyExc_TypeError
,"null reference");
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25054 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25057 PyObject
*arg2
= (PyObject
*) 0 ;
25058 PyObject
*arg3
= (PyObject
*) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 PyObject
* obj2
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self",(char *) "self",(char *) "_class", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 Py_INCREF(Py_None
); resultobj
= Py_None
;
25085 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
25087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25088 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25090 return Py_BuildValue((char *)"");
25092 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25093 PyObject
*resultobj
;
25094 wxDataObjectComposite
*result
;
25095 char *kwnames
[] = {
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25114 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
;
25116 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25117 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25118 bool arg3
= (bool) False
;
25119 PyObject
* obj0
= 0 ;
25120 PyObject
* obj1
= 0 ;
25121 PyObject
* obj2
= 0 ;
25122 char *kwnames
[] = {
25123 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25130 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25132 arg3
= (bool) SWIG_AsBool(obj2
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 (arg1
)->Add(arg2
,arg3
);
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25142 Py_INCREF(Py_None
); resultobj
= Py_None
;
25149 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
25151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25152 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25154 return Py_BuildValue((char *)"");
25156 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
;
25158 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25159 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25160 wxTextDataObject
*result
;
25161 bool temp1
= False
;
25162 PyObject
* obj0
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "text", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25170 arg1
= wxString_in_helper(obj0
);
25171 if (arg1
== NULL
) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25197 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25201 PyObject
* obj0
= 0 ;
25202 char *kwnames
[] = {
25203 (char *) "self", NULL
25206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= (size_t)(arg1
)->GetTextLength();
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25223 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25227 PyObject
* obj0
= 0 ;
25228 char *kwnames
[] = {
25229 (char *) "self", NULL
25232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 result
= (arg1
)->GetText();
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25255 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25257 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25258 wxString
*arg2
= 0 ;
25259 bool temp2
= False
;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self",(char *) "text", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25270 arg2
= wxString_in_helper(obj1
);
25271 if (arg2
== NULL
) SWIG_fail
;
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 (arg1
)->SetText((wxString
const &)*arg2
);
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25281 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25299 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25301 return Py_BuildValue((char *)"");
25303 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25306 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25307 wxPyTextDataObject
*result
;
25308 bool temp1
= False
;
25309 PyObject
* obj0
= 0 ;
25310 char *kwnames
[] = {
25311 (char *) "text", NULL
25314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25317 arg1
= wxString_in_helper(obj0
);
25318 if (arg1
== NULL
) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25344 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25347 PyObject
*arg2
= (PyObject
*) 0 ;
25348 PyObject
*arg3
= (PyObject
*) 0 ;
25349 PyObject
* obj0
= 0 ;
25350 PyObject
* obj1
= 0 ;
25351 PyObject
* obj2
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "self",(char *) "_class", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 Py_INCREF(Py_None
); resultobj
= Py_None
;
25375 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25378 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25380 return Py_BuildValue((char *)"");
25382 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25385 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25386 wxBitmapDataObject
*result
;
25387 PyObject
* obj0
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "bitmap", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25397 if (arg1
== NULL
) {
25398 PyErr_SetString(PyExc_TypeError
,"null reference");
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25416 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
;
25418 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25420 PyObject
* obj0
= 0 ;
25421 char *kwnames
[] = {
25422 (char *) "self", NULL
25425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25436 wxBitmap
* resultptr
;
25437 resultptr
= new wxBitmap((wxBitmap
&) result
);
25438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25446 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
;
25448 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25449 wxBitmap
*arg2
= 0 ;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "bitmap", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25462 if (arg2
== NULL
) {
25463 PyErr_SetString(PyExc_TypeError
,"null reference");
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 Py_INCREF(Py_None
); resultobj
= Py_None
;
25480 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25483 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25485 return Py_BuildValue((char *)"");
25487 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25490 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25491 wxPyBitmapDataObject
*result
;
25492 PyObject
* obj0
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "bitmap", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25502 if (arg1
== NULL
) {
25503 PyErr_SetString(PyExc_TypeError
,"null reference");
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25521 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25524 PyObject
*arg2
= (PyObject
*) 0 ;
25525 PyObject
*arg3
= (PyObject
*) 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 PyObject
* obj2
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self",(char *) "self",(char *) "_class", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 Py_INCREF(Py_None
); resultobj
= Py_None
;
25552 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25555 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25557 return Py_BuildValue((char *)"");
25559 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
;
25561 wxFileDataObject
*result
;
25562 char *kwnames
[] = {
25566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (wxFileDataObject
*)new wxFileDataObject();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25581 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25584 wxArrayString
*result
;
25585 PyObject
* obj0
= 0 ;
25586 char *kwnames
[] = {
25587 (char *) "self", NULL
25590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25597 result
= (wxArrayString
*) &_result_ref
;
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= wxArrayString2PyList_helper(*result
);
25612 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25615 wxString
*arg2
= 0 ;
25616 bool temp2
= False
;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self",(char *) "filename", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25627 arg2
= wxString_in_helper(obj1
);
25628 if (arg2
== NULL
) SWIG_fail
;
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 (arg1
)->AddFile((wxString
const &)*arg2
);
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 Py_INCREF(Py_None
); resultobj
= Py_None
;
25653 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25656 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25658 return Py_BuildValue((char *)"");
25660 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
;
25662 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25663 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25664 wxCustomDataObject
*result
;
25665 PyObject
* obj0
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "format", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25675 if (arg1
== NULL
) {
25676 PyErr_SetString(PyExc_TypeError
,"null reference");
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25694 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
;
25696 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25697 PyObject
*arg2
= (PyObject
*) 0 ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "data", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25725 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25726 PyObject
*resultobj
;
25727 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25729 PyObject
* obj0
= 0 ;
25730 char *kwnames
[] = {
25731 (char *) "self", NULL
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= (size_t)(arg1
)->GetSize();
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25744 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25751 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25752 PyObject
*resultobj
;
25753 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= result
;
25777 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25780 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25782 return Py_BuildValue((char *)"");
25784 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 wxURLDataObject
*result
;
25787 char *kwnames
[] = {
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= (wxURLDataObject
*)new wxURLDataObject();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25806 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
;
25808 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25810 PyObject
* obj0
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= (arg1
)->GetURL();
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25838 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25841 wxString
*arg2
= 0 ;
25842 bool temp2
= False
;
25843 PyObject
* obj0
= 0 ;
25844 PyObject
* obj1
= 0 ;
25845 char *kwnames
[] = {
25846 (char *) "self",(char *) "url", NULL
25849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25853 arg2
= wxString_in_helper(obj1
);
25854 if (arg2
== NULL
) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 (arg1
)->SetURL((wxString
const &)*arg2
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 Py_INCREF(Py_None
); resultobj
= Py_None
;
25879 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25882 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25884 return Py_BuildValue((char *)"");
25886 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxMetafileDataObject
*result
;
25889 char *kwnames
[] = {
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25908 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25911 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25913 return Py_BuildValue((char *)"");
25915 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25919 PyObject
* obj0
= 0 ;
25920 char *kwnames
[] = {
25921 (char *) "res", NULL
25924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25925 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25943 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxWindow
*arg1
= (wxWindow
*) 0 ;
25946 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25947 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25948 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25949 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25950 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25951 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25952 wxPyDropSource
*result
;
25953 PyObject
* obj0
= 0 ;
25954 PyObject
* obj1
= 0 ;
25955 PyObject
* obj2
= 0 ;
25956 PyObject
* obj3
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25968 if (arg2
== NULL
) {
25969 PyErr_SetString(PyExc_TypeError
,"null reference");
25974 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25977 if (arg3
== NULL
) {
25978 PyErr_SetString(PyExc_TypeError
,"null reference");
25983 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25986 if (arg4
== NULL
) {
25987 PyErr_SetString(PyExc_TypeError
,"null reference");
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26005 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26006 PyObject
*resultobj
;
26007 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26008 PyObject
*arg2
= (PyObject
*) 0 ;
26009 PyObject
*arg3
= (PyObject
*) 0 ;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 PyObject
* obj2
= 0 ;
26014 PyObject
* obj3
= 0 ;
26015 char *kwnames
[] = {
26016 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 arg4
= (int) SWIG_AsInt(obj3
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 Py_INCREF(Py_None
); resultobj
= Py_None
;
26040 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26043 PyObject
* obj0
= 0 ;
26044 char *kwnames
[] = {
26045 (char *) "self", NULL
26048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 Py_INCREF(Py_None
); resultobj
= Py_None
;
26065 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
;
26067 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26068 wxDataObject
*arg2
= 0 ;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 char *kwnames
[] = {
26072 (char *) "self",(char *) "data", NULL
26075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26081 if (arg2
== NULL
) {
26082 PyErr_SetString(PyExc_TypeError
,"null reference");
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 (arg1
)->SetData(*arg2
);
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 Py_INCREF(Py_None
); resultobj
= Py_None
;
26099 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
;
26101 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26102 wxDataObject
*result
;
26103 PyObject
* obj0
= 0 ;
26104 char *kwnames
[] = {
26105 (char *) "self", NULL
26108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26125 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26129 wxCursor
*arg3
= 0 ;
26130 PyObject
* obj0
= 0 ;
26131 PyObject
* obj1
= 0 ;
26132 PyObject
* obj2
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self",(char *) "res",(char *) "cursor", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26140 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26142 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26145 if (arg3
== NULL
) {
26146 PyErr_SetString(PyExc_TypeError
,"null reference");
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26156 Py_INCREF(Py_None
); resultobj
= Py_None
;
26163 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26165 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26166 int arg2
= (int) wxDrag_CopyOnly
;
26168 PyObject
* obj0
= 0 ;
26169 PyObject
* obj1
= 0 ;
26170 char *kwnames
[] = {
26171 (char *) "self",(char *) "flags", NULL
26174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26178 arg2
= (int) SWIG_AsInt(obj1
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 result
= (int)(arg1
)->DoDragDrop(arg2
);
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= SWIG_FromInt((int)result
);
26195 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self",(char *) "effect", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26209 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26227 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26230 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26232 return Py_BuildValue((char *)"");
26234 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26235 PyObject
*resultobj
;
26236 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26237 wxPyDropTarget
*result
;
26238 PyObject
* obj0
= 0 ;
26239 char *kwnames
[] = {
26240 (char *) "dataObject", NULL
26243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26246 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26262 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26265 PyObject
*arg2
= (PyObject
*) 0 ;
26266 PyObject
*arg3
= (PyObject
*) 0 ;
26267 PyObject
* obj0
= 0 ;
26268 PyObject
* obj1
= 0 ;
26269 PyObject
* obj2
= 0 ;
26270 char *kwnames
[] = {
26271 (char *) "self",(char *) "self",(char *) "_class", NULL
26274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26281 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 Py_INCREF(Py_None
); resultobj
= Py_None
;
26293 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26294 PyObject
*resultobj
;
26295 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26296 PyObject
* obj0
= 0 ;
26297 char *kwnames
[] = {
26298 (char *) "self", NULL
26301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 Py_INCREF(Py_None
); resultobj
= Py_None
;
26318 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
;
26320 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26321 wxDataObject
*result
;
26322 PyObject
* obj0
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26344 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26347 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 char *kwnames
[] = {
26351 (char *) "self",(char *) "dataObject", NULL
26354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26358 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 (arg1
)->SetDataObject(arg2
);
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26366 Py_INCREF(Py_None
); resultobj
= Py_None
;
26373 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26374 PyObject
*resultobj
;
26375 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26380 PyObject
* obj0
= 0 ;
26381 PyObject
* obj1
= 0 ;
26382 PyObject
* obj2
= 0 ;
26383 PyObject
* obj3
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26391 arg2
= (int) SWIG_AsInt(obj1
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26393 arg3
= (int) SWIG_AsInt(obj2
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26395 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= SWIG_FromInt((int)result
);
26411 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26412 PyObject
*resultobj
;
26413 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 PyObject
* obj2
= 0 ;
26421 PyObject
* obj3
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26429 arg2
= (int) SWIG_AsInt(obj1
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26431 arg3
= (int) SWIG_AsInt(obj2
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26433 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_FromInt((int)result
);
26449 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26452 PyObject
* obj0
= 0 ;
26453 char *kwnames
[] = {
26454 (char *) "self", NULL
26457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 (arg1
)->base_OnLeave();
26464 wxPyEndAllowThreads(__tstate
);
26465 if (PyErr_Occurred()) SWIG_fail
;
26467 Py_INCREF(Py_None
); resultobj
= Py_None
;
26474 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26475 PyObject
*resultobj
;
26476 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26480 PyObject
* obj0
= 0 ;
26481 PyObject
* obj1
= 0 ;
26482 PyObject
* obj2
= 0 ;
26483 char *kwnames
[] = {
26484 (char *) "self",(char *) "x",(char *) "y", NULL
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26490 arg2
= (int) SWIG_AsInt(obj1
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26492 arg3
= (int) SWIG_AsInt(obj2
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26510 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 result
= (bool)(arg1
)->GetData();
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26538 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26541 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26543 return Py_BuildValue((char *)"");
26545 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
;
26547 wxPyTextDropTarget
*result
;
26548 char *kwnames
[] = {
26552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26567 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26570 PyObject
*arg2
= (PyObject
*) 0 ;
26571 PyObject
*arg3
= (PyObject
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 PyObject
* obj2
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "self",(char *) "_class", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 Py_INCREF(Py_None
); resultobj
= Py_None
;
26598 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
;
26600 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 PyObject
* obj2
= 0 ;
26608 PyObject
* obj3
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26616 arg2
= (int) SWIG_AsInt(obj1
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26618 arg3
= (int) SWIG_AsInt(obj2
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26620 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_FromInt((int)result
);
26636 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 PyObject
* obj2
= 0 ;
26646 PyObject
* obj3
= 0 ;
26647 char *kwnames
[] = {
26648 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26654 arg2
= (int) SWIG_AsInt(obj1
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26656 arg3
= (int) SWIG_AsInt(obj2
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26658 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_FromInt((int)result
);
26674 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26677 PyObject
* obj0
= 0 ;
26678 char *kwnames
[] = {
26679 (char *) "self", NULL
26682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 (arg1
)->base_OnLeave();
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 Py_INCREF(Py_None
); resultobj
= Py_None
;
26699 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26705 PyObject
* obj0
= 0 ;
26706 PyObject
* obj1
= 0 ;
26707 PyObject
* obj2
= 0 ;
26708 char *kwnames
[] = {
26709 (char *) "self",(char *) "x",(char *) "y", NULL
26712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26715 arg2
= (int) SWIG_AsInt(obj1
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26717 arg3
= (int) SWIG_AsInt(obj2
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26735 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26743 PyObject
* obj1
= 0 ;
26744 PyObject
* obj2
= 0 ;
26745 PyObject
* obj3
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26753 arg2
= (int) SWIG_AsInt(obj1
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26755 arg3
= (int) SWIG_AsInt(obj2
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26757 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26763 wxPyEndAllowThreads(__tstate
);
26764 if (PyErr_Occurred()) SWIG_fail
;
26766 resultobj
= SWIG_FromInt((int)result
);
26773 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26776 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26778 return Py_BuildValue((char *)"");
26780 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
;
26782 wxPyFileDropTarget
*result
;
26783 char *kwnames
[] = {
26787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26802 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
;
26804 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26805 PyObject
*arg2
= (PyObject
*) 0 ;
26806 PyObject
*arg3
= (PyObject
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 PyObject
* obj2
= 0 ;
26810 char *kwnames
[] = {
26811 (char *) "self",(char *) "self",(char *) "_class", NULL
26814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 Py_INCREF(Py_None
); resultobj
= Py_None
;
26833 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
;
26835 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26840 PyObject
* obj0
= 0 ;
26841 PyObject
* obj1
= 0 ;
26842 PyObject
* obj2
= 0 ;
26843 PyObject
* obj3
= 0 ;
26844 char *kwnames
[] = {
26845 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26851 arg2
= (int) SWIG_AsInt(obj1
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26853 arg3
= (int) SWIG_AsInt(obj2
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26855 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_FromInt((int)result
);
26871 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26878 PyObject
* obj0
= 0 ;
26879 PyObject
* obj1
= 0 ;
26880 PyObject
* obj2
= 0 ;
26881 PyObject
* obj3
= 0 ;
26882 char *kwnames
[] = {
26883 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26889 arg2
= (int) SWIG_AsInt(obj1
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26891 arg3
= (int) SWIG_AsInt(obj2
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26893 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 resultobj
= SWIG_FromInt((int)result
);
26909 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26910 PyObject
*resultobj
;
26911 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26912 PyObject
* obj0
= 0 ;
26913 char *kwnames
[] = {
26914 (char *) "self", NULL
26917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 (arg1
)->base_OnLeave();
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 Py_INCREF(Py_None
); resultobj
= Py_None
;
26934 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
;
26936 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 PyObject
* obj2
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self",(char *) "x",(char *) "y", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26950 arg2
= (int) SWIG_AsInt(obj1
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26952 arg3
= (int) SWIG_AsInt(obj2
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26970 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 PyObject
* obj2
= 0 ;
26980 PyObject
* obj3
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26988 arg2
= (int) SWIG_AsInt(obj1
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26990 arg3
= (int) SWIG_AsInt(obj2
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26992 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= SWIG_FromInt((int)result
);
27008 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
27010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27011 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27013 return Py_BuildValue((char *)"");
27015 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
;
27017 wxClipboard
*result
;
27018 char *kwnames
[] = {
27022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (wxClipboard
*)new wxClipboard();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27037 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
;
27039 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27040 PyObject
* obj0
= 0 ;
27041 char *kwnames
[] = {
27042 (char *) "self", NULL
27045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 Py_INCREF(Py_None
); resultobj
= Py_None
;
27062 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
;
27064 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27066 PyObject
* obj0
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 result
= (bool)(arg1
)->Open();
27078 wxPyEndAllowThreads(__tstate
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27090 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 char *kwnames
[] = {
27095 (char *) "self", NULL
27098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 Py_INCREF(Py_None
); resultobj
= Py_None
;
27115 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27119 PyObject
* obj0
= 0 ;
27120 char *kwnames
[] = {
27121 (char *) "self", NULL
27124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27143 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27146 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "data", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27158 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27161 result
= (bool)(arg1
)->AddData(arg2
);
27163 wxPyEndAllowThreads(__tstate
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27175 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
;
27177 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27178 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27180 PyObject
* obj0
= 0 ;
27181 PyObject
* obj1
= 0 ;
27182 char *kwnames
[] = {
27183 (char *) "self",(char *) "data", NULL
27186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27190 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 result
= (bool)(arg1
)->SetData(arg2
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27207 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27208 PyObject
*resultobj
;
27209 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27210 wxDataFormat
*arg2
= 0 ;
27212 PyObject
* obj0
= 0 ;
27213 PyObject
* obj1
= 0 ;
27214 char *kwnames
[] = {
27215 (char *) "self",(char *) "format", NULL
27218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27224 if (arg2
== NULL
) {
27225 PyErr_SetString(PyExc_TypeError
,"null reference");
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27244 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
;
27246 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27247 wxDataObject
*arg2
= 0 ;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj1
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self",(char *) "data", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27261 if (arg2
== NULL
) {
27262 PyErr_SetString(PyExc_TypeError
,"null reference");
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (bool)(arg1
)->GetData(*arg2
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27281 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27284 PyObject
* obj0
= 0 ;
27285 char *kwnames
[] = {
27286 (char *) "self", NULL
27289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 wxPyEndAllowThreads(__tstate
);
27297 if (PyErr_Occurred()) SWIG_fail
;
27299 Py_INCREF(Py_None
); resultobj
= Py_None
;
27306 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27307 PyObject
*resultobj
;
27308 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27310 PyObject
* obj0
= 0 ;
27311 char *kwnames
[] = {
27312 (char *) "self", NULL
27315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 result
= (bool)(arg1
)->Flush();
27322 wxPyEndAllowThreads(__tstate
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27334 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27337 bool arg2
= (bool) True
;
27338 PyObject
* obj0
= 0 ;
27339 PyObject
* obj1
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self",(char *) "primary", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27348 arg2
= (bool) SWIG_AsBool(obj1
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 (arg1
)->UsePrimarySelection(arg2
);
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 Py_INCREF(Py_None
); resultobj
= Py_None
;
27365 static PyObject
*_wrap_Clipboard_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
;
27367 wxClipboard
*result
;
27368 char *kwnames
[] = {
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 result
= (wxClipboard
*)wxClipboard::Get();
27377 wxPyEndAllowThreads(__tstate
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27387 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27390 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27392 return Py_BuildValue((char *)"");
27394 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
;
27396 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27397 wxClipboardLocker
*result
;
27398 PyObject
* obj0
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "clipboard", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27422 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27425 PyObject
* obj0
= 0 ;
27426 char *kwnames
[] = {
27427 (char *) "self", NULL
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27440 Py_INCREF(Py_None
); resultobj
= Py_None
;
27447 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27451 PyObject
* obj0
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27475 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27478 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27480 return Py_BuildValue((char *)"");
27482 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 int arg1
= (int) 0 ;
27485 int arg2
= (int) 0 ;
27486 int arg3
= (int) 0 ;
27487 int arg4
= (int) 0 ;
27488 wxVideoMode
*result
;
27489 PyObject
* obj0
= 0 ;
27490 PyObject
* obj1
= 0 ;
27491 PyObject
* obj2
= 0 ;
27492 PyObject
* obj3
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27499 arg1
= (int) SWIG_AsInt(obj0
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27503 arg2
= (int) SWIG_AsInt(obj1
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27507 arg3
= (int) SWIG_AsInt(obj2
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27511 arg4
= (int) SWIG_AsInt(obj3
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27528 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27531 PyObject
* obj0
= 0 ;
27532 char *kwnames
[] = {
27533 (char *) "self", NULL
27536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 wxPyEndAllowThreads(__tstate
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27546 Py_INCREF(Py_None
); resultobj
= Py_None
;
27553 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
;
27555 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27556 wxVideoMode
*arg2
= 0 ;
27558 PyObject
* obj0
= 0 ;
27559 PyObject
* obj1
= 0 ;
27560 char *kwnames
[] = {
27561 (char *) "self",(char *) "other", NULL
27564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27570 if (arg2
== NULL
) {
27571 PyErr_SetString(PyExc_TypeError
,"null reference");
27575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27576 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27578 wxPyEndAllowThreads(__tstate
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27590 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
;
27592 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 char *kwnames
[] = {
27596 (char *) "self", NULL
27599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27604 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27606 wxPyEndAllowThreads(__tstate
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= SWIG_FromInt((int)result
);
27616 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27617 PyObject
*resultobj
;
27618 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27620 PyObject
* obj0
= 0 ;
27621 char *kwnames
[] = {
27622 (char *) "self", NULL
27625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27635 resultobj
= SWIG_FromInt((int)result
);
27642 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
;
27644 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27646 PyObject
* obj0
= 0 ;
27647 char *kwnames
[] = {
27648 (char *) "self", NULL
27651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27656 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27658 wxPyEndAllowThreads(__tstate
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= SWIG_FromInt((int)result
);
27668 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27669 PyObject
*resultobj
;
27670 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27672 PyObject
* obj0
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27696 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
;
27698 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27699 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27701 PyObject
* obj0
= 0 ;
27702 PyObject
* obj1
= 0 ;
27703 char *kwnames
[] = {
27704 (char *) "self",(char *) "other", NULL
27707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27714 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27716 wxPyEndAllowThreads(__tstate
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27728 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
;
27730 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27731 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27733 PyObject
* obj0
= 0 ;
27734 PyObject
* obj1
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self",(char *) "other", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27760 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 PyObject
* obj1
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self",(char *) "w", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27773 arg2
= (int) SWIG_AsInt(obj1
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27775 if (arg1
) (arg1
)->w
= arg2
;
27777 Py_INCREF(Py_None
); resultobj
= Py_None
;
27784 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27788 PyObject
* obj0
= 0 ;
27789 char *kwnames
[] = {
27790 (char *) "self", NULL
27793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27796 result
= (int) ((arg1
)->w
);
27798 resultobj
= SWIG_FromInt((int)result
);
27805 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
;
27807 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27809 PyObject
* obj0
= 0 ;
27810 PyObject
* obj1
= 0 ;
27811 char *kwnames
[] = {
27812 (char *) "self",(char *) "h", NULL
27815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27818 arg2
= (int) SWIG_AsInt(obj1
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27820 if (arg1
) (arg1
)->h
= arg2
;
27822 Py_INCREF(Py_None
); resultobj
= Py_None
;
27829 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27833 PyObject
* obj0
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27841 result
= (int) ((arg1
)->h
);
27843 resultobj
= SWIG_FromInt((int)result
);
27850 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
;
27852 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27854 PyObject
* obj0
= 0 ;
27855 PyObject
* obj1
= 0 ;
27856 char *kwnames
[] = {
27857 (char *) "self",(char *) "bpp", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27863 arg2
= (int) SWIG_AsInt(obj1
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27865 if (arg1
) (arg1
)->bpp
= arg2
;
27867 Py_INCREF(Py_None
); resultobj
= Py_None
;
27874 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
;
27876 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27878 PyObject
* obj0
= 0 ;
27879 char *kwnames
[] = {
27880 (char *) "self", NULL
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27886 result
= (int) ((arg1
)->bpp
);
27888 resultobj
= SWIG_FromInt((int)result
);
27895 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
;
27897 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27899 PyObject
* obj0
= 0 ;
27900 PyObject
* obj1
= 0 ;
27901 char *kwnames
[] = {
27902 (char *) "self",(char *) "refresh", NULL
27905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27908 arg2
= (int) SWIG_AsInt(obj1
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27910 if (arg1
) (arg1
)->refresh
= arg2
;
27912 Py_INCREF(Py_None
); resultobj
= Py_None
;
27919 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27920 PyObject
*resultobj
;
27921 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27923 PyObject
* obj0
= 0 ;
27924 char *kwnames
[] = {
27925 (char *) "self", NULL
27928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27931 result
= (int) ((arg1
)->refresh
);
27933 resultobj
= SWIG_FromInt((int)result
);
27940 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27943 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27945 return Py_BuildValue((char *)"");
27947 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27948 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27953 static PyObject
*_wrap_DefaultVideoMode_get() {
27956 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27961 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 size_t arg1
= (size_t) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "index", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27972 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27977 result
= (wxDisplay
*)new wxDisplay(arg1
);
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27989 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27990 PyObject
*resultobj
;
27991 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27992 PyObject
* obj0
= 0 ;
27993 char *kwnames
[] = {
27994 (char *) "self", NULL
27997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28007 Py_INCREF(Py_None
); resultobj
= Py_None
;
28014 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
;
28017 char *kwnames
[] = {
28021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 result
= (size_t)wxDisplay::GetCount();
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
28036 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxPoint
*arg1
= 0 ;
28041 PyObject
* obj0
= 0 ;
28042 char *kwnames
[] = {
28043 (char *) "pt", NULL
28046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28049 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 resultobj
= SWIG_FromInt((int)result
);
28065 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
;
28067 wxWindow
*arg1
= (wxWindow
*) 0 ;
28069 PyObject
* obj0
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "window", NULL
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 result
= (int)Display_GetFromWindow(arg1
);
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 resultobj
= SWIG_FromInt((int)result
);
28091 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28095 PyObject
* obj0
= 0 ;
28096 char *kwnames
[] = {
28097 (char *) "self", NULL
28100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28119 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28123 PyObject
* obj0
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28139 wxRect
* resultptr
;
28140 resultptr
= new wxRect((wxRect
&) result
);
28141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28149 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
;
28151 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28153 PyObject
* obj0
= 0 ;
28154 char *kwnames
[] = {
28155 (char *) "self", NULL
28158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 result
= ((wxDisplay
const *)arg1
)->GetName();
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28181 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28185 PyObject
* obj0
= 0 ;
28186 char *kwnames
[] = {
28187 (char *) "self", NULL
28190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",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();
28195 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28209 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28212 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28213 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28215 PyObject
* obj0
= 0 ;
28216 PyObject
* obj1
= 0 ;
28217 char *kwnames
[] = {
28218 (char *) "self",(char *) "mode", NULL
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28228 if (arg2
== NULL
) {
28229 PyErr_SetString(PyExc_TypeError
,"null reference");
28234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28235 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= result
;
28247 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
;
28249 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28250 wxVideoMode result
;
28251 PyObject
* obj0
= 0 ;
28252 char *kwnames
[] = {
28253 (char *) "self", NULL
28256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28263 wxPyEndAllowThreads(__tstate
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28267 wxVideoMode
* resultptr
;
28268 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28277 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
;
28279 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28280 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28281 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28283 PyObject
* obj0
= 0 ;
28284 PyObject
* obj1
= 0 ;
28285 char *kwnames
[] = {
28286 (char *) "self",(char *) "mode", NULL
28289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28296 if (arg2
== NULL
) {
28297 PyErr_SetString(PyExc_TypeError
,"null reference");
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28317 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28318 PyObject
*resultobj
;
28319 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28320 PyObject
* obj0
= 0 ;
28321 char *kwnames
[] = {
28322 (char *) "self", NULL
28325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 (arg1
)->ResetMode();
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28335 Py_INCREF(Py_None
); resultobj
= Py_None
;
28342 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28345 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28347 return Py_BuildValue((char *)"");
28349 static PyMethodDef SwigMethods
[] = {
28350 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28357 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28364 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28428 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28436 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28452 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28457 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28460 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28463 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28469 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28483 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28489 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28495 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28498 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28512 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28515 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28516 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28519 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28546 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28548 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28550 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28552 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28559 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28565 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28578 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28583 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28586 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28603 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28611 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28657 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28685 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28695 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28711 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28727 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28741 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28750 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28793 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28796 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28799 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28803 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28895 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28896 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28897 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28898 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28899 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28900 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28901 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28902 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28903 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28904 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28915 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28951 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28953 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28954 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28960 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28978 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28990 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28992 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28994 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28996 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28997 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
29001 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
29002 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
29003 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
29005 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29006 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
29008 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
29009 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
29010 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
29011 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
29012 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
29013 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
29015 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29016 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
29017 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
29019 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
29020 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29023 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
29024 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29026 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
29027 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
29029 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
29030 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29031 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
29032 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29033 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29034 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
29035 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29036 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29037 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
29038 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29039 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29040 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29041 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
29042 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29043 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29044 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
29045 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29046 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
29047 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
29048 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
29049 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29050 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29051 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
29052 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29053 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
29054 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29055 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
29056 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
29057 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
29058 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29059 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
29060 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
29061 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
29062 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29063 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
29064 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29065 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29066 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
29067 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
29068 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
29069 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
29070 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29071 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29072 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29073 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29074 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29075 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29076 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29077 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29078 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29079 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29080 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
29081 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29082 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29083 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29084 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29085 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29086 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29087 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29088 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
29089 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29090 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29091 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29092 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29093 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29094 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29095 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29096 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
29097 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29098 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29099 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
29100 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
29101 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
29102 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
29103 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29104 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
29105 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29106 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29107 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
29108 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
29109 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
},
29110 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
29111 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29112 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29113 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
29114 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
29115 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29116 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29117 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
29118 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29119 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
29120 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
29121 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29122 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29123 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29124 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
29125 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
29126 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
29127 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
29128 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
29129 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
29130 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
29131 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
29132 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
29133 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
29134 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
29135 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29136 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
29137 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29138 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29139 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
29140 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
29141 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
29142 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
29143 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
29144 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
29145 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
29146 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
29151 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29153 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29156 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29157 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29159 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29160 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29162 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29163 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29165 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29166 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29168 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29169 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29171 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29172 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29174 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29175 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29177 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29180 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29181 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29183 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29184 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29186 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29187 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29189 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29190 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29192 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29195 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29196 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29198 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29199 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29201 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29202 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29204 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29205 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29207 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29208 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29210 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29211 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29213 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29214 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29216 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29217 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29219 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29222 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29223 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29225 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29226 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29228 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29229 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29231 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29232 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29234 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29235 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29237 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29238 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29240 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29241 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29243 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29244 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29246 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29247 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29249 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29250 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29252 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29253 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29255 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29256 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29258 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29259 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29261 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29262 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29264 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29265 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29267 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29268 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29270 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29271 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29273 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29274 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29276 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29277 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29279 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29280 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29282 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29283 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29285 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29286 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29288 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29289 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29291 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29292 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29294 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29295 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29297 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29298 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29300 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29301 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29303 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29304 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29306 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29307 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29309 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29310 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29312 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29313 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29315 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29316 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29318 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29319 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29321 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29322 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29324 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29325 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29327 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29328 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29330 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29331 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29333 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29334 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29336 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29337 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29339 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29340 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29342 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29343 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29345 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29348 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29349 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29351 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29352 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29354 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29355 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29357 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29358 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29360 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29361 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29363 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29364 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29366 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29367 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29369 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29370 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29372 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29373 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29375 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29376 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29378 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29379 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29381 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29384 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29385 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29387 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29388 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29390 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29391 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29393 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29394 return (void *)((wxObject
*) ((wxSizer
*) x
));
29396 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29397 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29399 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29400 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29402 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29405 static void *_p_wxEventTo_p_wxObject(void *x
) {
29406 return (void *)((wxObject
*) ((wxEvent
*) x
));
29408 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29409 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29411 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29412 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29414 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29415 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29417 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29418 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29420 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29421 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29423 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29424 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29426 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29427 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29429 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29430 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29432 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29433 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29435 static void *_p_wxControlTo_p_wxObject(void *x
) {
29436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29438 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29439 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29441 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29442 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29444 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29445 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29447 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29448 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29450 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29451 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29453 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29454 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29456 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29459 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29460 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29462 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29463 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29465 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29466 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29468 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29469 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29471 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29474 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29475 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29477 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29478 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29480 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29481 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29483 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29484 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29486 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29487 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29489 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29490 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29492 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29495 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29498 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29501 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29504 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29507 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29510 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29511 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29513 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29514 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29516 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29517 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29519 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29520 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29522 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29523 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29525 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29528 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29529 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29531 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29532 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29534 static void *_p_wxImageTo_p_wxObject(void *x
) {
29535 return (void *)((wxObject
*) ((wxImage
*) x
));
29537 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29538 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29540 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29541 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29543 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29544 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29546 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29549 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29550 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29552 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29553 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29555 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29556 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29558 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29559 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29561 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29564 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29565 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29567 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29568 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29570 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29573 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29574 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29576 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29577 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29579 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29580 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29582 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29583 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29585 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29586 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29588 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29589 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29591 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29594 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29595 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29597 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29598 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29600 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29601 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29603 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29606 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29607 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29609 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29612 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29615 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29616 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29618 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29619 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29621 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29622 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29624 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29625 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29627 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29628 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29630 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29631 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29633 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29634 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29636 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29637 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29639 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29640 return (void *)((wxWindow
*) ((wxControl
*) x
));
29642 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29643 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29645 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29646 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29648 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29649 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29651 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29652 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29654 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}};
29655 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}};
29656 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}};
29657 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}};
29658 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}};
29659 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}};
29660 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}};
29661 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}};
29662 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}};
29663 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}};
29664 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}};
29665 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}};
29666 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}};
29667 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}};
29668 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}};
29669 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}};
29670 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}};
29671 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}};
29672 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}};
29673 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}};
29674 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}};
29675 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}};
29676 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}};
29677 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}};
29678 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}};
29679 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}};
29680 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}};
29681 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}};
29682 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}};
29683 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}};
29684 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}};
29685 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}};
29686 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}};
29687 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}};
29688 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}};
29689 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}};
29690 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}};
29691 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}};
29692 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}};
29693 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}};
29694 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}};
29695 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}};
29696 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}};
29697 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}};
29698 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}};
29699 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}};
29700 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}};
29701 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}};
29702 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}};
29703 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}};
29704 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}};
29705 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}};
29706 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}};
29707 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}};
29708 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}};
29709 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}};
29710 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}};
29711 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}};
29712 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}};
29713 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}};
29714 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}};
29715 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}};
29716 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}};
29717 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}};
29718 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}};
29719 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}};
29720 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}};
29721 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}};
29722 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}};
29723 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}};
29724 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}};
29725 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}};
29726 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}};
29727 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}};
29728 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}};
29729 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}};
29730 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}};
29731 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}};
29732 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}};
29733 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}};
29734 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}};
29735 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}};
29736 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}};
29737 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}};
29738 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}};
29740 static swig_type_info
*swig_types_initial
[] = {
29741 _swigt__p_wxLogChain
,
29742 _swigt__p_wxMutexGuiLocker
,
29743 _swigt__p_wxFileHistory
,
29745 _swigt__p_wxDateTime__TimeZone
,
29748 _swigt__p_wxConfigBase
,
29749 _swigt__p_wxDisplay
,
29750 _swigt__p_wxFileType
,
29751 _swigt__p_wxLogGui
,
29753 _swigt__p_wxDataFormat
,
29754 _swigt__p_wxTimerEvent
,
29758 _swigt__p_wxClipboard
,
29759 _swigt__p_wxStopWatch
,
29761 _swigt__p_wxClipboardLocker
,
29763 _swigt__p_wxLogStderr
,
29764 _swigt__p_wxLogTextCtrl
,
29765 _swigt__p_wxTextCtrl
,
29766 _swigt__p_wxBusyCursor
,
29767 _swigt__p_wxPyBitmapDataObject
,
29768 _swigt__p_wxPyTextDataObject
,
29769 _swigt__p_wxBitmapDataObject
,
29770 _swigt__p_wxTextDataObject
,
29771 _swigt__p_wxDataObject
,
29772 _swigt__p_wxFileDataObject
,
29773 _swigt__p_wxCustomDataObject
,
29774 _swigt__p_wxURLDataObject
,
29775 _swigt__p_wxMetafileDataObject
,
29777 _swigt__p_wxTimerRunner
,
29778 _swigt__p_wxLogWindow
,
29779 _swigt__p_wxTimeSpan
,
29780 _swigt__p_wxArrayString
,
29781 _swigt__p_wxWindowDisabler
,
29782 _swigt__p_wxToolTip
,
29783 _swigt__p_wxDataObjectComposite
,
29784 _swigt__p_wxFileConfig
,
29785 _swigt__p_wxSystemSettings
,
29786 _swigt__p_wxVideoMode
,
29787 _swigt__p_wxPyDataObjectSimple
,
29788 _swigt__p_wxDataObjectSimple
,
29789 _swigt__p_wxEvtHandler
,
29792 _swigt__p_wxSingleInstanceChecker
,
29793 _swigt__p_wxFileTypeInfo
,
29796 _swigt__p_wxMimeTypesManager
,
29797 _swigt__p_wxPyArtProvider
,
29798 _swigt__p_wxPyTipProvider
,
29799 _swigt__p_wxTipProvider
,
29800 _swigt__p_wxJoystick
,
29801 _swigt__p_wxSystemOptions
,
29803 _swigt__p_wxJoystickEvent
,
29804 _swigt__p_wxCursor
,
29805 _swigt__p_wxObject
,
29806 _swigt__p_wxOutputStream
,
29807 _swigt__p_wxDateTime
,
29808 _swigt__p_wxPyDropSource
,
29809 _swigt__p_wxWindow
,
29810 _swigt__p_wxString
,
29811 _swigt__p_wxPyProcess
,
29812 _swigt__p_wxBitmap
,
29813 _swigt__p_wxConfig
,
29815 _swigt__p_wxBusyInfo
,
29816 _swigt__p_wxPyDropTarget
,
29817 _swigt__p_wxPyTextDropTarget
,
29818 _swigt__p_wxPyFileDropTarget
,
29819 _swigt__p_wxProcessEvent
,
29821 _swigt__p_wxLogNull
,
29822 _swigt__p_wxColour
,
29823 _swigt__p_wxConfigPathChanger
,
29824 _swigt__p_wxPyTimer
,
29825 _swigt__p_wxDateSpan
,
29830 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29832 static swig_const_info swig_const_table
[] = {
29833 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29834 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29835 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29836 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29837 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29847 SWIGEXPORT(void) SWIG_init(void) {
29848 static PyObject
*SWIG_globals
= 0;
29849 static int typeinit
= 0;
29852 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29853 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29854 d
= PyModule_GetDict(m
);
29857 for (i
= 0; swig_types_initial
[i
]; i
++) {
29858 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29862 SWIG_InstallConstants(d
,swig_const_table
);
29864 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29865 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29866 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29867 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29868 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29869 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29870 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29871 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29872 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29873 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29874 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29875 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29876 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29877 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29878 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29879 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29880 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29881 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29882 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29883 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29884 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29885 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29886 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29887 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29888 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29889 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29890 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29891 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29892 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29893 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29894 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29895 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29896 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29897 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29898 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29899 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29900 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29901 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29902 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29903 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29904 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29905 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29906 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29907 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29908 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29909 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29910 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29911 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29912 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29913 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29914 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29915 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29916 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29917 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29918 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29919 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29920 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29921 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29922 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29923 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29924 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29925 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29926 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29927 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29928 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29929 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29930 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29931 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29932 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29933 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29934 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29935 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29936 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29937 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29938 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29939 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29940 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29941 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29942 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29943 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29944 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29945 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29946 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29947 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29948 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29949 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29950 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29951 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29952 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29953 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29954 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29955 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29956 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29957 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29958 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29959 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29960 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29961 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29962 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29963 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29965 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29967 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29968 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29969 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29970 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29971 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29972 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29973 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29974 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29975 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29976 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29977 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29978 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29979 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29980 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29981 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29982 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29983 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29984 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29985 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29986 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29987 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29988 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29989 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29990 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29991 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29992 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29993 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29994 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29995 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29996 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29997 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29998 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29999 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
30000 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
30001 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
30002 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
30003 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
30004 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
30005 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
30006 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
30007 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
30008 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
30009 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
30010 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
30011 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
30012 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30013 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
30014 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
30015 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
30016 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
30018 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30020 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
30021 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
30022 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
30023 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
30024 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
30025 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
30026 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
30027 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30028 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30029 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30030 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30031 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
30032 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
30033 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
30034 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
30035 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
30036 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
30037 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
30038 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
30039 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30040 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30041 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30042 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30043 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30044 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30045 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30046 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30047 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30048 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30049 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30050 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30051 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30052 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30053 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30054 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30055 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30056 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30057 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30058 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30059 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30060 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30061 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30062 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30063 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30064 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30065 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30066 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30067 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30068 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30069 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30070 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30071 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30072 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30073 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30074 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30075 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30076 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30077 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30078 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30080 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30082 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
30083 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
30084 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
30085 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30086 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
30087 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
30088 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
30089 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
30090 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
30091 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30092 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30093 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
30094 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
30095 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
30096 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
30097 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
30098 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
30099 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
30100 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
30101 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
30102 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
30103 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
30104 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
30105 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
30106 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
30107 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
30108 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
30109 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
30110 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
30111 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
30112 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
30113 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
30114 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
30115 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
30116 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
30117 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
30118 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
30119 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
30120 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
30121 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
30122 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
30123 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
30124 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
30125 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
30126 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
30127 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
30128 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
30129 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
30130 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
30131 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
30132 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
30133 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
30134 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
30135 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
30136 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
30137 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
30138 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
30139 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
30140 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
30141 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
30142 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
30143 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
30144 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
30145 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
30146 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
30147 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
30148 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
30149 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
30150 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
30151 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
30152 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
30153 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
30154 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
30155 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
30156 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
30157 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
30158 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30159 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30160 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30161 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30162 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30163 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30164 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30165 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30166 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30167 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30168 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30169 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30170 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30171 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30172 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30173 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30174 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30175 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30176 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30177 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30178 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30179 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30180 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30181 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30182 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30183 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30184 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30185 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30186 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30187 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30188 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30189 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30190 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30191 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30192 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30193 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30194 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30195 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30196 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30197 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30198 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30199 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30200 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30201 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30202 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30203 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30204 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30205 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30206 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30207 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30208 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30209 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30210 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30211 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30212 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30213 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30214 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30215 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30216 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30217 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30218 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30219 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30220 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30221 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30222 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30223 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30224 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30225 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30226 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30227 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30228 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30229 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30230 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30231 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30232 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30233 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30234 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30235 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30236 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30237 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30238 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30239 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30240 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30241 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30242 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30243 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30244 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30245 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30246 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30247 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30248 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30249 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30250 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30251 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30252 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30253 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30254 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30255 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30256 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30257 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30258 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30259 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30260 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30261 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30262 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30263 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30264 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30265 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30266 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30267 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30268 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30269 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30270 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30271 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30272 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30273 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30274 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30275 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30276 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30277 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30278 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30279 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30280 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30281 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30283 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30284 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30285 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30286 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30288 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);